jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 01:26 AM |
if script.Run.Value then
thats for true, but how do i make one for false? |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 13 Aug 2013 01:26 AM |
| if script.Run.Value == false then |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 13 Aug 2013 01:27 AM |
if script.Run.Value == true then
or
if script.Run.Value ~= false then |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 01:30 AM |
Hey noah :)
thanks i just forgot what not equals was, it's been a while :S |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 01:33 AM |
actually
script.Run.Value ~= false
is the same as
script.Run.Value
lol, I don't think I can reference a False Value, but I think I have what I am trying to do figured out. |
|
|
| Report Abuse |
|
|
| |
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 01:46 AM |
Output for:
If script.Run.Value == false then
Is:
Workspace.Part.Script:3: '=' expected near '==' |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 01:50 AM |
if not script.Run.Value then
attempt to call a nil value |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 13 Aug 2013 02:01 AM |
I am an idiot
Soquick, it worked, thank you. |
|
|
| Report Abuse |
|
|