My scripts are not updating.

So I was working in Unity and then when I went to edit a script and saved it, there where no compiler errors, but the script didn’t update. When you click on the script It shows what its supposed to in the inspector, but when I attach it to an object it doesn’t update from the default script. Please Help!

EDIT:
Now none of my scripts will appear on a GameObject.
Except they still can be viewed if you click on them.
???

Can you post a screenshot?

What happens if you go on an object and go AddComponents add new script and then…
Did you added an empty script? Can you then copy your old script in there?