@ali00035 not really, just a place where i can store some custom settings that isnt a module, like the vanilla settings, but i guess i'll just use modules
Y
Yeahuhhuh
@Yeahuhhuh
Posts
-
Create Custom GUI -
Create Custom GUI@plumer-man is there any way to create a custom GUI?
-
Create Custom GUIHello, i would like to create a Custom GUI accessable via the escape menu with a button in a corner. Is that possible? If yes, how?
-
Hello. Script not work@ali00035 yeah, i was bored
-
Hello. Script not work@its-domme fix your fucking formatting. What IDE are you using? Notepad? get VS code it does the formatting for you
function getBaseMoveSpeed() { var BaseSpeed = 0.2873; baseSpeed *= 1.0 + 0.2 * (0.20000000298023224 + 1); return baseSpeed; } var stage; var moveSpeed; var lastDist; var name1 = "KirkaLongJump" var category1 = "Movement" // Movement, Misc, Combat, Fun, Player, Exploit, World, Render var author1 = "ItsDoome1" var script = registerScript({ name: name1, version: "1.0.0", authors: [author1] }); script.registerModule({ name: name1, category: category1, description: author1 settings: { Boost: Setting.integer({ name: "Boost", default: 24, min: 4, max: 25 }) } }, function (module) { module.on("enable", function() { stage = 0; }); module.on("move", function() { if (mc.thePlayer.moveForward != 0 || mc.thePlayer.moveStrafing != 0) { if (stage == 0) { moveSpeed = 1 + getBaseMoveSpeed() - 0.05; } else { mc.thePlayer.motionY = 0.42; moveSpeed *= 2.13; if (stage == 2) { var d = 0.66 * (lastDist - getBaseMoveSpeed()); moveSpeed = lastDist - d; } else { moveSpeed = lastDist - lastDist / 159; } } moveSpeed = Math.max(getBaseMoveSpeed(), moveSpeed) mc.setMoveSpeed = moveSpeed if (!mc.thePlayer.isCollidedVertically) { mc.thePlayer.setY(mc.thePlayer.motionY = -1.0-4) stage++; } else if (stage > 0) { moduleManager.getModule('KirkaLongJump').setState(false); } } }); module.on("update", function() { if (mc.thePlayer.moveForward != 0.0 || mc.thePlayer.moveStrafing != 0.0) { var d1 = mc.thePlayer.x - mc.thePlayer.prevPosX; var d2 = mc.thePlayer.z - mc.thePlayer.prevPosZ; lastDist = Math.sqrt(d1 * d1 + d2 * d2); } else { moduleManager.getModule('KirkaLongJump').setState(false); } }); });
there, fixed it for you, if it doesnt work anyway, i dont care
the last few things are probably formatted wrong by me