ChildAdded (Event)

From Legacy Roblox Wiki
Revision as of 02:18, 25 March 2012 by >JulienDethurens
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
ChildAdded ( Instance child )
Description Fired after a child is added.
Member of: Instance

Example

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).

Workspace.ChildAdded:connect(function(child)
	print(child.Name)
end)