local bunny_hop = false
local old_bunny_hop = false
+
+
--attempt to tell the server to allow us to run
local send_server_movement_state = function(state)
player_movement_state:send_all(state)
run_discharge_timer = 0
end
--initialize double tap run
- if old_up == false and input.up == true then
+ if old_up == false and input.up == true and vel.x ~= 0 and vel.z ~= 0 then
run_discharge_timer = 0
running = true
state = 1