title @p[tag=hgp] actionbar "silence.."
tag @p[tag=hgp] add punch
tag @p[tag=hgp] remove hgp
scoreboard players set @a[tag=punch] hg_cooldown 2
playsound minecraft:block.slime_block.hit master @p[tag=punch] ~ ~ ~
execute at @p[tag=punch] run tp @e[tag=hg] ^ ^ ^1
execute as @e[tag=hg] run function template:hieraphont_green/animations/punch/play
execute as @s at @e[tag=hg] as @e[tag=!punch,distance=..4] at @s run damage @s 6 minecraft:player_attack
schedule function template:hieraphont_green/settle 6t
schedule function template:hieraphont_green/hg_cooldown 1s