Limiting Camera Rotation

Hey, guys! Hopefully someone can help me out. I’m sorry ahead of time if someone has posted about this before.
I’m wanting the camera to stop at a certain point when in third person mode when the player is looking up.
I’ve been at this for the last 6 hours and I’m about to pull my hair out.
Thank you so much!

Here is a way to do it :

​​​​​​​​

Can’t see the pictures but i would do a branch and get local rotation from the camera and only accept negative mouse Y value if it is at max.

Re uploaded the picture !