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

How do I move this clone of the player's char to a specific position?

game.Players.LocalPlayer.Character.Archivable = true
local clone = game.Players.LocalPlayer.Character:Clone()
clone.Parent = game.Workspace
local pos =  game.Workspace.PositionChar.Position
clone:MoveTo(pos)

Well this won't work, It doesn't even spawn the clone... When I set it to Vector3.New(0, 0, 0) it spawns.

1 answer

You can't clone a non archivable object.

You would need to set the character to archivable game.Players.LocalPlayer.Character.Archivable = true then you can clone it. :MoveTo() isn't the best move for positioning the clone. try :SetPrimaryPartCFrame(CFrame.new(pos))

I guess MoveTo() should work fine but I don't recommend it as CFrames have higher potential

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