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 |
|
|
|
| 05 May 2012 08:58 AM |
| Isn't it FindFirstChild instead of FirstFindChild? |
|
|
| Report Abuse |
|
|
ozza
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 726 |
|
| |
|
1998ice
|
  |
| Joined: 05 Oct 2009 |
| Total Posts: 234 |
|
|
| 05 May 2012 08:58 AM |
| I think you are right ThunderZekrom. |
|
|
| Report Abuse |
|
|
1998ice
|
  |
| Joined: 05 Oct 2009 |
| Total Posts: 234 |
|
|
| 05 May 2012 08:59 AM |
| with the parentheses too... |
|
|
| Report Abuse |
|
|
|
| 05 May 2012 09:46 AM |
The problem: "LOLValue" You forgot a full stop between LOL and Value. |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 124 |
|
|
| 05 May 2012 01:41 PM |
| IntValue can only have integer value |
|
|
| Report Abuse |
|
|
myrEIGHT
|
  |
| Joined: 22 Apr 2012 |
| Total Posts: 124 |
|
| |
|
| |
|