Any ideas? I'm not sure how to do it.
✓ ANSWER ACCEPTED
How can I figure out the number of players in a game?
1 answer
✓ Accepted answer
You can either use the NumPlayers property of Players, or you can get the length of the table holding all of the players.
local amountOfPlayers = Game.Players.NumPlayers
--Alternatively;
local amountOfPlayers = #Game.Players:GetPlayers()
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Ok thx!