Melee weapon

Hello, I want to create a melee weapon wich, when overlapping an object, it gets destroyed. I already created an AI (wich will be the enemy) and I imported a hammer from the community content, but I don't know how to make it so when a player attacks that enemy, it dies (get destroyed or something).
Could you please help me?
Thanks!

How are your AI enemies built? Are you using the NPC Kit, or Damegable Objects?