tag @s add parry_temp
execute as @a[distance=..150] if score @s real_ID = @n[type=marker,tag=parry_temp] real_ID run tp @n[type=marker,tag=parry_temp] ~ ~ ~ facing entity @s eyes
tag @s remove parry_temp
scoreboard players operation @s ctf_ID = @n[tag=parry,distance=..2] ctf_ID
scoreboard players operation @s real_ID = @n[tag=parry,distance=..2] real_ID

execute as @a[distance=..150] if score @s real_ID = @n[tag=parry,distance=..2] real_ID run scoreboard players set @s item_cooldown 5

playsound minecraft:entity.breeze.death player @a ~ ~ ~ 1 0.75
playsound minecraft:block.note_block.pling player @a ~ ~ ~ 1 2
particle minecraft:firework ~ ~ ~ 0 0 0 0.5 25 force @a
execute as @n[type=marker,tag=parry,distance=..2] at @s run function pctf:logic/items/scrolls/shield/ring2
execute as @n[type=marker,tag=parry,distance=..2] at @s run particle minecraft:flash{color:[1.000,1.000,1.000,1.00]} ~ ~ ~ 0 0 0 0 1 force @a

scoreboard players operation @s generic_timer = @s generic_timer_max

kill @n[type=marker,tag=parry,distance=..2]