model = script.Parent
model:MoveTo(Vector3.new(-146.16, 4.822, -163.825))
it works alright, but a part is in the way, and there will be more parts blocking its path soon. So how would I make it ignore all parts when doing this?
Thanks for answering <3
The :MoveTo() function intentionally moves the model so it doesn’t collide with parts at the given destination. You should be using :SetPrimaryPartCFrame() instead. This function will move the model to the given CFrame without caring about if there’s parts in the way.
This means that you would use something like this instead:
As @caviarbro has mentioned, :SetPrimaryPart() will be deprecated in the future and superseded by :PivotTo() as mentioned in this announcement. In other words, in the long run you’re better off using something like this instead of the example I gave above: