click.Character:MoveTo(Vector3.new(game.Workspace.Model))
I just used this as an example above!
Using Model:MoveTo()
is inconvenient. Instead, assign a PrimaryPart
to the model, and use Model:SetPrimaryPartCFrame()
And the Vector3.new()
function takes 3 numbers as an argument, X, Y, and Z.
But here we won’t be using Vector3
.
local model= game.Workspace.Model Character:SetPrimaryPartCFrame( CFrame.new(model:FindFirstChildWhichIsA("BasePart").CFrame) )