for loops roblox lua code example
Example 1: loop true childs roblox
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
Example 2: how to loop something in roblox
while true do print("Looping...") wait(0.5)end
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
while true do print("Looping...") wait(0.5)end