If my character takes damage the game freezes totally

Could you show the code related to that?