ive tried :MoveTo(mouse.hit) i know it can be done im just not quite sure how to accomplish it.
:MoveTo()
requires a Vector3
, but Mouse.Hit
is a CFrame
.
To fix it (assuming it wasn't working) you should use :MoveTo(mouse.Hit.p)
instead.
You can also use :SetPrimaryPartCFrame(mouse.Hit)
if you set the PrimaryPart
of your model.
I personally like to use NXTBoy's Model CFrame
script which is available on the wiki, it allows you to CFrame
an entire model instead of using :MoveTo()
NXTBoy's Model CFrame