Trouble creating camera sway

So I’ve been working on creating a camera sway for a 1st person game with a smooth feel to it. I got my main example on how to go about creating it from the side scroller game. For the most part everything works and feels just like i want it to but one problem. The camera wont Look up or down (Y-axis i believe). I have a strong felling it has something to do with the way the original FPS movement controls are setup, but i figured i would ask the community before I accidentally break something else and have another problem lol.

Thanks everyone!

P.S.
I tried using the spring arm and attaching it to a camera but it feels off to me

I figured it out! Turns out all you have to do is set " Use controller Rotation Pitch" to True