Help with looking

Hello,

I’m making a Vironia Game 2 campaign prototype, and I have a complex looking system in it. The problem is, it’s taking, what I think, is way too much code. Here is what I have for looking hard up and hard down:


I made this about four hours ago, and now I can’t even understand what I was trying to do. I also, forgot to make looking forwards.
There must be a simpler way to do this. I hate my system. It only half works. Does anyone know a better way to make this? -using animations?

I also need help adding forward looking.

Thanks,
-Ember.Y