DescendantRemoving (Event)

From Legacy Roblox Wiki
(Redirected from DescendantRemoving)
Jump to navigationJump to search
DescendantRemoving ( Instance descendant )
Description Fired when a descendant is being removed.
Member of: Instance


Example

This code would print the name of any descendant that gets removed from the Workspace:

Workspace.DescendantRemoving:connect(function(descendant)
	print(descendant)
end)