DescendantRemoving (Event)
From Legacy Roblox Wiki
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)