How to set entity motion from scoreboard value?

i tried this but its not working: execute store result entity @s Motion[0] int 1000 run scoreboard players get @s MotionX

(it is called as a bat not player and MotionX is not 0)

Continue to help post