#Particles Generated with: Cloud Wolf's Particle Grapher
scoreboard objectives add cw_particleplot dummy
function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/l0/l0_0
scoreboard players add @s cw_particleplot 1
execute if score @s cw_particleplot matches 5.. run scoreboard players set @s cw_particleplot 0