Advertisement
Pushok

GMod bhop script

Mar 7th, 2011
14,743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. if CLIENT then
  2.     concommand.Add("+bhop",function()
  3.         hook.Add("Think","hook",function()
  4.             RunConsoleCommand(((LocalPlayer():IsOnGround() or LocalPlayer():WaterLevel() > 0) and "+" or "-").."jump")
  5.         end)
  6.     end)
  7.  
  8.     concommand.Add("-bhop",function()
  9.         RunConsoleCommand("-jump")
  10.         hook.Remove("Think","hook")
  11.     end)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement