How can i use hero velocity? Or what's wrong with velocity?

because you said on some lines self.say it is now hero.say @Alexbrand

Nope, they are the same while now. Both equivalent.

    self.say(self.velocity)
    if hero.velocity!={"x":100.00, "y":200.00, "z":300.00}:
        self.say("Whoa!")

-Anya says velocity numbers and “Whoa”.
Changing only [!=] to [<] makes Anya saying just numbers.

okay so you can do self now instead of hero

Obviously yes.
P.S. With all my respect to you - there is no need to expand this thread with junk posts as far as they’re not essential and only ascertain evident things.