You must not touch the ball with 32 hp and somtimes losing more than 2 hp at a time (bugs) just don't die.
This is a school project and i have not coded in a year feel free to leave suggestions and fix bugs and tell me what to do.