Well, I think just set the angle to negative Y axis rotation of it’s parent. This should negate the rotation so it tries to point in the same direction. I don’t know how it would react if you flipped the thing upside-down or sideways though.
local c = servo.Parent.CFrame
local x,y,z = c:ToOrientation()
servo.TargetAngle = -y -- Maybe?