Part doesn't move by using humanoid:MoveTo()

My part doesn’t move. Part is unanchored. Primary part = Part.

Target is a part in the workspace.

local humanoid = script.Parent.Humanoid

repeat
	humanoid:MoveTo(workspace.Target.Position)
until humanoid.MoveToFinished:Wait()

image

You need to rename “Part” in your model to “HumanoidRootPart” and readd humanoid, set primarypart of model to “HumanoidRootPart”, every character requires “HumanoidRootPart”, without it it wont work

1 Like

For this I’d recommend the usage of TweenService to move the parts necessary. If your model has multiple parts, then this post will show how to move models using tweenservice.

To answer your question as to why :MoveTo() doesn’t work, this is because the model does not have the required part assembly. As explained here

1 Like

Omg, I couldn’t figure out about renaming. Thank you! I need to use move, cuz’ I wanna use a rope weld constraint. With Tween it doesn’t work properly.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.