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

How do I make my script check the amount of people in the server? [closed]

Asked by
tber8 37
8 years ago

I need help on how to make my script do something if there are enough players.

Closed as Not Constructive by EzraNehemiah_TF2 and M39a9am3R

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 8 years ago
if game.Players.NumPlayers >= 3 then
--code here
end
0
Don't give a script to someone who didn't try to make their own script. Tell them how it works, they try to make it, if it fails, they go back to this website! Also, when making a question remember to add an explanation. EzraNehemiah_TF2 3552 — 8y
Ad