AsFly 2.0 (Bypass HuayuTing Fly)(By As丶one)


  • Name:Asfly
    Version:2.0
    Dev:As丶One
    information:
    A Bypass Huayuting simple Fly 🙂

    var script = registerScript({
        name: "AsFly",
        version: "2.0",
        authors: ["As丶One"]
    });
    var LiquidBounce = Java.type("net.ccbluex.liquidbounce.LiquidBounce")
    var MovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils")
    var classProvider = LiquidBounce.INSTANCE.getWrapper().getClassProvider();
    var packets = []
    var doAsFly = false
    var stage = 0
    var maxStage = 5
    var jump = false
    var timer = 0
    var motionY = Setting.float({
        name: "MotionY",
        default: 0.5,
        min: 0.42,
        max: 6
    })
    var motionXZ = Setting.float({
        name: "MotionXZ",
        default: 1.0,
        min: 0,
        max: 10
    })
    var Bob = Setting.float({
        name: "Bob",
        default: 0.5,
        min: 0,
        max: 2
    })
    var delay = Setting.integer({
        name: "Delay",
        default: 2,
        min: 0,
        max: 10
    })
    var Timer = Setting.integer({
        name: "Timer",
        default: 1.0,
        min: 0.1,
        max: 2
    })
    var y = 0
    function move() {
    	mc.thePlayer.cameraYaw = Bob.get()
    	mc.timer.timerSpeed = Timer.get()
        if (mc.thePlayer.posY<=y) {
            mc.thePlayer.motionY = motionY.get()
        } else {
            var dir = mc.thePlayer.rotationYaw / 180 * Math.PI
            if (mc.thePlayer.motionY < 0) mc.thePlayer.motionY = -0.05
            mc.thePlayer.motionX = -Math.sin(dir) * motionXZ.get()
            mc.thePlayer.motionZ = Math.cos(dir) * motionXZ.get()
        }
    }
    script.registerModule({
        name: "AsFly",
        description: "AsFly By As丶One",
        category: "Fun",
        settings: {
            motionY: motionY,
            motionXZ: motionXZ,
            delay: delay,
            Timer: Timer,
    	Bob: Bob
        }
    }, function (module) {
        module.on("enable", function () {
            y = mc.thePlayer.posY
            timer = 999
        });
        module.on("disable", function () {
            mc.timer.timerSpeed = 1;
            packets.forEach(function () {
                mc.netHandler.networkManager.sendPacket(packets.shift())
            })
        });
        module.on("update", function () {
            if(!doAsFly)timer++
            if(timer>delay.get()){
                timer = 0
                doAsFly = true
                stage = 0
                move()
            }
            if (stage >= 1) {
                doAsFly = false
                packets.forEach(function () {
                    mc.netHandler.networkManager.sendPacket(packets.shift())
                })
            }
        });
        module.on("packet", function (event) {
            if (!doAsFly) return
            var packet = event.packet
            if (classProvider.isCPacketPlayer(packet)) event.cancelEvent()
            if (classProvider.isCPacketPlayerPosition(packet) || classProvider.isCPacketPlayerPosLook(packet) ||
                classProvider.isCPacketPlayerBlockPlacement(packet) ||
                classProvider.isCPacketAnimation(packet) ||
                classProvider.isCPacketEntityAction(packet) || classProvider.isCPacketUseEntity(packet)) {
                event.cancelEvent()
                packets.push(packet)
                stage++
            }
        });
    });
    

  • This post is deleted!

  • I can't found the script in liquidbounce :axorollingeyes:


  • @TheMossYT which version of LB you using? Latest Dev version isn't going to work with any type of script.


  • @Leejames2305 i use b73


  • @TheMossYT try b72



  • @Leejames2305 still didn't work


  • @CookieChinese what version? b73 or b72



  • Ok but what settings should i use for redesky ?


  • @Casianlealb default


  • @CookieChinese but wait, for me script don't work it not show up


  • @CookieChinese I got an error when trying to load the Script.

    [ScriptAPI] Failed to load script 'AACFly.js'.
    javax.script.ScriptException: TypeError: LiquidBounce.INSTANCE.getWrapper is not a function in <eval> at line number 8
    	at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:470)
    	at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:454)
    	at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
    	at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
    	at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)
    	at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
    	at net.ccbluex.liquidbounce.script.Script.<init>(Script.kt:62)
    	at net.ccbluex.liquidbounce.script.ScriptManager.loadScript(ScriptManager.kt:42)
    	at net.ccbluex.liquidbounce.script.ScriptManager.loadScripts(ScriptManager.kt:27)
    	at net.ccbluex.liquidbounce.LiquidBounce.startClient(LiquidBounce.kt:107)
    	at net.minecraft.client.Minecraft.handler$startGame$zzf000(Minecraft.java:3179)
    	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:496)
    	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329)
    	at net.minecraft.client.main.Main.main(SourceFile:124)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    Caused by: <eval>:8 TypeError: LiquidBounce.INSTANCE.getWrapper is not a function
    	at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
    	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213)
    	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)
    	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)
    	at jdk.nashorn.internal.runtime.Undefined.lookup(Undefined.java:102)
    	at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:106)
    	at jdk.nashorn.internal.runtime.linker.NashornLinker.getGuardedInvocation(NashornLinker.java:98)
    	at jdk.internal.dynalink.support.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(CompositeTypeBasedGuardingDynamicLinker.java:176)
    	at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
    	at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:154)
    	at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:253)
    	at jdk.nashorn.internal.scripts.Script$26$\^eval\_.:program(<eval>:8)
    	at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
    	at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
    	at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
    	at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)
    	... 18 more
    

  • @Leejames2305 remove that line so it work


  • @TheMossYT yeah, I got it working but it didn't bypass


  • What the fuck?


  • @Leejames2305 and it lag too when enable it


  • Please send script. It removed ea224259-e631-412c-8a5d-e4d30c89cd35-image.png


  • @OlegNoy the script make you lag when toggled it and you need to remove some line of code to use that script too