How can you keep track of the number of players in a game?
1 | game.Players.NumPlayers -- Legitly all it is. :D |
If you want a example. Do this!
1 | function detectPlayers() |
2 | if game.Players.NumPlayers > = 4 then |
3 | print 'okay' |
4 | end |
This script will detect if 4 or more players are on the server. If so it will print okay.
Regards, Nathan.