Error building Player because scripts had compiler errors in the editor (Without The Editor Script)

Firstly, don’t post pictures of your code, it’s pointless. Secondly use Code tags, see this: Using code tags properly

What is your error. Go into the editor then console to see what the error is. In the code screenshot you put here. I can see that moveDirection is underlined in red. Meaning there is an error. Please show us the error