particle minecraft:electric_spark ~ ~ ~ 0 0 0 0.0 5 normal @a
fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:fire replace air
playsound entity.lightning_bolt.thunder neutral @a ~ ~ ~ 5
summon lightning_bolt ~ ~ ~