Run commands as a dead player
@e
cannot target dead players. Only the @a
selector can (as well as the upcoming @s
selector, though is irrelevant when you'd need to use @a
first for @s
to be functional), and only if the r/dx/dy/dz
parameters are not specified.
execute @a[score_deaths_min=1] ~ ~ ~ summon minecraft:armor_stand