execute as @e[tag=boom,tag=notlit,limit=1,sort=nearest,tag=!lit] run tag @s add lit
execute as @e[tag=boom,tag=notlit,limit=1,sort=nearest,tag=!special] run tag @s add special
execute at @e[tag=boom,tag=notlit,tag=lit,limit=1,sort=nearest,tag=special] run playsound minecraft:entity.tnt.primed hostile @a ~ ~1 ~
execute as @e[tag=boom,tag=notlit,tag=lit,limit=1,sort=nearest,tag=special] run attribute @s movement_speed base set .2
execute as @e[tag=boom,tag=notlit,tag=lit,limit=1,sort=nearest,tag=special] run tag @s remove notlit
advancement revoke @s only survivalplus:tools/gethit/boomzombie