Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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. Kotlin/Java
  3. [JAVA] Someone convert this script

[JAVA] Someone convert this script

Scheduled Pinned Locked Moved Kotlin/Java
11 Posts 7 Posters 2.9k 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.
  • G Offline
    G Offline
    Gabriel
    wrote on last edited by Gabriel
    #1

    I want this script in my custom lb, ofc i will give credits.
    I want it to be built in, can anybody help me?
    IDK how to code.
    I ain't forcing anybody to do it, just sayin.
    EDIT: I forgot to put the link
    here it is: https://forums.ccbluex.net/topic/1071/script-disabler

    DreamWasFuckedD skiddermaster412S 2 Replies Last reply
    0
    • G Gabriel

      I want this script in my custom lb, ofc i will give credits.
      I want it to be built in, can anybody help me?
      IDK how to code.
      I ain't forcing anybody to do it, just sayin.
      EDIT: I forgot to put the link
      here it is: https://forums.ccbluex.net/topic/1071/script-disabler

      DreamWasFuckedD Offline
      DreamWasFuckedD Offline
      DreamWasFucked
      wrote on last edited by
      #2

      @gabriel what script

      G 1 Reply Last reply
      1
      • DreamWasFuckedD DreamWasFucked

        @gabriel what script

        G Offline
        G Offline
        Gabriel
        wrote on last edited by
        #3

        @عميل-سيجما-الله https://forums.ccbluex.net/topic/1071/script-disabler

        DreamWasFuckedD 1 Reply Last reply
        0
        • G Gabriel

          @عميل-سيجما-الله https://forums.ccbluex.net/topic/1071/script-disabler

          DreamWasFuckedD Offline
          DreamWasFuckedD Offline
          DreamWasFucked
          wrote on last edited by DreamWasFucked
          #4

          @gabriel
          dad.png
          why cant you just copy

          G 2 Replies Last reply
          0
          • DreamWasFuckedD DreamWasFucked

            @gabriel
            dad.png
            why cant you just copy

            G Offline
            G Offline
            Gabriel
            wrote on last edited by
            #5

            @عميل-سيجما-الله Different module system

            OreoeziO 1 Reply Last reply
            0
            • DreamWasFuckedD DreamWasFucked

              @gabriel
              dad.png
              why cant you just copy

              G Offline
              G Offline
              Gabriel
              wrote on last edited by
              #6

              @عميل-سيجما-الله And they are not modes

              1 Reply Last reply
              0
              • G Gabriel

                I want this script in my custom lb, ofc i will give credits.
                I want it to be built in, can anybody help me?
                IDK how to code.
                I ain't forcing anybody to do it, just sayin.
                EDIT: I forgot to put the link
                here it is: https://forums.ccbluex.net/topic/1071/script-disabler

                skiddermaster412S Offline
                skiddermaster412S Offline
                skiddermaster412
                wrote on last edited by
                #7

                @gabriel learn java

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Aftery
                  wrote on last edited by
                  #8

                  dont care

                  1 Reply Last reply
                  0
                  • G Gabriel

                    @عميل-سيجما-الله Different module system

                    OreoeziO Offline
                    OreoeziO Offline
                    Oreoezi
                    wrote on last edited by
                    #9

                    @gabriel how is he supposed to know the module system inside your client ?????

                    ? 1 Reply Last reply
                    0
                    • OreoeziO Oreoezi

                      @gabriel how is he supposed to know the module system inside your client ?????

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by A Former User
                      #10

                      @oreoezi do you expect him to think that

                      skidders skid, not think smh

                      1 Reply Last reply
                      0
                      • GkingG Offline
                        GkingG Offline
                        Gking
                        wrote on last edited by
                        #11
                        package net.ccbluex.liquidbounce.features.module.modules.misc
                        
                        import net.ccbluex.liquidbounce.event.EventTarget
                        import net.ccbluex.liquidbounce.event.PacketEvent
                        import net.ccbluex.liquidbounce.event.UpdateEvent
                        import net.ccbluex.liquidbounce.event.WorldEvent
                        import net.ccbluex.liquidbounce.features.module.Module
                        import net.ccbluex.liquidbounce.features.module.ModuleCategory
                        import net.ccbluex.liquidbounce.features.module.ModuleInfo
                        import net.ccbluex.liquidbounce.value.ListValue
                        import net.minecraft.network.Packet
                        import net.minecraft.network.play.client.*
                        import net.minecraft.network.play.client.C03PacketPlayer.C06PacketPlayerPosLook
                        import org.apache.commons.lang3.ObjectUtils.mode
                        
                        
                        @ModuleInfo(name = "Disabler", description = "Disable Some Anticheat By Rilshrink ", category = ModuleCategory.MISC)
                        class Disabler : Module() {
                            private val Mode = ListValue("AimMode", arrayOf("Lunar", "Kauri", "OnlyMC", "HazelMC", "Verus Combat"), "Lunar")
                            var KeepAlives = ArrayList<Packet<*>>()
                            var Transactions = ArrayList<Packet<*>>()
                            var currentTrans = 0;
                        
                            fun reset(){
                                currentTrans = 0;
                                KeepAlives.clear();
                                Transactions.clear();
                            }
                            @EventTarget
                            fun onWorld(event: WorldEvent) {
                                reset()
                            }
                            
                            @EventTarget
                            fun onPacket(event: PacketEvent) {
                                val packet = event.packet
                                when (Mode.get()) {
                                    "Kauri" -> if (packet is C0FPacketConfirmTransaction) {
                                        event.cancelEvent()
                                    }
                                    "Verus Combat" -> if (packet is C0FPacketConfirmTransaction) {
                                        if (currentTrans++ > 0) event.cancelEvent()
                                    } else if (packet is C0BPacketEntityAction) {
                                        event.cancelEvent()
                                    }
                                    "Lunar", "OnlyMC" -> {
                                        if (packet is C0FPacketConfirmTransaction) {
                                            Transactions.add(packet)
                                            event.cancelEvent()
                                        }
                                        if (packet is C00PacketKeepAlive) {
                                            //Temporary until I can figure out how to packet.key -= 1337;
                                            KeepAlives.add(packet)
                                            event.cancelEvent()
                                        }
                                        if (packet is C03PacketPlayer) {
                                            mc.thePlayer.sendQueue.addToSendQueue(C0CPacketInput())
                                        }
                                    }
                                    "HazelMC" -> {
                                        if (packet is C0FPacketConfirmTransaction) {
                                            Transactions.add(packet)
                                            event.cancelEvent()
                                        }
                                        if (packet is C00PacketKeepAlive) {
                                            KeepAlives.add(packet)
                                            event.cancelEvent()
                                        }
                                        if (packet is C03PacketPlayer) {
                                            mc.thePlayer.sendQueue.addToSendQueue(C0CPacketInput())
                                        }
                                    }
                                }
                            }
                        
                            @EventTarget
                            fun onUpdate(event: UpdateEvent) {
                                when (Mode.get()) {
                                    "OnlyMC", "Lunar" -> {
                                        if (mc.thePlayer.ticksExisted % 120 == 0 && Transactions.size > currentTrans) {
                                            mc.thePlayer.sendQueue.addToSendQueue(Transactions.get(currentTrans++))
                                        }
                                        if (mc.thePlayer.ticksExisted % 120 == 0) {
                                            var i = 0
                                            while (i < KeepAlives.size) {
                                                val packet = KeepAlives[i]
                                                if (packet != null) {
                                                    mc.thePlayer.sendQueue.addToSendQueue(packet)
                                                }
                                                i++
                                            }
                                            KeepAlives.clear()
                                        }
                                        if (mc.thePlayer.ticksExisted % 25 == 0) {
                                            mc.thePlayer.sendQueue.addToSendQueue(C06PacketPlayerPosLook(mc.thePlayer.posX, mc.thePlayer.posY + 21, mc.thePlayer.posZ, mc.thePlayer.rotationYaw, mc.thePlayer.rotationPitch, true))
                                        }
                                        if (mc.thePlayer.ticksExisted % 300 == 0) {
                                            reset()
                                        }
                                    }
                                    "HazelMC" -> {
                                        mc.thePlayer.sendQueue.addToSendQueue(C00PacketKeepAlive(0))
                                        if (Transactions.size > currentTrans) {
                                            mc.thePlayer.sendQueue.addToSendQueue(Transactions.get(currentTrans++))
                                        }
                                        if (mc.thePlayer.ticksExisted % 100 == 0) {
                                            var i = 0
                                            while (i < KeepAlives.size) {
                                                val packet = KeepAlives[i]
                                                if (packet != null) {
                                                    mc.thePlayer.sendQueue.addToSendQueue(packet)
                                                }
                                                i++
                                            }
                                            KeepAlives.clear()
                                        }
                                    }
                                }
                            }
                        
                            override fun onEnable() {
                        
                            }
                        
                            override fun onDisable() {
                                reset();
                            }
                        }
                        

                        try this

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        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