Help with attacking enemy in tile based game

Im making a tile based game based off the tutorials by Tony Pa

they are found here:

I want it to be in my game so that when u jump on top of an enemy it kills him, like in mario when you jump on enemies

any help will be helpful

thank you,
thejoeknows