Execute action on entity die / killed

Hi guys! I remember it as something easy, but I can't seem to find a solution now that I need.

How can I execute an action on entity killed? When I mean on, I mean at the position of the entity.

player_killed_entity does only allow to detect when the entity is killed, but I also need to know where.

Continue to help post