Skip to content

Support

Stuck? Just ask for help!

1.5k Topics 8.7k Posts

Subcategories


  • A place to ask for general support

    753 Topics
    4k Posts
    AjaxA

    Bumping this, since I'm also looking for it

  • A place to ask for help on writing scripts

    305 Topics
    2k Posts
    A

    ///api_version=2
    const script = registerScript({
    name: "VKKILLAURA",
    authors: [":)"],
    version: "1.0"
    }).import("Core.lib");

    // Indstillinger for KillAura
    const rangeValue = value.createFloat("Range", 4.0, 3.0, 6.0);
    const cpsValue = value.createInteger("CPS", 10, 1, 20);
    const rotationSpeedValue = value.createList("RotationSpeed", ["Slow", "Medium", "Fast"], "Medium");

    // Mål liste
    const targetList = [];
    let isEnabled = false;

    // Opdatering af mållisten
    function updateTargetList(name, action) {
    if (action === "add" && !targetList.includes(name)) {
    targetList.push(name);
    Client.displayChatMessage(§aAdded ${name} to target list.);
    } else if (action === "remove") {
    const index = targetList.indexOf(name);
    if (index > -1) {
    targetList.splice(index, 1);
    Client.displayChatMessage(§cRemoved ${name} from target list.);
    }
    }
    }

    // Registrer kommandoer
    script.registerCommand({
    name: ".vk",
    description: "Manage KillAura target list.",
    hub: true,
    subcommands: [
    {
    name: "add",
    parameters: [{ name: "name", required: true }],
    onExecute(name) {
    updateTargetList(name, "add");
    }
    },
    {
    name: "remove",
    parameters: [{ name: "name", required: true }],
    onExecute(name) {
    updateTargetList(name, "remove");
    }
    },
    {
    name: "list",
    onExecute() {
    if (targetList.length === 0) {
    Client.displayChatMessage("§eTarget list is empty.");
    } else {
    Client.displayChatMessage("§eTargets: " + targetList.join(", "));
    }
    }
    },
    {
    name: "toggle",
    onExecute() {
    isEnabled = !isEnabled;
    Client.displayChatMessage(§eKillAura is now ${isEnabled ? "enabled" : "disabled"}.);
    }
    }
    ]
    });

    // Hent mål inden for rækkevidde
    function getTargetsInRange(range) {
    const targets = [];
    for (const entity of mc.theWorld.loadedEntityList) {
    if (entity !== mc.thePlayer && entity.getDistanceToEntity(mc.thePlayer) <= range) {
    targets.push(entity);
    }
    }
    return targets;
    }

    // Angrebsmål
    function attackTarget(target) {
    if (targetList.includes(target.getName())) {
    mc.thePlayer.swingItem();
    mc.playerController.attackEntity(mc.thePlayer, target);
    }
    }

    // Opdatering af angreb
    script.on("update", () => {
    if (!isEnabled) return;

    const targets = getTargetsInRange(rangeValue.get()); for (const target of targets) { attackTarget(target); sleep(1000 / cpsValue.get()); // CPS }

    });

    // Aktiver modulet
    script.on("enable", () => {
    Client.displayChatMessage("§eVKKILLAURA module enabled.");
    });

    // Deaktiver modulet
    script.on("disable", () => {
    isEnabled = false;
    targetList.length = 0; // Rydder mål listen
    Client.displayChatMessage("§eVKKILLAURA module disabled.");
    });

    This dose not work at all, i made it with chatgpt and i have no coding experience, what i want it to do is to make killaura target the players on the list i can interact with the list with these commands:
    .vka -active/deactivate
    .vk "Name" -adds a player
    .vkf "name" -removes a player
    .vkl -shows the list

    I hope that someone can help me fix the script so that i can target the players i want- Thanks!

  • 338 Topics
    2k Posts
    余浩

    OpenProtocol-master.zip 26b514384995b6836a153ed26611298c.png

  • How do I put a configuration?

    2
    0 Votes
    2 Posts
    131 Views
    some oneS

    @mathiasruizxd put them in settings in Liquidbounce 1.8 and than .localconfig load name

  • Scaffold doesn‘t Work

    29
    0 Votes
    29 Posts
    635 Views
    Alien GurkeA

    @kanadex but Lb doesnt have a Jump Mode

  • All hotkeys

    6
    0 Votes
    6 Posts
    290 Views
    6Sence6

    @czechhek true true

  • How can i bind Panic all

    5
    0 Votes
    5 Posts
    184 Views
    exit scammedE

    @elias
    execute this command .clickgui scale 0.5(or smaller value)

  • No sounds on LiquidBounce B72 on 1.8.9

    7
    0 Votes
    7 Posts
    399 Views
    W

    @czechhek unfortunately, did not help. I tried deleting the Assets folder in .minecraft too.

  • Adding custom fonts wont work...

    12
    0 Votes
    12 Posts
    417 Views
    zAvenzZ

    @liquidbounceuser forgot to say that i already fixed it lol

  • wtf

    4
    0 Votes
    4 Posts
    110 Views
    zAvenzZ

    well uh just had to restart the game ;/

  • help core.lib?

    2
    0 Votes
    2 Posts
    285 Views
    CzechHekC

    You put it into scripts folder.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Changing window size upon launching

    5
    0 Votes
    5 Posts
    183 Views
    helloanaH

    @bestnub what do you mean?

  • I accidently disabled hud how do i activate it back

    3
    0 Votes
    3 Posts
    107 Views
    U

    Thanks for help!

  • LocalSettingsList bug after updating to Core 3.x

    3
    0 Votes
    3 Posts
    179 Views
    CzechHekC

    LocalSettingsList was broken for a long time before Core 3, so I fixed it for Core 3 release but forgot to remove debug messages.

    Fixed now.