click.Character:MoveTo(Vector3.new(game.Workspace.Model))
I just used this as an example above!
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)
)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you!