scoreboard players set @a[scores={player_deaths=1..}] player_deaths 0
tag @p remove scp
tag @p remove mrp
tag @p remove spp
tag @p remove sunp
tag @p remove hgp
tag @p remove setp
tag @p remove dbmp
tag @p remove tohthp
tag @p remove togp
tag @p remove hp
tag @p remove hps
tag @p remove ep
tag @p remove tfp
tag @p remove anubisp
tag @p remove getting_stand
clear @p[limit=1,sort=nearest] minecraft:slime_ball[minecraft:custom_data={hg:true}]
clear @p[limit=1,sort=nearest] minecraft:breeze_rod[minecraft:custom_data={sc:true}]
clear @p[limit=1,sort=nearest] minecraft:nether_star[minecraft:custom_data={sp:true}]
clear @p[limit=1,sort=nearest] minecraft:magma_cream[minecraft:custom_data={sun:true}]
clear @p[limit=1,sort=nearest] minecraft:heart_of_the_sea[minecraft:custom_data={dbm:true}]
clear @p[limit=1,sort=nearest] minecraft:blaze_powder[minecraft:custom_data={mr:true}]
clear @p[limit=1,sort=nearest] minecraft:gray_dye[minecraft:custom_data={tog:true}]
clear @p[limit=1,sort=nearest] minecraft:clay_ball[minecraft:custom_data={set:true}]
clear @p[limit=1,sort=nearest] minecraft:book[minecraft:custom_data={tohth:true}]
clear @p[limit=1,sort=nearest] minecraft:clock[minecraft:custom_data={h:true}]
clear @p[limit=1,sort=nearest] minecraft:diamond_sword[minecraft:custom_data={hp:true}]
clear @p[limit=1,sort=nearest] minecraft:clock[minecraft:custom_data={tf:true}]
clear @p[limit=1,sort=nearest] minecraft:clock[minecraft:custom_data={e:true}]
clear @p[limit=1,sort=nearest] minecraft:netherite_sword[minecraft:custom_data={anubis:true}]
kill @e[tag=af]