Renamed folder of scripts doesn't work anymore

I learned that to build my game, I needed the scripts in an “Editor” folder, so I tryed renaming it or moving them into an other folder named Editor, but after that the scripts are not working anymore.

The error message is “the associated script can not be load compile error”

Please help me

The Editor folder is for editor scripts - those that run in the editor while you are creating your game. It cannot be used for scripts that are used at runtime.

well those scripts need to be in an editor folder according to the error message I get when I try to build my game. I can build my game after that but my character is not moving anymore
Any solution?