|
| 17 Jul 2011 09:57 AM |
This is the script:
while wait() do if Game.Players.NumPlayers < 2 then script.Parent.Value = false elseif Game.Players.NumPlayers > 2 then script.Parent.Value = true end end
I'm sure there's a very simple mistake there, but I can't find it. The hierarchy is:
>Game >>Workspace >>>BoolValue >>>>Script |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:03 AM |
script.Parent.Value.Value = false same thing for the other |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:06 AM |
| @mario that just makes it give me output... |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:07 AM |
game.Workspace.Value.Value = false
BoolValue has a Property Value |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:09 AM |
"Posted: 07-17-2011 08:03 AM script.Parent.Value.Value = false same thing for the other"
That's what you posted. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:14 AM |
| I did not look closely at the hierachy. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:15 AM |
@mario, you're wrong.
Script is that script.
~ ROBERT00001 ~ ~(ಠωಠ)~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jul 2011 10:26 AM |
Bring Up My Thread
Help please. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 10:34 AM |
| Why is the forum so slow today? |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 17 Jul 2011 11:10 AM |
| That seems like it should work, but was one of those comparison operators supposed to be >= or <=? If the value was exactly 2, neither of those conditions would be true and the value would stay the same. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2011 11:12 AM |
while wait() do script.Parent.Value = (Game.Players.NumPlayers => 2) end
ya.
~ ROBERT00001 ~ ~(ಠωಠ)~ |
|
|
| Report Abuse |
|
|