Advertisement
spinsquad

proper lua bhop

Mar 22nd, 2015
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. -- since most people dont know how to make a proper one or what ever
  2.  
  3. local hook = hook;
  4. local me = LocalPlayer();
  5.  
  6.  
  7. hook.Add("CreateMove", "", function(ucmd)
  8.     if (ucmd:KeyDown(2) && !me:IsOnGround()) then
  9.         ucmd:RemoveKey(2);
  10.         -- or:
  11.         -- ucmd:SetButtons( bit.band( ucmd:GetButtons(), bit.bnot(2) ) );
  12.     end
  13. end);
  14.  
  15. -- was that this hard?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement