• 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

Verus Damage Fly Reupload (Made by Arcane)

Scheduled Pinned Locked Moved Scripts
4 Posts 3 Posters 1.2k Views
    • 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.
  • END3R1355E Offline
    END3R1355E Offline
    END3R1355 Banned
    wrote on last edited by END3R1355
    #1

    VerusDmgFly.js

    ///api_version=2
    (script = registerScript({
        name: "VerusSelfHarmFly",
        authors: ["Arcane"],
        version: "2.2"
    })).import("Core.lib");
    
    var boostTicks = 0;
    
    module = {
        category: "Movement",
        values: [
            boostMode = value.createList("BoostMode", ["None", "Static", "Gradual"], "Gradual"),
            boostTicksValue = value.createInteger("BoostTicks", 20, 1, 30),
            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.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(event) {
            event.cancelEvent();
        }
    }
    
    CzechHekC 1 Reply Last reply
    0
  • CzechHekC Offline
    CzechHekC Offline
    CzechHek
    replied to END3R1355 on last edited by
    #2

    @end3r1355

        onEnable: function() {
            boostTicks = 0;
    
        onUpdate: function() {
            if (!boostTicks && mc.thePlayer.hurtTime > 0) {
                boostTicks = boostMode.get() != "None" ? boostTicksValue.get() : 0;
            }
    
            if (boostTicks > 0) {
                switch (boostMode.get()) {
                    case "Static":
                        motion = boostMotion.get();
                        break;
                    case "Gradual":
                        motion = boostTicks / boostTicksValue.get() * boostMotion.get();
                        break;
                }
                boostTicks--;
    

    The frick, what is this boostTicks implementation?

    END3R1355E 1 Reply Last reply
    1
  • END3R1355E Offline
    END3R1355E Offline
    END3R1355 Banned
    replied to CzechHek on last edited by END3R1355
    #3

    @czechhek i didnt make the script also its prob some damage boost thing

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #4

    Note: You need Core.lib

    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

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups