Clone (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Functions}} | |||
{| | {| | ||
|<onlyinclude> | |<onlyinclude> | ||
Line 30: | Line 32: | ||
These classes are known to be unclonable: [[GBX.lua.Hat (Object)|Hats]], [[Workspace]] | These classes are known to be unclonable: [[GBX.lua.Hat (Object)|Hats]], [[Workspace]] | ||
[[Category:Functions]] |
Revision as of 02:44, 22 September 2021
|
Example
while true do model = workspace.Model:Clone() model.Parent = workspace wait(300) end
or
while true do workspace.Model:Clone().Parent = workspace wait(300) end
which does the same thing
Limitations
Objects with archivable set to false are not cloned.