ChildRemoved (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Small changes
>Mattchewy
No edit summary
Line 3: Line 3:
|arguments = [[Instance]] ''child''
|arguments = [[Instance]] ''child''
|description = Fired after a child is removed.
|description = Fired after a child is removed.
|object = [[Instance]]
|object = Instance
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}

Revision as of 00:25, 2 January 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)