tag @s add executor

function svm_ep:fighting_style/sword/slash/stab/raycast
execute at @s run playsound minecraft:entity.player.attack.weak hostile @a ~ ~ ~ 3 1.2
#as @e[dx=0,tag=!executor,type=!#svm_ep:technical]
tag @s remove executor
tag @s remove end_raycast