Well, the score increases when the enemy attacks haha.
So in practice, each attack the enemy does gives you 10 points. (There's a "bug" that I didn't had time to fix where if the enemy attacks while you're in the death animation, you still get points from that attack because it technically didn't hit you :P)
I didn't think of it (and probably I wouldn't have enough time to implement it) but it would be better if I gave points based on rolling OUT of an attack, maybe based on how close you where from getting hit, so it encourages players to take risks to get more points, instead of just staying alway from the attacks. Oh well.