Remove (Function)
From ROBLOX Wiki
Revision as of 12:29, 11 December 2024 by
PRG
(
talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to navigation
Jump to search
Function
Syntax
Clone( )
Returns
n/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)
Category
:
Functions
Navigation menu
Page actions
Page
Discussion
Read
View source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Log in
Navigation
Main Page
The FAQ
Tutorials
Recent changes
Random page
Help
Wiki Guidelines
Player Created Content
Search
Scripting
ROBLOX Lua
General Scripting
Functions
Class Reference
Tools
What links here
Related changes
Printable version
Permanent link
Page information