if(button.get()) { Drivetrain.tankDrive(0,0); } else { DriveTrain.tankDrive(leftJoystick.getY(), rightJoystick.getY()); }