title @p[tag=tfp] actionbar "attacking"
tag @p[tag=tfp] add swipe
tag @p[tag=tfp] remove tfp
playsound minecraft:block.sand.hit master @p[tag=swipe] ~ ~ ~ 5 2 0.4
execute as @e[tag=tf] run function template:the_fool/animations/paw_swipe/play
execute at @p[tag=swipe] run tp @e[tag=tf] ^ ^ ^2
execute as @s at @e[tag=tf] as @e[tag=!swipe,distance=..3] at @s run damage @s 7 minecraft:player_attack
schedule function template:the_fool/settle 7t
scoreboard players set @a[tag=swipe] tf_cooldown 0
schedule function template:the_fool/tf_cooldown 1s