Make NPCS Turn While Walking (Path Finding Service)

The root part variable was inside the for loop. I moved it outside the for loop and it randomly just worked

I’ve finally figured out what was going on. Humanoids usually rotates the character when using MoveTo() function instead this time it wasn’t rotating the character. If this happens try to find any welds that aren’t motor6D. I had a script that welded the humanoid root part to a “Range Hit Box”. Because I was using a weld constraint it wouldn’t rotate. I switched the Instance.new to a motor6d and it works perfectly fine.