Better AutoJump 1.2(I don't know why I made this js)
-
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); }
-
This post is deleted!
1/2