Remove (Function)

From Legacy Roblox Wiki
Revision as of 21:05, 22 April 2010 by >Mr Doom Bringer
Jump to navigationJump to search
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) |}