execute at @s run summon lightning_bolt

execute at @s[tag=SwiftyStand] run execute at @s run particle minecraft:dust 0.5 0.7 1 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=SlowyStand] run execute at @s run particle minecraft:dust 0.4 0.45 0.5 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=HealyStand] run execute at @s run particle minecraft:dust 1 0.2 0.2 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=HarmyStand] run execute at @s run particle minecraft:dust 0.4 0.1 0.1 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=RegenyStand] run execute at @s run particle minecraft:dust 0.9 0.45 0.8 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=BlindyStand] run execute at @s run particle minecraft:dust 0 0 0 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=WeakyStand] run execute at @s run particle minecraft:dust 0.3 0.25 0.25 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=PoisonyStand] run execute at @s run particle minecraft:dust 0.1 0.4 0.1 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
execute at @s[tag=WitheryStand] run execute at @s run particle minecraft:dust 0 0 0 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force
#execute at @s[tag=GlowyStand] run
execute at @s[tag=LevyStand] run execute at @s run particle minecraft:dust 0.7 0.4 0.9 1 ~ ~ ~ 1.5 1.5 1.5 0 100 force

execute at @s[tag=SwiftyStand] run effect give @e[distance=..4] minecraft:speed 15 0
execute at @s[tag=SlowyStand] run effect give @e[distance=..4] minecraft:slowness 15 0
execute at @s[tag=HealyStand] run effect give @e[distance=..4] minecraft:instant_health 1 1
execute at @s[tag=HarmyStand] run effect give @e[distance=..4] minecraft:instant_damage 1 0
execute at @s[tag=RegenyStand] run effect give @e[distance=..4] minecraft:regeneration 20 0
execute at @s[tag=BlindyStand] run effect give @e[distance=..4] minecraft:blindness 10 0
execute at @s[tag=WeakyStand] run effect give @e[distance=..4] minecraft:weakness 30 0
execute at @s[tag=PoisonyStand] run effect give @e[distance=..4] minecraft:poison 10 0
execute at @s[tag=WitheryStand] run effect give @e[distance=..4] minecraft:wither 10 0
#execute at @s[tag=GlowyStand] run
execute at @s[tag=LevyStand] run effect give @e[distance=..4] minecraft:levitation 5 1

kill @s