particle minecraft:end_rod ~ ~1 ~ 0 0 0 2 100
particle minecraft:flash ~ ~1 ~
particle minecraft:electric_spark ~ ~1 ~ 0 0 0 10 100
playsound minecraft:entity.lightning_bolt.thunder master @a[distance=..25] ~ ~ ~ 1 2
playsound minecraft:entity.lightning_bolt.thunder master @a[distance=..25] ~ ~ ~ 1 1
playsound minecraft:entity.lightning_bolt.thunder master @a[distance=..25] ~ ~ ~ 1 0