How do I make my NPC face a part or player and move at the same time?

I’ve been trying to have my NPC look at the spawn location and maneuver around obstacles at the same time, and so far the Ai has been stuttering when it’s doing both at the same time.

Below I put a video on what is happening.

handle the visualizing movement (moving and rotating) on clientside while the server handles where the target cframes are

and idk if you’re doing this, but you can disable AutoRotate in humanoids to make moving not rotate the model

I might’ve done it wrong, but I’ve put in a local script to turn the NPC towards the player but it seems to not turn the NPC anymore. Below is the local script code.

local humanoidRootPart = script.Parent.HumanoidRootPart
local target = workspace.Dummy.HumanoidRootPart
while wait() do 
	humanoidRootPart.CFrame = CFrame.new(humanoidRootPart.Position, target.Position)
end

that looks like it should work
what does it do instead?

Note: I had it so that the other NPCs wouldn’t do anything. I’ve also turned off auto-rotate.