I remixed this for you can move and don't have to reset every time the ball gets stuck in the middle. Also w or arrow key up to kick and A,D to move left and right same goes with the arrow keys.
i remixed this to improve some stuff: -smooth velocity -jumping -the goals