I'm trying to create a script that will tell how many players are in the server like
if --What ever would show how many players are in the game Lets use game.players.numplayers = 2 do --Bla bla here is the game script else game.startergui.screengui.textlabel = "1 player is in your server game wont be starting until somone else joins end
I know I wrote that wronge but what is the way to tell how many players are in a server
if game.Players.NumPlayers < 2 then game.startergui.screengui.textlabel = "There is only " .. game.Players.NumPlayers .. " in the server" else --other code end