No Monobehaviour scripts in the file

i am fairly new to Unity, but i was able to make a basic game, but all of a sudden after compiling a newer update, all of scripts have the No Monobehaviour scripts in the file under each script. As well when i try to open certain scenes unity stops responding… can anyone help me fix this?

Update:
I have tried deleting the library but it didn’t fix it.

Just a hunch, but it sounds like your project solution (the files that tell Unity about all of your scripts) might be corrupted. Try deleting all the Visual Studio files in your project directory, then double clicking the scripts in Unity again (this will make Visual Studio recreate the files). Deleting the Library folder might also fix the problem.