This code is inside the player's character.

Character = script.Parent:Clone()

print(Character)

Character:MoveTo(Vector3.new(0, 10, 0))

Character.Parent = game.Workspace

When I print my character, it prints the value of "nil".

4 comments

0

is this a local script or server script? are you in studio or testing in-game?

0

I am testing in studio and this is in a server script.

0

Your script doesn`t know who is "character"

0

I think the “Archivable” property of the character has to be set to true for you to clone it.