Move the red slider by doing W or S keys. My bot controls the blue one. The green flag will only reset the ball and the slider, not the wins. If you do wish to restart the entire game, rejoin into the project (Leave the project then play it again) Have fun!
I fixed the code ;>