The Humanoid is an item within the player’s model. You’d probably need to move the player’s character instead of moving the Humanoid, since :MoveTo() works only on models.
local Players = game:GetService("Players")
local plr = Players.LocalPlayer
local charac = plr.Character or player.CharacterAdded:Wait()
charac:MoveTo(partName.Position)
As well :MoveTo() will instantaneously move the part or figure you are trying to move. To do have something move towards something slowly, you would need to do a Tween on a part. If it is a model then it will be a little tough. (Some API below if you were interested.)