Clone (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary |
m (→Limitations) |
||
Line 29: | Line 29: | ||
Objects with [[Archivable (Property)|archivable]] set to false are not cloned. | Objects with [[Archivable (Property)|archivable]] set to false are not cloned. | ||
These classes are known to be unclonable: [[GBX.lua. | These classes are known to be unclonable: [[GBX.lua.Accoutrement (Object)|Accoutrement]], [[Workspace]] |
Revision as of 02:20, 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.
These classes are known to be unclonable: Accoutrement, Workspace