Issue with Rotation

When i go up in Y it likes that my ship rotate in Z but in the insepctor nothing change when i go tho a corner the extreme wing go tho that corner, does someone now how to fix this:

my script :

Privacy & Terms