döngü gerçek childs roblox
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
LUA süre döngüler
--// Basic while true do loop
while true do
--// Looped text
print("Looped Text")
--// Time the loop waits before looping again
wait(1)
end
roblox kadar tekrarlayın
repeat
spawnGoblin()
currentGoblinCount = currentGoblinCount + 1
print("Current goblin count: " .. currentGoblinCount)
until currentGoblinCount == 25
lua'da iken
while(condition)
do
statement(s)
end
süre gerçek do lua
while (statement) do
-- code
end