Hello, I've been having problems with MoveTo, whenever the humanoid gets close to it's target it stutters and never actually fully reaches it's target despite having a faster walkspeed. This code is in a modulescript.

zombie_pathFind.Path = function(zombieHRP, zombieModel, zombieHum, trigDist)
	local nearestPlr = findTorso.FindTorso(zombieHRP)
	if nearestPlr ~= nil and nearestPlr.HumanoidRootPart ~= nil then
		local path = PathfindingService:CreatePath()
		path:ComputeAsync(zombieHRP, nearestPlr.HumanoidRootPart.Position)
		local wayPoints = path:GetWaypoints()
		zombieHum:MoveTo(nearestPlr.HumanoidRootPart.Position, nearestPlr)

		
		for _, wayPoint in pairs (wayPoints) do
			if wayPoint.Action == Enum.PathWaypointAction.Jump then
				zombieHum.Jump = true
			end
		end		
	end
end

1 comment

0

I'm having this issue too.