Making a rig look up at something

You can write your topic however you want, but you need to answer these questions:
I have towers in my game that will be able to shoot flying enemies from the ground, but I want them to look at the enemies when the shoot them instead of shooting straight forward

I have been looking around, and none of the posts seem to work for me. Most of them dont care about Y which is the only thing I need to calculate

Im not sure what code I need to include, besides the fact that I have the position and CFrame of both the head and zombie’s torso. I also have the neck motor6d which is what im trying to change, since I want the head to still work with animations

Ill be happy to provide any extra needed information, I just want to get this fixed since ive been trying for a few hours