How do I clamp rotation for android fps game I am using the standard rigid body first person controller but a bit modified

I’ve followed a tutorial on how to add first person controls for mobile on the rigid body first person controller Here’s the tutorial if you want to know what I modified Touch FPS Controls in Unity 2018 🎓 - YouTube and I wanted to clamp the rotation of the y axis if you could help me it would mean a lot!

I found a solution I will post it on youtube and you can check it out I will give you the link to the video once I post it the channel name is JUSTAIRMANPLAYZ