roblox studio repeat code example
Example 1: loop true childs roblox
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
Example 2: for loop roblox
for i,v in pairs() do
end
-- or
for i,v in next, do
end
for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
for i,v in pairs() do
end
-- or
for i,v in next, do
end