If I wanted to wait until I had 2 players in the game how should I do that?
-GianniFlash
If I wanted to wait until I had 2 players in the game how should I do that?
-GianniFlash
if game.Players.NumPlayers > 2 then
--do stuff
end
repeat wait(1/30) until game:GetService("Players").NumPlayers >= 2
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Do I need a connect line or a while wait?
It's >= not >