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

How are you supposed to clone a player's character?

Asked by 6 years ago

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".

0
is this a local script or server script? are you in studio or testing in-game? little5 2 — 6y
0
I am testing in studio and this is in a server script. Module_Scripts 9 — 6y
0
Your script doesn`t know who is "character" HeyItzDanniee 252 — 6y
0
I think the “Archivable” property of the character has to be set to true for you to clone it. User#20279 0 — 6y

Answer this question