ChildRemoved (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mattchewy
No edit summary
>Emess
No edit summary
Line 13: Line 13:
game.Workspace.ChildRemoved:connect(onChildRemoved)
game.Workspace.ChildRemoved:connect(onChildRemoved)
</pre>}}
</pre>}}
[[Category:Events]]

Revision as of 02:30, 11 May 2011

ChildRemoved ( Instance child )
Description Fired after a child is removed.
Member of: Instance
Example
local function onChildRemoved(child)
  print(child.Name)
end

game.Workspace.ChildRemoved:connect(onChildRemoved)