Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Scripts
  3. Better AutoJump 1.2(I don't know why I made this js)

Better AutoJump 1.2(I don't know why I made this js)

Scheduled Pinned Locked Moved Scripts
2 Posts 3 Posters 483 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CookieChineseC Offline
    CookieChineseC Offline
    CookieChinese
    wrote on last edited by CookieChinese
    #1
    var scriptName = "BHop";
    var scriptAuthor = "By Cookie";
    var scriptVersion = 1.2;
    
    script.import("lib/glFunctions.js");
    script.import("lib/systemFunctions.js")
    
    function BHopModule() {
       var Message = value.createBoolean("Message", false);
        this.getName = function() {
            return "BunnyHop";
        }
    
        this.getDescription = function() {
            return "yes";
        }
    
        this.getCategory = function() {
            return "Movement";
        }
    
        this.onEnable = function() {
        }
    
    	this.onUpdate = function() {
         if(mc.thePlayer.movementInput.moveForward != 0 || mc.thePlayer.movementInput.moveStrafe != 0) {
            if (mc.thePlayer.onGround && mc.gameSettings.keyBindJump.isKeyDown() == false && !(mc.thePlayer.isInWater() || mc.thePlayer.isInLava() || mc.thePlayer.isOnLadder() || mc.thePlayer.isInWeb)) {
                mc.thePlayer.jump();
    			if(Message.get() == true){
                chat.print("§c[§6AutoJump§c] §4Jumped " + "MotionY:" +(mc.thePlayer.motionY.toFixed(5).toString()));
    			}			
    		}			
    	 }
    	}
    
         this.onMotion = function() {
        }
        this.onDisable = function() {
            mc.timer.timerSpeed = 1;
        }
    		this.addValues = function(values) {
    		values.add(Message);
        }
    }
    
    var bhopModule = new BHopModule();
    var bhopModuleClient;
    
    function onEnable() {
        bhopModuleClient = moduleManager.registerModule(bhopModule);
    }
    
    function onDisable() {
        moduleManager.unregisterModule(bhopModuleClient);
    }
    
    GooseoG 1 Reply Last reply
    1
    • GooseoG Offline
      GooseoG Offline
      Gooseo
      replied to CookieChinese on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      About
      • Terms of Service
      • Privacy Policy
      • Status
      • Contact Us
      Downloads
      • Releases
      • Source code
      • License
      Docs
      • Tutorials
      • CustomHUD
      • AutoSettings
      • ScriptAPI
      Community
      • Forum
      • Guilded
      • YouTube
      • Twitter
      • D.Tube
      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups