None of my scripts work

Whenever I open up a script, Visual Studio says that “I should remove unneeded using directives” or something, so it then proceeds to nullify half of the using directives and cause countless errors throughout my scripts. This applies to all my scripts. Anyone have a fix?

If Unity doesn’t give you any errors about scripts, you can ignore it in Visual Studio.

In Unity, go to Edit < Preferences < External Tools , change external script editor to visual studio 2019
the problem may be caused by this reason