particle soul ~ ~ ~ 1 1 1 0.3 200 force @a
particle soul_fire_flame ~ ~ ~ 1 1 1 0.3 200 force @a

playsound entity.dragon_fireball.explode voice @a ~ ~ ~ 3 2
playsound entity.vex.death voice @a ~ ~ ~ 3 0.5
playsound entity.vex.death voice @a ~ ~ ~ 3 0.6
playsound entity.vex.death voice @a ~ ~ ~ 3 0.7
playsound entity.vex.death voice @a ~ ~ ~ 3 0.8
playsound entity.vex.death voice @a ~ ~ ~ 3 0.9
playsound entity.vex.death voice @a ~ ~ ~ 3 1

effect give @e[distance=..3,tag=type1] instant_damage 1 2 true
effect give @e[distance=..3,tag=type2] instant_health 1 2 true
execute at @e[distance=..10,type=ender_dragon] run summon tnt
execute at @e[distance=..10,type=end_crystal] run summon tnt
execute at @e[distance=..10,type=wither] run summon tnt



kill @s