Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Huge doubt about clone() ?

Asked by 10 years ago

If I am not wrong you canĀ“t clone objects like hats, but can you clone meshes? I am asking this because on the egg hunt the eggs get cloned from serverstorage, please explain this to me.

2 answers

Log in to vote
0
Answered by 10 years ago

To clone a hat, use the Accoutrement object (It's like a hat, but you can clone it), and yes you can clone meshes.

Ad
Log in to vote
0
Answered by
m0rgoth 75
10 years ago

You can clone all roblox objects which appear in the explorer, but not services. Services include PlayerGui, Workspace, StarterPack, etc.

However, in order to clone an object, the Archivable property must be set to true. I have not checked, but I assume the hat object's Archivable property is false by default. If you want to clone it, simply do this:

hat.Archivable = true

local copiedHat = hat:Clone()

Answer this question