tag @s[nbt={Potion:"minecraft:swiftness"}] add SwiftyArrow
tag @s[nbt={Potion:"minecraft:long_swiftness"}] add SwiftyArrow
tag @s[nbt={Potion:"minecraft:strong_swiftness"}] add SwiftyArrow

tag @s[nbt={Potion:"minecraft:slowness"}] add SlowyArrow
tag @s[nbt={Potion:"minecraft:long_slowness"}] add SlowyArrow
tag @s[nbt={Potion:"minecraft:strong_slowness"}] add SlowyArrow

tag @s[nbt={Potion:"minecraft:weakness"}] add WeakyArrow
tag @s[nbt={Potion:"minecraft:long_weakness"}] add WeakyArrow
tag @s[nbt={Potion:"minecraft:strong_weakness"}] add WeakyArrow

tag @s[nbt={Potion:"minecraft:healing"}] add HealyArrow
tag @s[nbt={Potion:"minecraft:strong_healing"}] add HealyArrow

tag @s[nbt={Potion:"minecraft:harming"}] add HarmyArrow
tag @s[nbt={Potion:"minecraft:strong_harming"}] add HarmyArrow

tag @s[nbt={Potion:"minecraft:regeneration"}] add RegenyArrow
tag @s[nbt={Potion:"minecraft:long_regeneration"}] add RegenyArrow
tag @s[nbt={Potion:"minecraft:strong_regeneration"}] add RegenyArrow

tag @s[nbt={Potion:"minecraft:poison"}] add PoisonyArrow
tag @s[nbt={Potion:"minecraft:long_poison"}] add PoisonyArrow
tag @s[nbt={Potion:"minecraft:strong_poison"}] add PoisonyArrow


tag @s[nbt={CustomPotionEffects:[{Id:1b}]}] add SwiftyArrow
tag @s[nbt={CustomPotionEffects:[{Id:2b}]}] add SlowyArrow
tag @s[nbt={CustomPotionEffects:[{Id:6b}]}] add HealyArrow
tag @s[nbt={CustomPotionEffects:[{Id:7b}]}] add HarmyArrow
tag @s[nbt={CustomPotionEffects:[{Id:10b}]}] add RegenyArrow
tag @s[nbt={CustomPotionEffects:[{Id:15b}]}] add BlindyArrow
tag @s[nbt={CustomPotionEffects:[{Id:18b}]}] add WeakyArrow
tag @s[nbt={CustomPotionEffects:[{Id:19b}]}] add PoisonyArrow
tag @s[nbt={CustomPotionEffects:[{Id:20b}]}] add WitheryArrow
tag @s[nbt={CustomPotionEffects:[{Id:24b}]}] add GlowyArrow
tag @s[nbt={CustomPotionEffects:[{Id:25b}]}] add LevyArrow


execute at @s[tag=IsPotionArrow] run summon armor_stand ~ ~ ~ {Tags:["LightningStandMove","IsPotionArrowStand"],HandItems:[{},{}],Invisible:1b,Silent:1b,NoGravity:1,Marker:0b}
execute at @s[tag=SwiftyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add SwiftyStand
execute at @s[tag=SlowyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add SlowyStand
execute at @s[tag=HealyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add HealyStand
execute at @s[tag=HarmyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add HarmyStand
execute at @s[tag=RegenyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add RegenyStand
execute at @s[tag=BlindyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add BlindyStand
execute at @s[tag=WeakyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add WeakyStand
execute at @s[tag=PoisonyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add PoisonyStand
execute at @s[tag=WitheryArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add WitheryStand
execute at @s[tag=GlowyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add GlowyyStand
execute at @s[tag=LevyArrow] run tag @e[type=armor_stand,distance=..1,sort=nearest,limit=1,tag=LightningStandMove,tag=IsPotionArrowStand,tag=!GotTeled] add LevyStand




