UncleTaz
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 12795 |
|
|
| 19 Jul 2014 04:45 AM |
while true do
player = game.Players.LocalPlayer
if game.Players.NumPlayers > 3 then print ' Okay minigame starting ' script.Parent.Text = "Starting" else print ' Need more players ' script.Parent.Text = "Nobody" end end
|
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 19 Jul 2014 04:46 AM |
| While loops require a wait() or you crash |
|
|
| Report Abuse |
|
|
UncleTaz
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 12795 |
|
|
| 19 Jul 2014 04:49 AM |
OMFG D:
Thanks buddy. I've been going through this for ages and I never knew that : /
|
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 05:29 AM |
You could also make it more efficient like so:
while wait() do
end |
|
|
| Report Abuse |
|
|