playsound minecraft:entity.generic.explode block @a ~ ~ ~ 2 2
particle minecraft:large_smoke ~ ~ ~ 0 0 0 0.25 500 force @a
particle minecraft:lava ~ ~ ~ 1.5 1.5 1.5 0.35 250 normal @a
fill ~-3 ~-3 ~-3 ~3 ~3 ~3 minecraft:air replace #pctf:breakable_wools
scoreboard players remove @s generic_timer2 100000

tag @s add collide_temp
execute as @a if score @s real_ID = @n[type=marker,tag=collide_temp] real_ID run tag @s add hurt_temp
execute at @s positioned ~ ~-1 ~ as @e[type=!#pctf:cannot_be_hit,distance=..5] unless score @s ctf_ID = @n[type=marker,tag=collide_temp] ctf_ID run function pctf:logic/items/scrolls/fireball/hurt
tag @s remove collide_temp
function pctf:logic/items/scrolls/remove_hurt_temp

kill @s