DescendantAdded (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>SCARFACIAL No edit summary |
>Flurite No edit summary |
||
Line 7: | Line 7: | ||
{{clear floats}} | {{clear floats}} | ||
{{Example|< | {{Example|<code lua> | ||
local function onDescendantAdded(ins) | local function onDescendantAdded(ins) | ||
print(ins) | print(ins) | ||
end | end | ||
game.Workspace.DescendantAdded:connect(onDescendantAdded) | game.Workspace.DescendantAdded:connect(onDescendantAdded) | ||
</ | </code>}} | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 01:52, 25 March 2012
DescendantAdded ( Instance descendant ) | |
Description | Fired after a descendant is added. |
---|---|
Member of: | Instance |
Example
local function onDescendantAdded(ins)
print(ins)
end
game.Workspace.DescendantAdded:connect(onDescendantAdded)