ChildAdded (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Format/Example |
>Camoy Format/Example |
(No difference)
|
Revision as of 13:52, 29 August 2010
|
Description
Event is triggered when a new child has this object set as a parent. It applies only to immediate children and not other Descendants. (See DescendantAdded)
Example
function onChildAdded(child) print (child.Name) end game.Workspace.ChildAdded:connect(onChildAdded)