loops in roblox 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 do for loops roblox
--roblox forloop
for count = 1, 5 do
print(count)
end
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
--roblox forloop
for count = 1, 5 do
print(count)
end