Remove (Method)

From Legacy Roblox Wiki
Revision as of 00:58, 31 January 2011 by >Camoy
Jump to navigationJump to search
Remove( )
Returns nil
Description: Sets the Parent property to nil and calls Remove() on all children.
Member of: Instance


Example
This is an example of removing a part in the Workspace. Make sure there is one there before trying this.
game.Workspace.Part:Remove()