Hi, I'm trying to make a quick script where if the number of players in the game is 1, then it would print "test". Since I can't use NumPlayers, I am confused on how to do this. I have a script here that does not work and does not show any error in output. Any help would be appreciated.
if game.Players == 1 then
print("test")
end

8 comments
if #game.Players:GetPlayers() == 1 then
^
ill try that thx
still same result
The script probably loaded first so put a wait(5) before the first line
No that is bad practice.
doesnt work
Why can't you use NumPlayers?