DescendantAdded (Event)

From Legacy Roblox Wiki
Revision as of 06:04, 10 April 2012 by >JulienDethurens
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
DescendantAdded ( Instance descendant )
Description Fired when a descendant is added to the object.
Member of: Instance


Example

This code will print the name of any object that is added to the Workspace:

Workspace.DescendantAdded:connect(function(descendant)
	print(descendant)
end)