YA228

Untitled

Dec 15th, 2020
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function BHOP()
  2. local me = LocalPlayer()
  3. if input.IsKeyDown(KEY_SPACE) and me:IsOnGround() then
  4. me:ConCommand("+jump")
  5. end
  6. if input.IsKeyDown(KEY_SPACE) and not me:IsOnGround() then
  7. me:ConCommand("-jump")
  8. end
  9. end
  10.  
  11. hook.Add("Think","bhopgay",BHOP)
Advertisement
Add Comment
Please, Sign In to add comment