How to make a Humanoid Look in a direction while walking

I am making a Combat NPC and need help making it Look at a player while moving side to side. I’ve tried Changing the lookvector:

HRP.CFrame = CFrame.lookAt(nil, LookAt)

But when I do this the Humanoid Stops moving.
Any Ideas on how to do this?

Body gyro. BodyGyro.CFrame = CFrame.lookAt(Bla bla bla)

1 Like