Remove (Function)

From ROBLOX Wiki

(Redirected from Remove)
Jump to: navigation, search
Function
SyntaxRemove( )
Returnsn/a
Description: Sets the Parent property to nil and calls Remove() on all children
In Object:Global


Example


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

script.Parent.Touched:connect(onTouched)
Personal tools