Skip to content

ScriptAPI

A place to ask for help on writing scripts

305 Topics 2.2k Posts
  • removing another modules?

    5
    0 Votes
    5 Posts
    155 Views
    dntdbtD

    @czechhek
    Thank you, have a nice day =p

  • Creating Inventory Tabs Script: Items not Showing up

    3
    0 Votes
    3 Posts
    276 Views
    B

    @somedudeyouveneverheardof No I already tried that
    but thanks.

  • [HELP]

    4
    0 Votes
    4 Posts
    102 Views
    CzechHekC

    @czechhek said in [HELP]:

    @abdou Which scripts, what LB version, logs + wrong category?

  • How to create a custom AntiBot

    19
    0 Votes
    19 Posts
    411 Views
    ForeheadchanF

    @czechhek yeah that works too, either check not instanceof or not equal to

  • This topic is deleted!

    8
    0 Votes
    8 Posts
    90 Views
  • [CORE] Module

    21
    0 Votes
    21 Posts
    426 Views
    yorik100Y

    @idk-my-name said in [CORE] Module:

    @gabriel Lie. Good AC devs dont look into client source codes

    I'd agree with that mostly but if the bypass is doing very specific stuff and that bypass is open source, it is quite east to fix (like a disabler for example)

  • [HELP] MoveSpeed

    13
    0 Votes
    13 Posts
    408 Views
    O
    function getBaseMoveSpeed() { var baseSpeed = 0.2875 if (mc.thePlayer.isPotionActive(Potion.moveSpeed)) { baseSpeed *= 1.0 + 0.2 * (mc.thePlayer.getActivePotionEffect(Potion.moveSpeed).getAmplifier() + 1) } return baseSpeed }
  • [HELP] How to us Core.lib

    13
    0 Votes
    13 Posts
    650 Views
    CzechHekC

    @zhao-yun No, why should it give you hints? Your expectations are a bit off.

    Start off by looking at code of already existing Core scripts. https://github.com/CzechHek/Core/tree/master/Scripts

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    50 Views
  • Help writing a custom prison mining script

    21
    0 Votes
    21 Posts
    1k Views
    P

    thx for the help

  • Reading packet data?

    3
    0 Votes
    3 Posts
    182 Views
    P

    I've also come across a solution for this.

    Although I'm not quite sure if this is working properly because when breaking a carrot, I detect two packets both with the action of START_DESTROY_BLOCK, and nothing else.

    For now this seems to suffice.

    var packetDig = Java.type("net.minecraft.network.play.client.C07PacketPlayerDigging"); module.on("packet", function(eventData) { var packet = eventData.getPacket(); if (packet instanceof packetDig) { Chat.print("Stat: " + packet.getStatus()); Chat.print("Pos: " + packet.getPosition()); Chat.print("Facing: " + packet.getFacing()); //eventData.cancelEvent(); } });
  • How i can create three+ modules in one js file using Core?

    3
    0 Votes
    3 Posts
    105 Views
    [deleted][

    @CzechHek thank you!

  • get block texture and blur

    2
    0 Votes
    2 Posts
    179 Views
    LitelyL

    image
    //8chars

  • How to use LiquidBounce's rotations utils in a script?

    3
    0 Votes
    3 Posts
    475 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
    108 Views
    As丶OneA

    https://liquidbounce.net/docs/ScriptAPI/Getting Started

  • v2 api script scripts not identified in liquidbounce.

    Solved
    10
    0 Votes
    10 Posts
    477 Views
    robertitohackR

    @CzechHek Thanks, it's solved.

  • ClassProvider in scripts

    8
    0 Votes
    8 Posts
    302 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
    204 Views
    No one has replied
  • how to code a scaffold with packet rotations?

    5
    0 Votes
    5 Posts
    263 Views
    dd1dpla1D

    @ruado_Vn thanks