CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

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

    Scripts
    3
    2
    417
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CookieChinese
      CookieChinese last edited by CookieChinese

      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);
      }
      
      Gooseo 1 Reply Last reply Reply Quote 1
      • Gooseo
        Gooseo @CookieChinese last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        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