Try to run away from the ball.
I will post this on Snap (another coding platform) It works way better there here's the link : https://snap.berkeley.edu/project?username=amk%20codes&projectname=2Octodoge09