Remove (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace
No edit summary
>NXTBoy
There, fixed :P
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function|
#REDIRECT [[Remove (Method)]]
name                  = Remove
|arguments            =
|returns              = n/a
|description          = Sets the Parent property to [[nil]] and calls Remove() on all children
|object              = Global
|}}
 
 
==Example==
<pre>
 
function onTouched(hit)
script.Parent:Remove()
end
 
script.Parent.Touched:connect(onTouched)
</pre>

Latest revision as of 08:41, 27 December 2010

Redirect to: