execute if score @s cw_particleplot matches 0 run function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/frames/f0
execute if score @s cw_particleplot matches 1 run function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/frames/f1
execute if score @s cw_particleplot matches 2 run function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/frames/f2
execute if score @s cw_particleplot matches 3 run function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/frames/f3
execute if score @s cw_particleplot matches 4 run function kiwi2:upgrades/classes/magus/spells/tier_4/lightning_ball/frames/f4