Round system script mid-match leaving error (can't seem to fix it)

This is how you iterate over player characters, and makes it 100% bulletproof to any error. :slight_smile:

for _, player in game.Players:GetPlayers() do
	local character = player.Character
	if not character then continue end
	-- Do something to their character.
end

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.