Remove (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator
There's a box at the end and I don't know how to get rid of it. Help appreciated.
>ArceusInator
There's a box at the end and I don't know how to get rid of it. Help appreciated.
(No difference)

Revision as of 02:26, 27 December 2010

Remove( )
Returns nil
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)