How to make a R6 npcs root joint point towards a player?

Hello. I have been working on an AI system, and it makes them strafe left, right, and backward.

However, the AI’s auto-rotate gets put off every time it moves left, right, or backward, so it doesn’t point toward the player correctly.

How will I make it so I can manipulate the NPCs root joint motor6D in the humanoid root part to make it constantly point toward the player?

Note: I can’t use CFrame on the torso because it’s a pathfinding AI.

1 Like