Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Huge doubt about clone() ?

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

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

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()

This discussion is preserved as it was. New answers, comments, and votes are closed.