DescendantRemoving (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>Legend26
Spelling error fix
Line 1: Line 1:
{|
{|
|<onlyinclude>{{Event|name = DescendantRemoving
|<onlyinclude>{{Event|name = DescendantRemoving
|arguments = [[Instance]] ''descendent''
|arguments = [[Instance]] ''descendant''
|description = Fired before a descendant is removed.
|description = Fired before a descendant is removed.
|object = Instance
|object = Instance

Revision as of 22:52, 8 July 2011

DescendantRemoving ( Instance descendant )
Description Fired before a descendant is removed.
Member of: Instance
Example
local function onDescendantRemoving(ins)
  print(ins)
end
game.Workspace.DescendantRemoving:connect(onDescendantRemoving)