Jump()
{
self endon("disconnect");
level endon("game_ended");
while(isAlive(self))
{
while(self isOnGround())
{
if(self jumpButtonPressed())
{
self setVelocity(self getVelocity() + (0, 0, 999));
wait .05;
}
wait .05;
}
wait .05;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.