My Character Can't Move + Editor Keeps Crashing

Hello,

I have been working on a small project recently and i was trying to setup the character to move with the camera. This is the tutorial that i followed, i have tried it a lot of time and now trying to get ride of the script.

After adding this script when i try to start the game in a new editor window it just crashes. However, when i play it as a standalone game it works, but my character can not move no more and the only thing i can do is move my camera around my character.

This is a example of this what is happening : - YouTube

If you have any information please tell me.

Thank you for reading