Align Orientation help

Im using Align Orientation to make a moving NPC look at another moving NPC. The problem is there is no limit to how high or low the HumanoidRootPart will turn which makes the NPC trip if the other NPC gets above it. How would I limit the rotation without directly changing the CFrame (as that will make it jitter because they are moving, hence why I’m using Align Orienation instead of Cframe.new()). I was thinking of using yet another Align Orientation to freeze one axis but in all my testing it always ends up with incorrect behavior. Maybe im not doing it right. Any help is appreciated.