Bunny hop
Hold space to keep jumping.
local IN_JUMP = 2
local VK_SPACE = 0x20
callbacks.register("on_create_move", function(cmd)
local me = engine.local_player()
if not me or not input.is_key_down(VK_SPACE) then return end
if not me:on_ground() then
cmd.buttons = cmd.buttons & ~IN_JUMP
end
end)