duplicate label 'x'

Hallo Community;
ich habe begonnen einen Counter aus LED´s zu bauen und scheitere gerade an der Programmierung, da ich egal, was ich mache den Error “duplicate label ‘x’” bekomme. Könnt ihr mir helfen?

Hier ist mein Skript:

void setup() {
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(13, OUTPUT);
  pinMode(A0, OUTPUT);
  pinMode(A1, OUTPUT);
  pinMode(A7, INPUT);


}

void loop () {

  int EINS = 0;
  int ZWEI = 0;
  int x = -1;
  int y = 0;
  int A7;

  do
  {
    if (ZWEI == 1){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
     };
    if (ZWEI == 2){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(3, HIGH);
      digitalWrite(2, HIGH);
     };
    if (ZWEI == 3){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
     };
    if (ZWEI == 4){
      digitalWrite(8, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
     };
    if (ZWEI == 5){
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
     };
    if (ZWEI == 6){
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
      digitalWrite(2, HIGH);
     };
    if (ZWEI == 7){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(4, HIGH);
     };
    if (ZWEI == 8){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
      digitalWrite(2, HIGH);
     };
    if (ZWEI == 9){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
     };
    if (ZWEI == 0){
      digitalWrite(8, HIGH);
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
      digitalWrite(2, HIGH);

      
     };
           y:y+1;
     ZWEI:y;
           x:0;
    do
    {

      analogRead(A7);
      delay(10);
      if (A7 > 0){EINS:x+1;}
       x:EINS;
      if (EINS == 1){
        digitalWrite(A1, HIGH);
        digitalWrite(11, HIGH);
       };
      if (EINS == 2){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(10, HIGH);
        digitalWrite(9, HIGH);
       };
      if (EINS == 3){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
       };
      if (EINS == 4){
        digitalWrite(A1, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
      };
      if (EINS == 5){
        digitalWrite(A1, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
      };
      if (EINS == 6){
        digitalWrite(A0, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
        digitalWrite(9, HIGH);
      };
      if (EINS == 7){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(11, HIGH);
      };
      if (EINS == 8){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
        digitalWrite(9, HIGH);
      };
      if (EINS == 9){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(12, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
      };
      if (EINS == 0){
        digitalWrite(A0, HIGH);
        digitalWrite(A1, HIGH);
        digitalWrite(13, HIGH);
        digitalWrite(11, HIGH);
        digitalWrite(10, HIGH);
        digitalWrite(9, HIGH);
      };


    } while (x < 10);
  } while (y<10);

}

Ich bin noch nicht so lange beim Programieren, aber auch kein absoluter neuling und bin deswegen gerade am verzweifeln. ICh bittte um schnelle Hilfe.
Danke für eure Aufmerksamkeit. LG Xono

     if (A7 > 0){EINS:x+1;}
       x:EINS; // <------- ???????
      if (EINS == 1){

What are you trying to do here?

x: at the start of the line is a label in C.

x is also a variable name in your sketch.

This isn’t allowed.

Other lines like this :

           y:y+1;
     ZWEI:y;
           x:0;

I guess you meant ‘=’ instead of ‘:’ …?

      analogRead(A7);
      delay(10);
      
      if (A7 > 0)

That is not how reading analog input pins works. You are reading the analog signal on A7 and throwing away the value returned. Then you are comparing the pin number 'A7' to 0 so it will ALWAYS be true. Did you, perhaps, want to compare the input voltage against zero?

     delay(10);
      if (analogRead(A7) > 0)

you know there is no need for the final ";" here :

    if (ZWEI == 5){
      digitalWrite(7, HIGH);
      digitalWrite(6, HIGH);
      digitalWrite(5, HIGH);
      digitalWrite(4, HIGH);
      digitalWrite(3, HIGH);
     };

But looking through your code i noticed that none of the digitalWrite() statements aver turn a pin "LOW" , so i guess once the LED's are turned on they are never turned off again, i doubt if that is what you want.

The ';' is redundant here:

     };