JS-скрипт Legit aa on use [ E ] for v4

Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,437
Поинты[?]
1K
JavaScript:
//If you are using this code, please make sure to credit me :)
//Made By: BlorpGneezer#8932
//Set up to legit aa, and normal aa
function aa_type (A,B,C){
    if(Tar == 1){UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"],A) }
    UI.SetValue(["Config","Cheat","General","Restrictions"],0);
    UI.SetValue(["Rage","Anti Aim","General","Pitch mode"],B);
    UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"],C);
}
//variables
const time = Globals.Realtime();
var E = true;
var Defuse = false;
var x = 1;
var key = 0;
const Yaw = UI.GetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"]);
const Tar = UI.GetValue(["Rage", "Anti Aim", "Directions", "At targets"]);

function on_E(){
    var buttons = UserCMD.GetButtons();
 
    if(buttons == 4194336){
        if (Input.IsKeyPressed(x) == true){
            key = x;
            //Cheat.Print(key+"\n");
        }
        if(x >=100){
            x = 0;
        }
        x = x +1;
    }
    if (Input.IsKeyPressed(key) == true ){
        aa_type(0,0,180);
        E = false;
        if(Globals.Realtime() >= time + 0.2){
            if(E == false){
                Cheat.ExecuteCommand("+use");
                E = true;
            }
            if(E == true){
                Cheat.ExecuteCommand("-use");
            }
        }
    }else{
        if(E == true){
            Cheat.ExecuteCommand("-use");
            E = false;
          
        }
        aa_type(1,1,Yaw);
        time = Globals.Realtime();
    }
}
function Bomb (){
    var buttons = UserCMD.GetButtons();
    var C4 = Entity.GetEntitiesByClassID(128)[0];
    var Host = Entity.GetEntitiesByClassID(97)[0];
 
    if (C4 != undefined){
        var C4Loc = Entity.GetRenderOrigin(C4);
        var local = Entity.GetLocalPlayer();
        var lLoc = Entity.GetRenderOrigin(local)
        var distance = calcDist(C4Loc, lLoc);
        //Cheat.Print(distance +"\n");
        if(distance >= 100){
            on_E()
        }
    }else if(Host != undefined){
        var HLoc = Entity.GetRenderOrigin(Host);
        var local = Entity.GetLocalPlayer();
        var lLoc = Entity.GetRenderOrigin(local)
        var distance1 = calcDist(HLoc, lLoc);
        //Cheat.Print(distance +"\n");
        if(distance1 >= 100){
            on_E()
        }
    }else{
        on_E()
    }
}
//Thanks to : @Mased   https://www.onetap.com/threads/c4timer-dmg.33139/
function calcDist(local, target) {
    var lx = local[0];
    var ly = local[1];
    var lz = local[2];
    var tx = target[0];
    var ty = target[1];
    var tz = target[2];
    var dx = lx - tx;
    var dy = ly - ty;
    var dz = lz - tz;

    return Math.sqrt(dx * dx + dy * dy + dz * dz);
}

//Made By: BlorpGneezer#8932
//Onetap: https://www.onetap.com/members/mredoz.60729/

Cheat.RegisterCallback("CreateMove","Bomb");
Взято с форума вт, выложил на юг чтобы крякеры вообще могли понять как это работает
 
Гений
Забаненный
Статус
Оффлайн
Регистрация
3 Дек 2020
Сообщения
81
Реакции[?]
9
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
JavaScript:
//If you are using this code, please make sure to credit me :)
//Made By: BlorpGneezer#8932
//Set up to legit aa, and normal aa
function aa_type (A,B,C){
    if(Tar == 1){UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"],A) }
    UI.SetValue(["Config","Cheat","General","Restrictions"],0);
    UI.SetValue(["Rage","Anti Aim","General","Pitch mode"],B);
    UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"],C);
}
//variables
const time = Globals.Realtime();
var E = true;
var Defuse = false;
var x = 1;
var key = 0;
const Yaw = UI.GetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"]);
const Tar = UI.GetValue(["Rage", "Anti Aim", "Directions", "At targets"]);

function on_E(){
    var buttons = UserCMD.GetButtons();

    if(buttons == 4194336){
        if (Input.IsKeyPressed(x) == true){
            key = x;
            //Cheat.Print(key+"\n");
        }
        if(x >=100){
            x = 0;
        }
        x = x +1;
    }
    if (Input.IsKeyPressed(key) == true ){
        aa_type(0,0,180);
        E = false;
        if(Globals.Realtime() >= time + 0.2){
            if(E == false){
                Cheat.ExecuteCommand("+use");
                E = true;
            }
            if(E == true){
                Cheat.ExecuteCommand("-use");
            }
        }
    }else{
        if(E == true){
            Cheat.ExecuteCommand("-use");
            E = false;
         
        }
        aa_type(1,1,Yaw);
        time = Globals.Realtime();
    }
}
function Bomb (){
    var buttons = UserCMD.GetButtons();
    var C4 = Entity.GetEntitiesByClassID(128)[0];
    var Host = Entity.GetEntitiesByClassID(97)[0];

    if (C4 != undefined){
        var C4Loc = Entity.GetRenderOrigin(C4);
        var local = Entity.GetLocalPlayer();
        var lLoc = Entity.GetRenderOrigin(local)
        var distance = calcDist(C4Loc, lLoc);
        //Cheat.Print(distance +"\n");
        if(distance >= 100){
            on_E()
        }
    }else if(Host != undefined){
        var HLoc = Entity.GetRenderOrigin(Host);
        var local = Entity.GetLocalPlayer();
        var lLoc = Entity.GetRenderOrigin(local)
        var distance1 = calcDist(HLoc, lLoc);
        //Cheat.Print(distance +"\n");
        if(distance1 >= 100){
            on_E()
        }
    }else{
        on_E()
    }
}
//Thanks to : @Mased   https://www.onetap.com/threads/c4timer-dmg.33139/
function calcDist(local, target) {
    var lx = local[0];
    var ly = local[1];
    var lz = local[2];
    var tx = target[0];
    var ty = target[1];
    var tz = target[2];
    var dx = lx - tx;
    var dy = ly - ty;
    var dz = lz - tz;

    return Math.sqrt(dx * dx + dy * dy + dz * dz);
}

//Made By: BlorpGneezer#8932
//Onetap: https://www.onetap.com/members/mredoz.60729/

Cheat.RegisterCallback("CreateMove","Bomb");
Взято с форума вт, выложил на юг чтобы крякеры вообще могли понять как это работает
надо на в3!!!! бисря!!! крякэри!!! работаем!!!!
 
Пользователь
Статус
Оффлайн
Регистрация
22 Дек 2018
Сообщения
610
Реакции[?]
130
Поинты[?]
7K
JavaScript:
UI.AddHotkey('Legit aa');

function Legit()
{
    localplayer_index = Entity.GetLocalPlayer( );


        if (UI.IsHotkeyActive('Script items', 'Legit aa'))
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "Legit");
}
Main();
JavaScript:
UI.AddHotkey('Legit aa');

function Legit()
{
    localplayer_index = Entity.GetLocalPlayer( );


        if (UI.IsHotkeyActive('Script items', 'Legit aa'))
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "Legit");
}
Main();
V3 Самопис ( 10 сек делал )
 
Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,437
Поинты[?]
1K
JavaScript:
UI.AddHotkey('Legit aa');

