|
| 31 Jul 2012 03:46 PM |
Say I have the following Script:
op = workspace.PizzaScript
op.Changed:connect(function() if (op.Disabled == true) then op.Disabled = false end end)
script.Parent = nil
---------------
Now say "PizzaScript" was Renamed or moved into a Random Part, would the Script return an Error "PizzaScript not in workspace" or would it still work? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 31 Jul 2012 03:53 PM |
Dude, test these things >.>
|
|
|
| Report Abuse |
|
|
|
| 31 Jul 2012 04:05 PM |
| Fine, just thougth I'd ask incase someone Knew. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2012 04:11 PM |
| Only works if it's Parent isn't nil... |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|