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".
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".
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
is this a local script or server script? are you in studio or testing in-game?
I am testing in studio and this is in a server script.
Your script doesn`t know who is "character"
I think the “Archivable” property of the character has to be set to true for you to clone it.