function Legit()
{
    localplayer_index = Entity.GetLocalPlayer( );


        if (UI.IsHotkeyActive('Script items', 'Legit aa'))
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "Legit");
}
Main();
V3 Самопис ( 10 сек делал )
а гетлокал плеер тут нахуя? да и на Е тут не будет работать )
 
pidjan
Пользователь
Статус
Оффлайн
Регистрация
10 Ноя 2020
Сообщения
523
Реакции[?]
148
Поинты[?]
1K
JavaScript:
UI.AddHotkey('Legit aa');

function Legit()
{
    localplayer_index = Entity.GetLocalPlayer( );


        if (UI.IsHotkeyActive('Script items', 'Legit aa'))
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "Legit");
}
Main();
V3 Самопис ( 10 сек делал )
Пофикшу твою js для otc v3. Может, кому-нибудь понадобится.
JavaScript:
function desync_on_use()
{

        if (Input.IsKeyPressed(0x45))
        {
            Cheat.ExecuteCommand("unbind e");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            Cheat.ExecuteCommand("bind e +use");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "desync_on_use");
}
Main();
 
Пользователь
Статус
Оффлайн
Регистрация
22 Дек 2018
Сообщения
610
Реакции[?]
130
Поинты[?]
7K
Пофикшу твою js для otc v3. Может, кому-нибудь понадобится.
JavaScript:
function desync_on_use()
{

        if (Input.IsKeyPressed(0x45))
        {
            Cheat.ExecuteCommand("unbind e");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            Cheat.ExecuteCommand("bind e +use");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "desync_on_use");
}
Main();
Да, спасибо.
 
Начинающий
Статус
Оффлайн
Регистрация
6 Июн 2020
Сообщения
18
Реакции[?]
1
Поинты[?]
0
Бомбу нельзя будет раздефузить вместе с этим скриптом вроде, не?
 
Начинающий
Статус
Оффлайн
Регистрация
23 Авг 2017
Сообщения
80
Реакции[?]
27
Поинты[?]
0
Пофикшу твою js для otc v3. Может, кому-нибудь понадобится.
JavaScript:
function desync_on_use()
{

        if (Input.IsKeyPressed(0x45))
        {
            Cheat.ExecuteCommand("unbind e");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 180);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 0);
        }
        else
        {
            Cheat.ExecuteCommand("bind e +use");
            UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', 0);
            UI.SetValue('Anti-Aim', 'Extra', 'Pitch', 1);
        }
}

function Main()
{
    Cheat.RegisterCallback("CreateMove", "desync_on_use");
}
Main();
и что это? при нажатие на Е она тупо анбиндится, ТАК И СМЫСЛ ОТ ТВОЕГО СКРИПТА ЕСЛИ ИЗ-ЗА НЕГО НЕ БУДЕТ ДВЕРЬ ОТКРЫВАТЬСЯ ИЛИ БОМБА ДЕФУЗИТЬСЯ, тоже самое будет если тупо самому ее отбиндить. Суть того скрипта на в4, то что если есть рядом бомба то в консоль пишется команда "+use" - дефуз / открытие дверей и тд, а если рядом нет бомбы то пишется команда "-use" из-за чего кнопка Е перестает работать так как в консоль уже идет команда на ее отжатие
 
Последнее редактирование:
Пользователь
Статус
Оффлайн
Регистрация
15 Фев 2017
Сообщения
516
Реакции[?]
40
Поинты[?]
0
я не эксперт, но помоему любые аа on use дизейблятся. и ты не сможешь сделать "легит" аа.
 
Начинающий
Статус
Оффлайн
Регистрация
23 Авг 2017
Сообщения
80
Реакции[?]
27
Поинты[?]
0
я не эксперт, но помоему любые аа on use дизейблятся. и ты не сможешь сделать "легит" аа.
так прикол в том, что у тебя и не будет "use" по нажатие на Е если рядом нет бомбы, так в коде взятого с форума, а коды в комментариях - не будут работать так
 
Сверху Снизу