PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Instance.ChildRemoved

Instance.ChildRemoved

Oct 01 2018, 2:07 AM PST

This snippet prints the names of objects as they are removed from the Workspace:

Workspace.ChildRemoved:Connect(function(instance)
    print(instance.Name .. " removed from the Workspace")
end)
local part = Instance.new("Part", Workspace)
wait(2)
part:Destroy()