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
 

Re: Why?

Previous Thread :: Next Thread 
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
05 May 2012 08:51 AM
LOL = script.Parent:FirstFindChild("Tool")

if (LOL ~= nil) then
script.Parent.LOLValue.Value = 5.56--IntValue
end

Why won't it change? I don't get it. Simple thing but ton't work. Plus, there is no output.
Report Abuse
ThunderZekrom is not online. ThunderZekrom
Joined: 16 Aug 2010
Total Posts: 197
05 May 2012 08:58 AM
Isn't it FindFirstChild instead of FirstFindChild?
Report Abuse
ozza is not online. ozza
Joined: 11 Oct 2007
Total Posts: 726
05 May 2012 08:58 AM
findFirstChild()
Report Abuse
1998ice is not online. 1998ice
Joined: 05 Oct 2009
Total Posts: 234
05 May 2012 08:58 AM
I think you are right ThunderZekrom.
Report Abuse
1998ice is not online. 1998ice
Joined: 05 Oct 2009
Total Posts: 234
05 May 2012 08:59 AM
with the parentheses too...
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
05 May 2012 09:46 AM
The problem:
"LOLValue"
You forgot a full stop between LOL and Value.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
05 May 2012 01:39 PM
LOL = script.Parent:FindFirstChild("Tool")

if (LOL ~= nil) then
script.Parent.LOLValue.Value = 5.56--IntValue and LOLValue is a name.
end

Sorry guys I was in a rush...But this is the main problem.
Report Abuse
myrEIGHT is not online. myrEIGHT
Joined: 22 Apr 2012
Total Posts: 124
05 May 2012 01:41 PM
IntValue can only have integer value
Report Abuse
myrEIGHT is not online. myrEIGHT
Joined: 22 Apr 2012
Total Posts: 124
05 May 2012 01:42 PM
Use numbervalue instead
Report Abuse
Miro034test is not online. Miro034test
Joined: 02 Jun 2011
Total Posts: 5
05 May 2012 02:35 PM
Ok. Thanks...
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