Pneumatics starting as on and not closing?

/*----------------------------------------------------------------------------*/
/*                                                                            */
/*    Module:       main.cpp                                                  */
/*    Author:       VEX                                                       */
/*    Created:      Thu Sep 26 2019                                           */
/*    Description:  Clawbot Competition Template                              */
/*                                                                            */
/*----------------------------------------------------------------------------*/

// ---- START VEXCODE CONFIGURED DEVICES ----
// Robot Configuration:
// [Name]               [Type]        [Port(s)]
// Controller1          controller                    
// LeftOut              digital_out   C               
// RightOut             digital_out   D               
// ---- END VEXCODE CONFIGURED DEVICES ----

#include "vex.h"
#include "math.h"
using namespace vex;
bool direction = 0;
bool zottiri = 1;
bool LeftOpen = 1;
bool RightOpen= 1;
double pi = 3.14159265359;
controller console = controller();
double radius = 0.1016 * pi;
void (LeftGas)(void){
  if (LeftOpen == 1)
  {
    LeftOut.set(true);
    wait(1, seconds);
    LeftOut.set(false);
    LeftOpen = 0;
  }
  else 
  {
    LeftOut.set(false);
    LeftOpen = 1;
  }
}
void (RightGas)(void){
  if (RightOpen == 1)
  {
    RightOut.set(true);
    wait(1, seconds);
    RightOut.set(false);
    RightOpen = 0;
  }
  else 
  {
    RightOut.set(false);
    RightOpen = 1;
  }
}