ChildRemoved (Event)

From Legacy Roblox Wiki
Revision as of 14:00, 29 August 2010 by >Camoy (Small changes)
Jump to navigationJump to search
ChildRemoved ( Instance child )
Description Fired after a child is removed.
Member of: [[RBX.lua.Instance (Object)|Instance]]
Example
local function onChildRemoved(child)
  print(child.Name)
end

game.Workspace.ChildRemoved:connect(onChildRemoved)