1. Add a scoreboard "/scoreboard objectives add test dummy"
2.Set the player's test score to 1 "/scoreboard players set @a test 1"
3.Summon a zombie
4.Type "/execute store result entity @e[type=zombie,limit=1] Motion[1] int 1 run scoreboard players get @p test" to make it fly
But the test scoreboard's value cannot apply to zombie's Motion
Motion values are not integers.