Crouching And Bhopping

Is there a way to fix the crouching bug in Garry’s Mod when you bhop?

  1. Run this script on your client and bind a key to +bhop
    [lua]
    concommand.Add("+bhop",function()
    hook.Add(“Think”,“hook”,function()
    RunConsoleCommand((LocalPlayer():IsOnGround() and “+” or “-”)…“jump”)
    end)
    end)

concommand.Add("-bhop",function()
RunConsoleCommand("-jump")
hook.Remove(“Think”,“hook”)
end)
[/lua]

  1. Hold you’re key so you’re jumping up and down and then crouch, you should keep bhopping.

  2. Now, when you stand up, you should get a huge delay for your jump, and if you keep holding down you’re bhop key, you won’t jump.

Does anyone know how to fix this so that you would be able to keep jumping through the crouch animation and after you’ve uncrouched?