execute if score @s untwo.PlayerID.2nd matches 0 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/0/
execute if score @s untwo.PlayerID.2nd matches 1 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/1/
execute if score @s untwo.PlayerID.2nd matches 2 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/2/
execute if score @s untwo.PlayerID.2nd matches 3 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/3/
execute if score @s untwo.PlayerID.2nd matches 4 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/4/
execute if score @s untwo.PlayerID.2nd matches 5 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/5/
execute if score @s untwo.PlayerID.2nd matches 6 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/6/
execute if score @s untwo.PlayerID.2nd matches 7 run return run function untwo:team/immunity/sys/replace/w_enchant/set/1/7/