SHARE
TWEET

Untitled

a guest Apr 24th, 2019 250 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local superjump = false
  3.  
  4. function onTick()
  5.     for _, q in pairs(BGO.getIntersecting(player.x, player.y, player.x + player.width, player.y + player.height)) do
  6.         if q.id == 170 then
  7.             if not q.isHidden and not superjump then
  8.                 superjump = true
  9.             end
  10.         end
  11.     end
  12.    
  13.     if superjump then
  14.         Defines.jumpheight = 30
  15.         Defines.jumpheight_bounce = 30
  16.         superjump = false
  17.     else
  18.         Defines.jumpheight = 20
  19.         Defines.jumpheight_bounce = 20
  20.     end
  21.     if player.UpwardJumpingForce > 20 then
  22.         player.UpwardJumpingForce = 30
  23.     end
  24.     --Text.print(player.UpwardJumpingForce,0,0)
  25. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top