execute @s[tag=!on] ~ ~ ~ execute @p[r=3,scores={primarymagic=0,primarylevel=1..}] ~ ~ ~ scoreboard players add @s primaryexp 750
execute @s[tag=!on] ~ ~ ~ execute @p[r=3,scores={secondarymagic=0,secondarylevel=1..}] ~ ~ ~ scoreboard players add @s secondaryexp 750

execute @p[r=3,scores={primarymagic=0,primarylevel=1..}] ~ ~ ~ tag @e[type=vatonage:windaura2,r=3] add on
execute @p[r=3,scores={secondarymagic=0,secondarylevel=1..}] ~ ~ ~ tag @e[type=vatonage:windaura2,r=3] add on
execute @s[tag=!on] ~ ~ ~ tellraw @p {"rawtext":[{"text":"§cYou haven't unlocked this magic"}]}
execute @s[tag=!on] ~ ~ ~ replaceitem entity @p slot.weapon.mainhand 0 vatonage:empty_wand2
kill @s[tag=!on]

execute @s[scores={removedebris=1}] ~ ~ ~ playsound item.trident.throw @a ~ ~ ~

scoreboard objectives add removedebris dummy removedebris
scoreboard players add @s removedebris 1
execute @s[scores={removedebris=19..}] ~ ~ ~ kill @s

execute @s[scores={removedebris=1}] ~ ~ ~ effect @a[r=5] jump_boost 3 10 true
execute @s[scores={removedebris=5}] ~ ~ ~ effect @a[r=5] slow_falling 6 0 true