How do You create a character that dies when you jump on it, in paper 2d

I am using paper 2d and want to make a mario type enemy that dies when you jump on it. Please be thorough in the explanation.