Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local superjump = false
- function onTick()
- for _, q in pairs(BGO.getIntersecting(player.x, player.y, player.x + player.width, player.y + player.height)) do
- if q.id == 170 then
- if not q.isHidden and not superjump then
- superjump = true
- end
- end
- end
- if superjump then
- Defines.jumpheight = 30
- Defines.jumpheight_bounce = 30
- superjump = false
- else
- Defines.jumpheight = 20
- Defines.jumpheight_bounce = 20
- end
- if player.UpwardJumpingForce > 20 then
- player.UpwardJumpingForce = 30
- end
- --Text.print(player.UpwardJumpingForce,0,0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement