ChildRemoved (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Link and formatting |
>Camoy Format/Example |
||
Line 1: | Line 1: | ||
{| | {| | ||
|<onlyinclude>{{Event|name = ChildRemoved | |<onlyinclude>{{Event|name = ChildRemoved | ||
|arguments = [[Instance]] | |arguments = [[Instance]] ''child'' | ||
|description = Fired after a child is removed. | |description = Fired after a child is removed. | ||
|object = [[Instance]] | |object = [[Instance]] | ||
|}}</onlyinclude> | |}}</onlyinclude> | ||
|} | |} | ||
{{Example|<pre> | |||
function onChildRemoved(child) | |||
print (child.Name) | |||
end | |||
game.Workspace.ChildRemoved:connect(onChildRemoved) | |||
</pre>}} |
Revision as of 13:53, 29 August 2010
|
Example
function onChildRemoved(child) print (child.Name) end game.Workspace.ChildRemoved:connect(onChildRemoved)