l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 24 Nov 2011 10:36 PM |
When I get in the seat the first time it removes the script, then when I get out and then get in the seat again, it doesn't remove the script? Any idea why?
Seat = script.Parent.VehicleSeat Script = script.Parent["Auto Remove"] Clone = Script:Clone()
Seat.ChildAdded:connect(function() Script:Remove() wait(1) Clone:Clone() Clone.Parent = script.Parent end) |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2011 10:44 PM |
Seat = script.Parent.VehicleSeat Script = script.Parent["Auto Remove"] Clone = Script:Clone()
Seat.ChildAdded:connect(function() Script:Remove() wait(1) local Clone = Clone:Clone() Clone.Parent = script.Parent end) |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 24 Nov 2011 10:58 PM |
| I think it's cause the event is disconnected, happened to me too. |
|
|
| Report Abuse |
|
|