Humanoid:MoveTo not working if a loop comes after

  1. What do you want to achieve? Keep it simple and clear!
    Humanoid:MoveTo() and trying to make it smoother movement than using MoveToFinished()
  2. What is the issue? Include screenshots / videos if possible!
    The MoveTo() doesn’t happen if a loop comes right after
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Placing it only so the loop comes at Waypont[3], the humanoid moves to waypoint 1 and 2, but not 3.
    MoveTo() Works when there is no loop and only using MoveToFinished()
for i,v in pairs(waypoints) do
                if v.Action ==Enum.PathWaypointAction.Jump then
                    humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
                end    
                humanoid:MoveTo(v.Position)
                repeat  
                    print(humanoid.Parent.HumanoidRootPart.Position)
                    wait(.1)
                until (humanoid.Parent.HumanoidRootPart.Position- 
                destinationObject.Position).Magnitude<1
                --humanoid.MoveToFinished:Wait()
end

No part of the character is anchored