Remove (Method)

From Legacy Roblox Wiki
Revision as of 14:19, 27 December 2010 by >MrNicNac (Added an example that fits the method better.)
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()