| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Jan 2012 06:31 PM |
Try this
function renew(item) print("a") item.Illuminate.Fuel.Changed:connect(function(val) script.Parent.Meter.Level.Position = UDim2.new(0,0,1-(val/2400),0) print("wat") end) print("b") end renew() game.Workspace.ChildAdded:connect(function(child) if child.Name == "Lights" then renew(child) end end) |
|
|
| Report Abuse |
|
|
| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Jan 2012 10:20 PM |
| Most likely it was pointing at an instance that wasn't what you wanted. |
|
|
| Report Abuse |
|
|