scoreboard players remove @s generic_timer2 1
execute at @s run tp @s ^ ^ ^0.3
tag @s add collide_temp
execute at @s positioned ~ ~-1 ~ as @e[type=!#pctf:cannot_be_hit,tag=!spectator,distance=..1] unless score @s ctf_ID = @n[type=marker,tag=collide_temp] ctf_ID as @n[type=marker,tag=collide_temp] at @s run function pctf:logic/items/scrolls/black_hole/detonate
tag @s remove collide_temp
execute at @s unless block ~ ~ ~ #pctf:projectile_pass run function pctf:logic/items/scrolls/black_hole/detonate
execute at @s run function pctf:logic/items/scrolls/black_hole/fx

function pctf:logic/items/scrolls/collide_check

execute if score @s generic_timer2 matches 1.. run function pctf:logic/items/scrolls/black_hole/loop