scoreboard players remove @s generic_timer 1

scoreboard players set @s generic_timer2 35
execute if score @s generic_timer matches 1.. run function pctf:logic/items/scrolls/ethereal_blade/loop

tag @e[tag=raycast_hit] remove raycast_hit

execute if score @s generic_timer matches ..0 run kill @s