particle minecraft:electric_spark ~ ~0.2 ~ 0.1 0.3 0.1 0 10

scoreboard players add @s vb.timer.boss_attack 1
execute if score @s vb.timer.boss_attack matches 30.. run summon lightning_bolt
execute if score @s vb.timer.boss_attack matches 30.. run kill @s