if statement interference

Our team is having problems with our driver control code. For some reason when our robot strafes, our lift/scoop falls down even though it is still being told to go up. Also, our lift becomes inverted when we strafe. Everything works fine individually, but is it possible that our if statements are interfering with each other?

can u post your code please

My guess would be that you have brackets placed incorrectly.