scoreboard players remove @s knockback_resistance_timer 1

execute unless score @s invis_timer matches 1.. run particle entity_effect{color:[0.000,0.800,0.700,1.00]} ~ ~ ~ 0.5 0.5 0.5 0 1 normal @a

execute if score @s knockback_resistance_timer matches 1 run function pctf:logic/player/potion/knockback_resistance/end