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

how do you detect how many players there are?

Asked by 9 years ago

\ i just dont know what the "blank" variable is.


local i = (blank) while (i.. = 1) broadcast (insufficient number of players) while (i..> 1) \all the other code that's not there yet

1 answer

Log in to vote
0
Answered by 9 years ago
game.Players.NumPlayers -- returns total amount of people on the server

http://wiki.roblox.com/index.php?title=API:Class/Players/NumPlayers

0
Mhm pluginfactory 463 — 9y
0
great!! thx rauligio 0 — 9y
Ad

Answer this question