• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

JS-скрипт Weave / Кейбинды из LoveSync

Памагите
Пользователь
Пользователь
Статус
Оффлайн
Регистрация
15 Апр 2021
Сообщения
334
Реакции
55
Вя четыре
Screenshot_2.png


JavaScript:
Expand Collapse Copy
var size = render.get_screen_size();

ui.add_checkbox("KeyBinds", "keybinds", 0);
ui.add_slider("KeyBins Location X", "location_keybind_x", 0, size[0]);
ui.add_slider("KeyBins Location Y", "location_keybind_y", 0, size[1]);
vars.set_int("js.location_keybind_x", 479);
vars.set_int("js.location_keybind_y", 850);


register_callback('render', function() {
    if (vars.get_bool("js.keybinds")) {

        var keybinds_list = [
            ["thirdperson","Thirdperson"],
            ["force_safepoints","Force Safepoints"],
            ["body_aim","Force Body"],
            ["override_damage","Override Damage"],
            ["ensure_lean","Ensure Lean"],
            ["inverter","Inverter"],
            ["fake_duck","Fake Duck"],
            ["slow_walk","Slow Walk"],
            ["doubletap","Double Tap"],
            ["hide_shots","Hide Shots"],
            ["peek_assist","Peek Assist"],
        ]
        var binds = [];
        var x = vars.get_int("js.location_keybind_x");
        var y = vars.get_int("js.location_keybind_y");

        for (var n in keybinds_list) {
        if (vars.is_bind_active(keybinds_list[n][0])) binds.push(n);

    }
}

    render.filled_rect([x - 10, y - 20], [155, 23], [17, 17, 17, 100], 2);
    render.picture("C:/w1ndy-yaw/binds.png", [x - 7, y - 23], [30, 30], 255)


    render.text([x + 24, y - 8], [255, 255, 255, 255], 12, 4, "Keybinds");


    for (var i in binds) {

      render.filled_rect([x - 10, y + 7 + 16 * i - 4], [155, 16], [17, 17, 17, 50], 0)
      render.text([x - 6, y + 14 + 15 * i - 4], [255, 255, 255, 255], 12, 0, keybinds_list[binds[i]][1]);
      render.text([x + 121, y + 14 + 15 * i - 4], [255, 255, 255, 255], 12, 0, "[on]");


    }
})
 

Вложения

  • binds.png
    binds.png
    7.5 KB · Просмотры: 80
Последнее редактирование:
Вя четыре


JavaScript:
Expand Collapse Copy
var size = render.get_screen_size();

ui.add_checkbox("KeyBinds", "keybinds", 0);
ui.add_slider("KeyBins Location X", "location_keybind_x", 0, size[0]);
ui.add_slider("KeyBins Location Y", "location_keybind_y", 0, size[1]);
vars.set_int("js.location_keybind_x", 479);
vars.set_int("js.location_keybind_y", 850);


register_callback('render', function() {
    if (vars.get_bool("js.keybinds")) {

        var keybinds_list = [
            ["thirdperson","Thirdperson"],
            ["force_safepoints","Force Safepoints"],
            ["body_aim","Force Body"],
            ["override_damage","Override Damage"],
            ["ensure_lean","Ensure Lean"],
            ["inverter","Inverter"],
            ["fake_duck","Fake Duck"],
            ["slow_walk","Slow Walk"],
            ["doubletap","Double Tap"],
            ["hide_shots","Hide Shots"],
            ["peek_assist","Peek Assist"],
        ]
        var binds = [];
        var x = vars.get_int("js.location_keybind_x");
        var y = vars.get_int("js.location_keybind_y");

        for (var n in keybinds_list) {
        if (vars.is_bind_active(keybinds_list[n][0])) binds.push(n);

    }
}

    render.filled_rect([x - 10, y - 20], [155, 23], [17, 17, 17, 100], 2);
    render.picture("C:/w1ndy-yaw/binds.png", [x - 7, y - 23], [30, 30], 255)


    render.text([x + 24, y - 8], [255, 255, 255, 255], 12, 4, "Keybinds");


    for (var i in binds) {

      render.text([x - 6, y + 14 + 15 * i - 4], [255, 255, 255, 255], 12, 0, keybinds_list[binds[i]][1]);
      render.text([x + 121, y + 14 + 15 * i - 4], [255, 255, 255, 255], 12, 0, "[on]");
      render.filled_rect([x - 10, y + 7 + 16 * i - 4], [155, 16], [17, 17, 17, 50], 0)

    }
})
1653042967785.png
а пнг приложить для слабых?
 
бля вот ток на днях другие сделал чуть получше в свой корд, и тут такие выходят, теперь мои пастой считать будут(
 
Назад
Сверху Снизу