on death event with advancments?

i made a thing in advancments which checks for entity_killed_player but it doesn't work. This is the code { "criteria": { "a": { "trigger": "minecraft:entity_killed_player" } }, "requirements": [], "rewards": { "function": "stern:stopsounds" } }
Continue to help post