Airplane pull up help

I have an airplane game i’m making, and i need to have it pull up. i’ve made a script for this, but if the plane is banking right it will rotate as if it isn’t banking, any help.

u could always disable rotation when ur doing this, i dunno bit hard as there is no script to go on