Remove (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
m Remove moved to Remove (Function)
>NXTBoy
There, fixed :P
 
(10 intermediate revisions by 3 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: