tag @s add MobbyBack
summon armor_stand ~ ~ ~ {Marker:1b,Invisible:1b,Silent:1b,Silent:1b,NoGravity:1,Tags:["KnockbackMod"]}
#execute as @e[tag=KnockbackMod] run say hi1
tp @e[type=armor_stand,tag=KnockbackMod,limit=1,distance=..1,sort=nearest] ~ ~ ~ facing entity @s
execute as @e[type=armor_stand,tag=KnockbackMod,limit=1,distance=..1,sort=nearest] run function zzzzdonotuse:modifyarmor/modules/kineticknockbackeffect3



#execute as @s run execute store result entity @s Motion[0] double -0.00002 run scoreboard players get @e[type=armor_stand,limit=1,sort=nearest,tag=KnockbackMod] PosXTemp
#execute as @s run execute store result entity @s Motion[1] double -0.015 run scoreboard players get @e[type=armor_stand,limit=1,sort=nearest,tag=KnockbackMod] PosYTemp
#execute as @s run execute store result entity @s Motion[2] double -0.00002 run scoreboard players get @e[type=armor_stand,limit=1,sort=nearest,tag=KnockbackMod] PosZTemp

tag @s remove MobbyBack
