summon lightning_bolt
scoreboard players add @a[distance=..6] svm_ep.shaking 1
scoreboard players add @a[distance=..12] svm_ep.shaking 2
scoreboard players add @a[distance=..25] svm_ep.shaking 3
scoreboard players add @a[distance=..50] svm_ep.shaking 4
particle minecraft:enchanted_hit ~ ~ ~ 0 0 0 3 60
particle minecraft:end_rod ~ ~ ~ 0 0 0 10 20