Remove (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace
No edit summary
>Mr Doom Bringer
m Remove moved to Remove (Function)
(No difference)

Revision as of 22:44, 5 August 2008

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


Example


function onTouched(hit)
 script.Parent:Remove()
end

script.Parent.Touched:connect(onTouched)