I was surprised to read that I have to assign a new random to youHit variable. Why should I do it if that variable had already assigned value and nothing in the code change that? Or at least I can't see where something is changing it. I would be very grateful for explanation.
Replace this line with your code.