scoreboard players set @s[scores={wg:damage_impulse=..0}] wg:damage_impulse 5
playanimation @s animation.player.damage_impulse wesl3y
execute if block ^^^-1 air run tp @s ^^^-0.5
execute unless block ^^^-1 air run scoreboard players set @s wg:damage_impulse 0
execute at @s[scores={wg:damage_impulse=1..}] run function damage_impulse