CNC shield V3 A4988 - Z only spins one way

I am using the CNC Shield V3 and 3 A4988 drivers.
My X and Y axis are fine, so I created a small sketch to try and test my Z axis. The motor spins, but only 1 way, and my Y axis make a sound like it wants to move, any ideas?

#define enable 8
#define c_xDir 7
#define c_xStep 4

//Total Steps to move
int stepDelay = 30; //Delay between each pause
int stepDelay_multi = 23; //Delay between each pause

void step(boolean dir, byte dirPin, byte stepperPin, int steps)
{
  
  digitalWrite(dirPin, dir);
  for(int i = 0; i < steps; i++){
    digitalWrite(stepperPin, HIGH);
    delayMicroseconds(stepDelay);
    digitalWrite(stepperPin, LOW);
    delayMicroseconds(stepDelay);
  }
}

void setup() {
 
 pinMode(c_xDir, OUTPUT);
 pinMode(c_xStep,OUTPUT);
 
 pinMode(enable,OUTPUT);
 digitalWrite(enable, LOW);
}

void loop() {

  step(true,c_xDir,c_xStep,5000);
  delay(1000);
  step(false,c_xDir,c_xStep,5000);

}

Try with much longer step delay. You may be trying to run the motors way too fast.

groundFungus:
Try with much longer step delay. You may be trying to run the motors way too fast.

I set the stepDelay = 200 and now it goes back and forth, however my Y axis seems to making noise like it was to turn lol