DescendantRemoving (Event)

From Legacy Roblox Wiki
Revision as of 06:09, 10 April 2012 by >JulienDethurens
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)