Sorry it's broken rn but I'm working on it. If anyone has suggestions tell me. Also, I'm having trouble fixing the code so if you know how to fix it tell me!
Thank you so much to @BluesyBear3 and @FroYo666 for helping me with some parts I struggled with such as the bouncing and the path behind the ball.