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. Redesky LongJump

Redesky LongJump

Scheduled Pinned Locked Moved Scripts
1 Posts 1 Posters 415 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.
  • G Offline
    G Offline
    Gabriel
    wrote on last edited by
    #1

    This is a Redesky LongJump originally made by Arcane using CzechHek's Core.
    Here are the changes that i made and the code:
    1.0: Arcane created the script.
    1.1: Added timer option.
    1.2: Made timer reset to 1 when it disables.
    Code:

    ///api_version=2
    (script = registerScript({
        name: "Redesky LongJump",
        version: "1.2",
        authors: ["Arcane, CH / Gabriel / Coccocoa's Helper"]
    })).import("Core.lib");
    
    var ticks = 0;
    
    module = {
        name: "RedeskyLongJump",
        category: "Movement",
        values: [
            ticksValue = value.createInteger("Ticks", 21, 1, 25),
            timerValue = value.createInteger("Timer", 1.5, 0.1, 3.5),
            xzMultiplier = value.createFloat("XZ-Multiplier", 0.9, 0.1, 1),
            yMultiplier = value.createFloat("Y-Multiplier", 0.77, 0.1, 1),
            glide = value.createBoolean("Glide", true)
        ],
        onEnable: function() {
            ticks = 0;
        },
        onDisable: function() {
            mc.timer.timerSpeed = 1;
        },
        onUpdate: function() {
            if (ticks < ticksValue.get()) {
                mc.timer.timerSpeed = timerValue.get();
                mc.thePlayer.motionY *= yMultiplier.get();
                mc.thePlayer.motionX *= xzMultiplier.get();
                mc.thePlayer.motionZ *= xzMultiplier.get();
    
                mc.thePlayer.jump();
            }
            if (glide.get()) {
                mc.thePlayer.motionY += 0.03;
            }
            ticks++;
        }
    }
    
    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