particle explosion_emitter ~ ~ ~
particle minecraft:firework ~ ~ ~ 0 0 0 .5 30
particle minecraft:end_rod ~ ~ ~ 0 0 0 .5 30
playsound entity.generic.explode neutral @a ~ ~ ~ 2 .8
execute as @e[type=!#survivalplus:notalive,distance=..1] run damage @s 30 explosion by @s
execute as @e[type=!#survivalplus:notalive,distance=1..2] run damage @s 25 explosion by @s
execute as @e[type=!#survivalplus:notalive,distance=2..3] run damage @s 20 explosion by @s
execute as @e[type=!#survivalplus:notalive,distance=3..4] run damage @s 15 explosion by @s
execute as @e[type=!#survivalplus:notalive,distance=4..5] run damage @s 10 explosion by @s
execute as @e[type=!#survivalplus:notalive,distance=5..6] run damage @s 5 explosion by @s
kill @s