Remove (Method)

From Legacy Roblox Wiki
Revision as of 21:23, 21 July 2011 by >NXTBoy (Undo revision 45366 by Trappingnoobs (Talk) Actually less correct)
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()