repetir a verdadeira childs roblox
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
lua while loops
--// Basic while true do loop
while true do
--// Looped text
print("Looped Text")
--// Time the loop waits before looping again
wait(1)
end
roblox repetir até
repeat
spawnGoblin()
currentGoblinCount = currentGoblinCount + 1
print("Current goblin count: " .. currentGoblinCount)
until currentGoblinCount == 25
enquanto em lua
while(condition)
do
statement(s)
end
enquanto o verdadeiro do lua
while (statement) do
-- code
end