i tried making a npc that would look at you during combat, but he always looks the same way, I used BydoGyro and this is how the script works;?
q = script.Parent:findFirstChild("BodyGyro")
if q then
else
z = Instance.new("BodyGyro")
z.Parent = script.Parent
z.maxTorque = Vector3.new(40000,1,40000)
z.P = 40000
z.D = 5000
z.cframe = CFrame.new(script.Parent.Position,Part.Parent.Torso.Position)
end
any tips/help is appreciated! Thanks!

2 comments
What do you mean by "always looks the same way"? Do you mean that it looks towards the player once then stops?
Sorry for late answer, but yes actually he does, I didn't even realise that myself.