Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How do I use PlayerCount (property)?

Asked by 9 years ago

I've tried to look it up in the Wiki but it seems it doesn't have an article. Just to make sure, is this what I need to make a tournament script? (For the part where the script checks if there's 3 players at least to start the game?)

1 answer

Log in to vote
3
Answered by
lomo0987 250 Moderation Voter
9 years ago
players = game.Players.NumPlayers
print(players)

That's all it is.

Ad

Answer this question