JS-скрипт Киньте трейлы на в4.Буду рад)))

Забаненный
Статус
Оффлайн
Регистрация
10 Дек 2020
Сообщения
6
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Киньте трейлы на в4
 
Забаненный
Статус
Оффлайн
Регистрация
10 Дек 2020
Сообщения
6
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
make ru hacks great again
Пользователь
Статус
Оффлайн
Регистрация
2 Фев 2019
Сообщения
315
Реакции[?]
91
Поинты[?]
0
джс с кряка, фиксед под вт
JavaScript:
var trails = [];
    UI.AddCheckbox(["Visuals", "Extra", "Impacts"], "Trail RGB");
    UI.AddSliderInt(["Visuals", "Extra", "Impacts"], "RGB Speed", 1, 100);
    UI.AddColorPicker(["Visuals", "Extra", "Impacts"], "Trail color");
    UI.AddSliderInt(["Visuals", "Extra", "Impacts"], "Trail timer", 1, 500);

function rgb(speed) {
    var timer = Global.Tickcount();
    var result = [0, 0, 0, 255];

    result[0] = Math.floor(Math.sin(timer * speed + 0) * 127 + 128);
    result[1] = Math.floor(Math.sin(timer * speed + 2) * 127 + 128);
    result[2] = Math.floor(Math.sin(timer * speed + 4) * 127 + 128);
    return result;
}

function trail() {
    var localPlayer = Entity.GetLocalPlayer();
    if (Entity.IsValid(localPlayer)){
        var position = Entity.GetHitboxPosition(localPlayer, 6);
        if(Array.isArray(position)){
            trails.push({remove:Global.Tickcount() + UI.GetValue(["Visuals", "Extra", "Impacts", "Trail timer"]), location:position});

            trails.forEach(function(x, y){
                var location = trails[y]["location"];
                var rainbow = rgb(UI.GetValue(["Visuals", "Extra", "Impacts", "RGB Speed"])/500);
                rainbow[3] = 50;
                if (!UI.GetValue(["Visuals", "Extra", "Impacts", "Trail RGB"])) {
                    var color = UI.GetColor(["Visuals", "Extra", "Impacts", "Trail color"]);
                    rainbow = color;
                }
                var position = Render.WorldToScreen([location[0], location[1], location[2]-50.0]);
                Render.FilledRect(position[0], position[1], 15, 15, rainbow);

                var time = Global.Tickcount();
                if (trails[y]["remove"] <= time){
                    trails.splice(y, 1);
                }
            })
        }
    }
}

    Global.RegisterCallback("Draw", "trail");
 
Забаненный
Статус
Оффлайн
Регистрация
10 Дек 2020
Сообщения
6
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
джс с кряка, фиксед под вт
JavaScript:
var trails = [];
    UI.AddCheckbox(["Visuals", "Extra", "Impacts"], "Trail RGB");
    UI.AddSliderInt(["Visuals", "Extra", "Impacts"], "RGB Speed", 1, 100);
    UI.AddColorPicker(["Visuals", "Extra", "Impacts"], "Trail color");
    UI.AddSliderInt(["Visuals", "Extra", "Impacts"], "Trail timer", 1, 500);

function rgb(speed) {
    var timer = Global.Tickcount();
    var result = [0, 0, 0, 255];

    result[0] = Math.floor(Math.sin(timer * speed + 0) * 127 + 128);
    result[1] = Math.floor(Math.sin(timer * speed + 2) * 127 + 128);
    result[2] = Math.floor(Math.sin(timer * speed + 4) * 127 + 128);
    return result;
}

function trail() {
    var localPlayer = Entity.GetLocalPlayer();
    if (Entity.IsValid(localPlayer)){
        var position = Entity.GetHitboxPosition(localPlayer, 6);
        if(Array.isArray(position)){
            trails.push({remove:Global.Tickcount() + UI.GetValue(["Visuals", "Extra", "Impacts", "Trail timer"]), location:position});

            trails.forEach(function(x, y){
                var location = trails[y]["location"];
                var rainbow = rgb(UI.GetValue(["Visuals", "Extra", "Impacts", "RGB Speed"])/500);
                rainbow[3] = 50;
                if (!UI.GetValue(["Visuals", "Extra", "Impacts", "Trail RGB"])) {
                    var color = UI.GetColor(["Visuals", "Extra", "Impacts", "Trail color"]);
                    rainbow = color;
                }
                var position = Render.WorldToScreen([location[0], location[1], location[2]-50.0]);
                Render.FilledRect(position[0], position[1], 15, 15, rainbow);

                var time = Global.Tickcount();
                if (trails[y]["remove"] <= time){
                    trails.splice(y, 1);
                }
            })
        }
    }
}

    Global.RegisterCallback("Draw", "trail");
Пасиба)
 
Сверху Снизу