I know that this must seem like a pretty dumb question for those that have been scripting for a bit, but I just don't know how and I've tried searching online for how, but without much success. I'm making a part of my game so that once there are at least 2 players in the server, the game will start a countdown to let people play. The part that I need help with is mainly just how to detect the amount of players that are in the server.

3 comments

1

say #game.Players:GetPlayers()

2

There's a property of Players called 'NumPlayers' - which returns an integer that represents how many players are in the server.

0

Thank you to both of you