generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Help with this script I'm writing

Previous Thread :: Next Thread 
Shadowkuta is not online. Shadowkuta
Joined: 21 Sep 2009
Total Posts: 7500
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
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
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 is not online. 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
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
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 is not online. 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
Shadowkuta is not online. Shadowkuta
Joined: 21 Sep 2009
Total Posts: 7500
20 Aug 2011 12:56 AM
Boolvalue, sorry
Report Abuse
nate890 is not online. 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 is not online. 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
Iamsuperhumangonemad is not online. Iamsuperhumangonemad
Joined: 13 May 2008
Total Posts: 733
20 Aug 2011 02:59 AM
I believe it should be ' = ' and not '= '

That's probablyh worth a try.
Report Abuse
nate890 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image