when i try rotating on the x axis using my mouse it completely locks out when going above or below 20 degrees, rotating on the y axis continually is absolutely fine though and works perfectly.
here is my code, the players camera is locked at the position of a part behind the ship if that provides any more context, its what allows the ships to be able to continually rotate on the axis the player moves their mouse in.