ChildRemoved (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>SCARFACIAL
No edit summary
Line 1: Line 1:
{|
<onlyinclude>{{Event|name = ChildRemoved
|<onlyinclude>{{Event|name = ChildRemoved
|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>
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
local function onChildRemoved(child)
local function onChildRemoved(child)

Revision as of 21:44, 22 July 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)