Ok say you have 10 balls and your gonna throw them 1 at a time into a hole, and to complete the level you need to get 5 of them in the hole.
So there you go throwing them 1 at a time and after you have thrown 9 balls you have got 4 in the hole so you need to get the last one in,
and in your code you have if Ball = 0 and Score < 5 then it's game over,
and if Ball = 0 and Score => 5 the you won.
What happens is as soon as you throw the last ball, the ball count variable is now 0 so it's game over, BUT your ball is still bouncing around and may go in the hole, so you need this to be game over after the balls stop moving