Clone character returns nil

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

clone a character to parent to replicated storage

  1. What is the issue? Include screenshots / videos if possible!

i can’t

my code:

local Character = script.Parent

local Clone = Character:Clone()


error: image

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

yes but i not found nothing

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Cloning a character requires it’s Archivable value set to true. (A.F.A.I.K.)


Of course it wouldn’t work because you’re refering the parent of ReplicatedStorage, which is the DataModel itself.

that would cause an error but i’m on the server and only return nil

What do you mean? Just do:

local Character = script.Parent

local Clone = Character:Clone()
Clone.Archivable = true


i’m on the server not local script

well I already saw my error yes was the archivable

1 Like

error: the archivable goes before cloning