particle explosion ~ ~0.5 ~ 0 0 0 0 1 force
particle lava ~ ~0.5 ~ 0 0 0 1 5 force
playsound entity.generic.explode master @a ~ ~ ~ 2 1
execute if entity @e[type=#main:not_enemies,tag=ally,distance=..3] as @e[type=#main:not_enemies,tag=ally,distance=..3] run function main:mechanics/damage/player/damage {"damage":100,"id":id16,"id_number":16}
scoreboard players set @s health 0
function main:game/mobs/ai/death