In the above video, I'm using onmoveascript like this:
loncat.c
void main()
{
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int y = getentityproperty(self, "y");
int z = getentityproperty(self, "z");
int Vy = getentityproperty(self,"tossv")...