title @p[tag=dbmp] actionbar "attacking"
tag @p[tag=dbmp] add punch
tag @p[tag=dbmp] remove dbmp
playsound minecraft:block.azalea.hit master @p[tag=punch] ~ ~ ~ 20 2 1
execute at @p[tag=punch] run tp @e[tag=dbm] ^ ^ ^1
execute as @e[tag=dbm] run function template:dark_blue_moon/animations/punch_2/play
execute as @s at @e[tag=dbm] as @e[tag=!punch,distance=..4] at @s run damage @s 5 minecraft:player_attack
scoreboard players set @a[tag=punch] dbm_cooldown 0
schedule function template:dark_blue_moon/settle 5t