execute @s[scores={primarymagic=0}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:wind_wand3
execute @s[scores={primarymagic=1}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:water_wand3
execute @s[scores={primarymagic=2}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:poison_wand3
execute @s[scores={primarymagic=3}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:necromancy_wand3
execute @s[scores={primarymagic=4}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:light_wand3
execute @s[scores={primarymagic=5}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:ice_wand3
execute @s[scores={primarymagic=6}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:grass_wand3
execute @s[scores={primarymagic=7}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:fire_wand3
execute @s[scores={primarymagic=8}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:electric_wand3
execute @s[scores={primarymagic=9}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:death_wand3