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
|
Example
local function onDescendantAdded(ins) print(ins) end game.Workspace.DescendantAdded:connect(onDescendantAdded)