|
| 20 Aug 2011 12:43 AM |
A simple script:
function onTouched(hit) script.Parent.Value.Value= true
end script.Parent.Touched:connect(onTouched)
Parent tree goes as follows
-Buttonc - Value - Script
The value isn't changing to true? |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2011 12:49 AM |
It's a BoolValue, right?
______________________________________ -ElectricBlaze,
roblox.com/my/groups.aspx?gid=372 Join today for a scripting teacher!
|
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 20 Aug 2011 12:50 AM |
What type if value is it?
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2011 12:51 AM |
@nate - Stop posting the same thing as me the second after I post it. -_-
xD
______________________________________ -ElectricBlaze,
roblox.com/my/groups.aspx?gid=372 Join today for a scripting teacher!
|
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 20 Aug 2011 12:53 AM |
:P It's something different though.
Also, is there an output?
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 20 Aug 2011 12:57 AM |
Can you make a model of this...? You're not tagging it properly, or what you're tagging is nil.
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
hyrumcoop
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 618 |
|
|
| 20 Aug 2011 01:01 AM |
| My only advice is to try renaming 'Value' to something else. I don't see anything wrong with it. Oh one more thing. Is your script's disabled property off? Make sure it's off. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2011 02:59 AM |
I believe it should be ' = ' and not '= '
That's probablyh worth a try. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 20 Aug 2011 03:33 AM |
Iam, shouldn't make a difference.
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|