Changes in script not taking

I’m editing a script that moves a G.O. I make the changes and the changes show up in the inspector but they don’t seem to be doing anything. So I empty the script, delete everything just to see what will happen, save and run it again. The object repeats what it did when the script had stuff in it, but it’s empty now and shouldn’t be doing anything.

??? any ideas. I tried restarting.

If you are getting compile errors, Unity will use the last successfully compiled version of the script when you run. You need to make sure all errors are fixed before alterations will be noticeable.