HELP me :Problem with my kung fu actor

How can I make my actor (probably a kung fu fighter) deduct its opponent's life not until when the kick/punch button is pressed.
I know on collision event can't work here Please Help me
I know on collision event can't work here Please Help me