Create a global variable at the start of the event sheet. When the player collides with the enemy, use the action System - Select Subtract From - Select the global variable you created which stores the health value - Mention in the value field the number you want to deduct from the players health.