when player dies summons armorstand where they died, why is it not working
execute as @a if score @s corpse matches 1.. at @s run summon armor_stand ~ ~ ~ {ShowArms:1b,Invisible:1b,Invulnerable:1b,NoGravity:1b,ArmorItems:[{id:diamond_boots,Count:1},{id:"minecraft:diamond_leggings",Count:1},{id:"minecraft:diamond_chestplate",Count:1},{id:"minecraft:player_head",Count:1,Tag:{SkullOwner:"@s"}}]}