|
| 24 Mar 2013 04:33 PM |
Is there a way to completely END a script (like a minigame place) when there's less than a certain amount of players, along with start it when the number of players goes to the required amount?
I've tried repeat and until #game.Players:GetPlayers() < 1, but if I have waits in the repeat, it has to finish that before it ends
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2013 04:37 PM |
Bump
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2013 04:41 PM |
Bump[2]
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2013 04:41 PM |
Game.Players.PlayerRemoved:connect(function( ) if Game.Players.NumPlayers < --[[Minimum players]] then --Stop script end end )
(╯°□°)> KMXD |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2013 04:42 PM |
Same deal with starting it, use the PlayerAdded event instead.
(╯°□°)> KMXD |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2013 04:43 PM |
Ok thank you.
I mean Venusaur...with a question mark |
|
|
| Report Abuse |
|
|