|
| 24 May 2016 05:36 PM |
| So if I have an object fall out of a map it will remove the object that goes with it. |
|
|
| Report Abuse |
|
|
lululukas
|
  |
| Joined: 23 Aug 2010 |
| Total Posts: 1043 |
|
|
| 24 May 2016 06:07 PM |
object= Path to object
game.Workspace.ChildRemoved:connect(function(instance) if instance.Name=="YOUROBJECTNAME" then object:Destroy() end end) |
|
|
| Report Abuse |
|
|
|
| 24 May 2016 06:32 PM |
| What if the object is not there at all? |
|
|
| Report Abuse |
|
|
|
| 24 May 2016 06:41 PM |
if not workspace:FindFirstChild("Part1") then print('Part 1 is not there!!!!!') end
This siggy is copyrighted © |
|
|
| Report Abuse |
|
|