Skip to content
  • Minemora glide

    Scripts
    1
    0 Votes
    1 Posts
    407 Views
    No one has replied
  • [REQUEST] vanilla damage fly script

    Requests
    10
    0 Votes
    10 Posts
    869 Views
    SugarAFKS

    @somehax ```
    /// api_version=2
    var safewalkModule = moduleManager.getModule("Safewalk");
    var timerModule = moduleManager.getModule("Timer");
    var script = registerScript({
    name: "FlyNew",
    version: "1.0.0",
    authors: ["GLOBALBOSS&JustNanix&Caxap"]
    });

    script.registerModule({
    name: "FlyNew",
    category: "Fun",
    description: "Moded GLOBALBOSS",
    settings: {
    damagePos: Setting.float({
    name: "DamagePosition",
    min: 0,
    max: 400,
    default: 200
    }),
    flySpeed: Setting.float({
    name: "FlySpeed",
    min: 0.20,
    max: 0.30,
    default: 0.22
    }),
    glide: Setting.float({
    name: "Glide",
    min: 0.00,
    max: 0.05,
    default: 0.010
    })
    }
    }, function(module) {
    var delay = 0;
    var enable = true;
    var flyspeed = module.settings.flySpeed.get();
    module.on("update", function() {
    if (mc.thePlayer.onGround) {
    safewalkModule.setState(true)
    }
    if (!mc.thePlayer.onGround) {
    if (enable) {
    timerModule.setState(true)
    mc.thePlayer.setPosition(mc.thePlayer.posX, module.settings.damagePos.get() - module.settings.damagePos.get() * 2, mc.thePlayer.posZ);
    enable = false;
    }
    if (mc.thePlayer.getHealth() <= 19) {
    mc.thePlayer.onGround = false;
    mc.thePlayer.capabilities.setFlySpeed(module.settings.flySpeed.get() / 2);
    mc.thePlayer.motionY = module.settings.glide.get() - module.settings.glide.get() * 2;
    mc.thePlayer.capabilities.isFlying = true;
    } else {
    mc.thePlayer.setPosition(mc.thePlayer.posX, module.settings.damagePos.get() - module.settings.damagePos.get() * 2, mc.thePlayer.posZ);
    }
    }
    });
    module.on("enable", function() {
    enable = true;
    });
    module.on("disable", function() {
    mc.thePlayer.capabilities.isFlying = false;
    safewalkModule.setState(false)
    timerModule.setState(false)
    });
    });

    function onLoad() {}
  • I need help on a fly script

    Unsolved ScriptAPI
    6
    0 Votes
    6 Posts
    501 Views
    DreamWasFuckedD

    //api_version=2
    (script = registerScript({
    name: "VerusVanillaFly",
    authors: ["SomeHax"],
    version: "1.0"
    })).import("Core.lib");

    module = {
    category: "Fun",
    values: [
    boostMode = value.createList("BoostMode", ["None", "Static", "Gradual"], "Gradual"),
    boostTicksValue = value.createInteger("BoostTicks", 20, 1, 10000),
    boostMotion = value.createFloat("BoostMotion", 9, 1, 9.87)
    ],
    onEnable: function() {
    boostTicks = 0;
    if (boostMode.get() != "None" && mc.theWorld.getCollidingBoundingBoxes(mc.thePlayer, mc.thePlayer.getEntityBoundingBox().offset(0, 3.0001, 0).expand(0, 0, 0)).isEmpty()) {
    mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY + 3.0001, mc.thePlayer.posZ, false));
    mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, false));
    mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, true));
    }
    mc.thePlayer.setPosition(mc.thePlayer.posX, mc.thePlayer.posY + 0.42, mc.thePlayer.posZ);
    },
    onDisable: function() {
    if (boostTicks > 0) {
    mc.thePlayer.motionX = 0;
    mc.thePlayer.motionY = 0;
    mc.thePlayer.motionZ = 0;
    }
    },
    onUpdate: function() {
    mc.thePlayer.motionX = 0;
    mc.thePlayer.motionY = 0;
    mc.thePlayer.motionZ = 0;

    if (!boostTicks && mc.thePlayer.hurtTime > 0) {
    boostTicks = boostMode.get() != "None" ? boostTicksValue.get() : 0;
    }

    var motion;
    if (boostTicks > 0) {
    switch (boostMode.get()) {
    case "Static":
    motion = boostMotion.get();
    break;
    case "Gradual":
    motion = boostTicks / boostTicksValue.get() * boostMotion.get();
    break;
    }
    boostTicks--;
    } else {
    motion = 0.25;
    }

    MovementUtils.strafe(motion);
    },
    onPacket: function(event) {
    var packet = event.getPacket();
    if (packet instanceof C03PacketPlayer) {
    packet.onGround = true;
    }
    },
    onJump: function() {
    mc.thePlayer.motionX = 0;
    mc.thePlayer.motionY = 1;
    mc.thePlayer.motionZ = 0;
    }

    }

  • Is there a vanilla fly script

    Suggestions
    3
    0 Votes
    3 Posts
    436 Views
    S

    @skiddermaster412 thank you

  • 1 Votes
    16 Posts
    3k Views
    liquidslowlyL

    :axooof: