for loop players roblox code example Example: roblox go thru all players for i,v in pairs(game.Players:GetChildren()) do -- v is your player end