i think it it that when you do more damage than the enemy has the health becomes negative and piles up
yeah came back to this project again after some time so im right now cleaning up the code changing the gui and fixing bugs :/