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 as @a[tag=hurt_temp,sort=nearest,limit=1] run function pctf:logic/items/scrolls/blink/tp
execute at @s positioned ~ ~-1 ~ as @e[type=!#pctf:cannot_be_hit,distance=..2] unless score @s ctf_ID = @n[type=marker,tag=collide_temp] ctf_ID at @n[type=marker,tag=collide_temp] run function pctf:logic/items/scrolls/blink/hurt
tag @s remove collide_temp
function pctf:logic/items/scrolls/remove_hurt_temp

playsound minecraft:entity.illusioner.mirror_move player @a ~ ~ ~ 1 0.75
playsound minecraft:block.trial_spawner.spawn_mob player @a ~ ~ ~ 2 1
particle entity_effect{color:[0.000,0.235,1.000,1.00]} ~ ~ ~ 1 1 1 0.1 500 force @a

kill @s