|
| 30 Aug 2011 06:57 PM |
Okay so I'm making this door using Global. But for somereason it prints Nill making the door Nill, any suggestions?
No output
_G.One = "Running" _G.Two = 0.5 _G.Three = true _G.Four = false _G.Five = 0 ------------------------------------------------------------------------- script.Parent.ClickDetector.MouseClick:connect(function() if script.Parent.Transparency == _G.Five then script.Parent.Transparency = _G.Two script.Parent.CanCollide = _G.Four print(_G.One) else script.Parent.Transparency = _G.Five script.Parent.CanCollide = _G.Three print(_G.One) end end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Flurite
|
  |
| Joined: 03 Apr 2011 |
| Total Posts: 5386 |
|
|
| 30 Aug 2011 07:23 PM |
There doesn't seem to be any problems.. can I see the full output?
~Flurite |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2011 07:25 PM |
Nothing, doesnt even say it ran but it went to Nill.
All that happend was > 0 |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2011 08:06 PM |
| Make sure the Variables are stated first. I'm suggesting the variables are in a seperate script. |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2011 08:12 PM |
Transparency = G.One.
G.One = "Running"
NaN?
Make it a number value. |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2011 08:13 PM |
Oh, sorry.
I misread.
*you need to specify the message type |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2011 08:47 AM |
| Ohhh right. Yeah. Thank's :D |
|
|
| Report Abuse |
|
|