execute at @s run summon minecraft:marker ~ ~ ~ {Tags:["svm_ep.sword_slash"]}

tp @e[tag=svm_ep.sword_slash] @s
execute at @s anchored eyes run tp @e[tag=svm_ep.sword_slash] ^ ^-0.26 ^2.615
execute as @e[tag=svm_ep.sword_slash] at @s run tp @s ~ ~ ~ ~-90 ~
execute as @e[tag=svm_ep.sword_slash] at @s run function svm_ep:system/start_random_rotation_y

#execute at @s run playsound minecraft:entity.player.attack.sweep player @a[distance=..30] ~ ~ ~ 1 1.3

execute at @e[tag=svm_ep.sword_slash] run function svm_ep:items/sword_slash_particles
kill @e[tag=svm_ep.sword_slash]