|
| 24 Jul 2012 03:38 AM |
for i,v in pairs(game.Players:GetChildren()) do end if v.Value >= 2 then
~★That, is why we live in a world full of morons★~ |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|
|
| 24 Jul 2012 03:40 AM |
@Cheater How do I fix it?
It's suppose to make the script run when there are more than two players.
~★That, is why we live in a world full of morons★~ |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:40 AM |
Do this instead:
if game.Players.NumPlayers >= 2 then floodcheck end |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 03:41 AM |
you need an end for the if, and the if should be inside the in pairs and its end soz..
for i,v in pairs(game.Players:GetChildren()) do if v.Value >= 2 then--This is an IntValue then you should declear befor that if an item is a IntValue or it wont work. end end
--In the end from what i said
for i,v in pairs(game.Players:GetChildren()) do if v:IsA("IntValue") then if v.Value >= 2 then end end |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:41 AM |
For example you could do this:
while wait() do if game.Players.NumPlayers >= 2 then --script end end |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 03:42 AM |
I never knew there was a NumPlayers value. Thanks.
~★That, is why we live in a world full of morons★~ |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 03:42 AM |
Cheater, use while wait() do, not sure what is floodcheak. your script will work only for one time :c |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|
|
| 24 Jul 2012 03:44 AM |
Lawl.
~★That, is why we live in a world full of morons★~ |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:45 AM |
| Floodcheck is when you're posting to fast on the forum. |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2012 03:47 AM |
im gona QQ and die in the curner becauze of u
;~; |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|