Invalid Use Of VOid

#include <Servo.h>
int ledPin=2;
int sensorPin=8;
int servoPin = 4;
boolean val =0;
int servoAngle = 0;
Servo servo;

void setup(){
servo.attach(servoPin);
pinMode(servoPin, OUTPUT);
pinMode(sensorPin, INPUT);
Serial.begin (9600);
}

void loop (){
val =digitalRead(sensorPin);
Serial.println (val);
if (sensorPin == HIGH); {
digitalWrite(servoPin,servoAngle) = 0
servoAngle < 10; servoAngle++ ;
servo.write(servoAngle);
delay(2000);
servo.write(180);
delay(2000);
}
else {
digitalWrite(servoPin, LOW);
}
}

it keeps saying that it is an invalid use of void and I don't know why. I'm trying to make a servo move depending on if it is getting sensor input or not

  if (sensorPin == HIGH);

What is that semicolon doing there ?

   digitalWrite(servoPin, servoAngle) = 0

What is that supposed to do ?

if (sensorPin == HIGH);Oops2

 if (sensorPin == HIGH);

Oops2

digitalWrite(servoPin,servoAngle) = 0
   servoAngle < 10; servoAngle++ ;\

all of that.

Please remember to use code tags when posting code, and the exact error messages you are seeing