error message by ultrasonic sound sensor

i made from a yt code my own and it was working the whole day and: BOOM! this error message whole time

Arduino:1.8.13 (Mac OS X), Board:"Arduino Uno"

'LiquidCrystal' does not name a type; did you mean 'LiquidCrystal_h'?

i tried LiguidCrystal_h but got only more errors what can i do?
whole code:

//made by chickenprogram:
*//dont use without permission














#include <LiquidCrystal.h>


 
int buzzerPin = 10;

const int trigPin = 13;   
const int echoPin = 8;   
int Contrast=20;
 LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
float duration;           
float distance;           
void setup() {
  Serial.begin(9600);               
  pinMode(trigPin, OUTPUT);         
  pinMode(echoPin, INPUT);         
  analogWrite(6,Contrast);
     lcd.begin(16, 2);
}

void loop() {
  digitalWrite(trigPin, LOW);       
  delayMicroseconds(2);             

  digitalWrite(trigPin, HIGH);      
  delayMicroseconds(10);            
  digitalWrite(trigPin, LOW);       

  duration = pulseIn(echoPin, HIGH);
  distance = (duration * 0.034) / 2;    
   if( distance > 40 && 200 > distance) //(distance more then [own number] and less then [own number])
   {
  Serial.println("Afstand:  ");
  Serial.print(distance);
  lcd.setCursor(0, 0);
     lcd.print("Afstand");
     lcd.setCursor(0, 1);
     lcd.print(distance);
     lcd.print(" cm");
     Serial.print(" cm");
     Serial.println("");
     
   }
   else
   {
    tone(buzzerPin,1950,1000);
    lcd.setCursor(0, 0);
     lcd.print("object!!");
     Serial.println("Object:");
     
     lcd.setCursor(0,1);
     lcd.print(distance);
     lcd.print(" cm");
     Serial.print(distance);
     Serial.print(" cm");
     Serial.println("");
     
    
   }
    delay(90);
    tone(buzzerPin,0,100);
    delay(10);
                                                                                 
                             
}
*//dont use without permission

What is the '*' doing in there?

I assume you have never looked at the top of your code.
Well that is one of multiple reasons why you should format your code properly
Of course the compiler doesn’t care even if you would insert 10.000 empty lines.
But your code should be well formatted not too much empty lines and all indentions aligned

if you press Ctrl-T your code gets autoformatted in the right way.
only the empty lines stay

if you put the opening curly bracket “{” in the same line as the command
example

  if ( distance > 40 && 200 > distance) {
    Serial.println("Afstand:  ");

instead of

  if ( distance > 40 && 200 > distance) 
  {
    Serial.println("Afstand:  ");

if you put the cursor to the closing curly bracket and the opening is out of sight the IDE will show you the line at the top

best regards Stefan

i did it already guys thanks