DescendantAdded (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Formatting
>Camoy
Example added
Line 6: Line 6:
|}}</onlyinclude>
|}}</onlyinclude>
|}
|}
{{Example|<pre>
local function onDescendantAdded(ins)
  print(ins)
end
game.Workspace.DescendantAdded:connect(onDescendantAdded)
</pre>}}

Revision as of 14:38, 29 August 2010

DescendantAdded ( Instance descendant )
Description Fired after a descendant is added.
Member of: [[RBX.lua.Instance (Object)|Instance]]
Example
local function onDescendantAdded(ins)
  print(ins)
end
game.Workspace.DescendantAdded:connect(onDescendantAdded)