execute store result storage untwo:temp Team_DM.IntID int 1 run scoreboard players get @s untwo.PlayerID
execute if items entity @s armor.head *[minecraft:count~{min:1}] run data modify storage untwo:temp Team_DM.replace.slot set value "armor.head"
execute if items entity @s armor.chest *[minecraft:count~{min:1}] run data modify storage untwo:temp Team_DM.replace.slot set value "armor.chest"
execute if items entity @s armor.legs *[minecraft:count~{min:1}] run data modify storage untwo:temp Team_DM.replace.slot set value "armor.legs"
execute if items entity @s armor.feet *[minecraft:count~{min:1}] run data modify storage untwo:temp Team_DM.replace.slot set value "armor.feet"
execute if items entity @s weapon.offhand *[minecraft:count~{min:1}] run data modify storage untwo:temp Team_DM.replace.slot set value "weapon.offhand"
function untwo:team/immunity/sys/replace/w_ovverride/set/ with storage untwo:temp Team_DM.replace
