Remove (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
<onlyinclude>
{{CatUp|Functions}}
{{Function|
 
{|
|<onlyinclude>{{Function|
name                  = Remove
name                  = Remove
|arguments            =  
|arguments            =  

Revision as of 22:12, 18 June 2010

Remove( )
Returns n/a
Description: Sets the Parent property to nil and calls Remove() on all children


Example

Template:CodeExample

function onTouched(hit)

script.Parent:Remove()

end

script.Parent.Touched:connect(onTouched)