Skip to content

ScriptAPI

A place to ask for help on writing scripts

312 Topics 2.3k Posts
  • How to use LiquidBounce's rotations utils in a script?

    3
    0 Votes
    3 Posts
    751 Views
    yorik100Y
    @CzechHek said in How to use LiquidBounce's rotations utils in a script?: I don't know what isn't clear to you. Here is an example: if (e.getEventState() == "PRE") { entity = getNearestTarget(EntityZombie); diffX = entity.posX - mc.thePlayer.posX; diffY = entity.posY - mc.thePlayer.posY; diffZ = entity.posZ - mc.thePlayer.posZ; rotation = new Rotation((Math.atan2(diffZ, diffX) * 180 / Math.PI) - 90, -(Math.atan2(diffY, Math.sqrt(diffX * diffX + diffZ * diffZ)) * 180 / Math.PI)); limitedRotation = RotationUtils.limitAngleChange(RotationUtils.serverRotation, rotation, 20); RotationUtils.setTargetRotation(limitedRotation); //limitedRotation.toPlayer(mc.thePlayer); } If I understood properly, it should rotate at the closest zombie with a rotation speed of 20 max
  • Help for script start

    2
    0 Votes
    2 Posts
    246 Views
    As丶OneA
    https://liquidbounce.net/docs/ScriptAPI/Getting Started
  • v2 api script scripts not identified in liquidbounce.

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    robertitohackR
    @CzechHek Thanks, it's solved.
  • ClassProvider in scripts

    8
    0 Votes
    8 Posts
    926 Views
    bestnubB
    @infAura so you can join 1.16 server? and with ViaFabric you also can join older version like in Sigma
  • This topic is deleted!

    5
    0 Votes
    5 Posts
    45 Views
  • How to add a code to my killaura.class

    2
    0 Votes
    2 Posts
    337 Views
    No one has replied
  • how to code a scaffold with packet rotations?

    5
    0 Votes
    5 Posts
    607 Views
    dd1dpla1D
    @ruado_Vn thanks
  • [SUPPORT] Will this script work?

    9
    0 Votes
    9 Posts
    836 Views
    C
    @VisionFX Yeah that's it. Most public ac can't detect it. The one that could do is horizon. Probably because hitting people whose has hurttime will make motionXZ *= 0.6.
  • Simulate a click

    6
    0 Votes
    6 Posts
    669 Views
    CzechHekC
    @yorik100 https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html im not a robot
  • How to code a blockEsp script?

    5
    0 Votes
    5 Posts
    602 Views
    Azure1A
    it's the waypoints module if im not wrong, you set a location and there will be some kind of tracker to it
  • Delay packets but when disabling send every packets that were delayed

    1
    0 Votes
    1 Posts
    319 Views
    No one has replied
  • Delay packets sent from server to client (S packets)

    8
    1 Votes
    8 Posts
    1k Views
    yorik100Y
    @CzechHek [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException [22:00:14] [setTimeout/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraft.network.ThreadQuickExitException
  • Where is the mistake?

    9
    0 Votes
    9 Posts
    925 Views
    CzechHekC
    @ButterChicken That's what you were supposed to do. @CzechHek said in Where is the mistake?: @ButterChicken Title messages are often in siblings or smth, print the component and find where the "Victory!" is. Here is the documentation: https://scriptapi.liquidbounce.net/net/minecraft/util/ChatComponentText.html
  • How to determine whether the script is enabled?

    Solved
    9
    0 Votes
    9 Posts
    862 Views
    ButterChickenB
    @CzechHek thanks
  • antivanish ))))

    2
    0 Votes
    2 Posts
    388 Views
    CzechHekC
    The best chances for you is to check S38.
  • I need Matrix AntiBot

    16
    0 Votes
    16 Posts
    2k Views
    Alien GurkeA
    @CzechHek sometimes a bot is shown and you could hit them but most bots will be disabled.
  • This topic is deleted!

    4
    0 Votes
    4 Posts
    39 Views
  • This topic is deleted!

    5
    0 Votes
    5 Posts
    38 Views
  • weird outofbounds exception

    4
    0 Votes
    4 Posts
    695 Views
    TemmT
    If the Array has a Size of 107, its last valid index is 106 as arrays start at Index 0.
  • I need Hypixel's Criticals.

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    notautismatallN
    @T-S I use delay -1 and doesn't get ban may tuoi gi em