JS-скрипт Force Head on enemy Jump [OTC3]

Начинающий
Статус
Оффлайн
Регистрация
12 Фев 2020
Сообщения
37
Реакции[?]
9
Поинты[?]
0
So this script forces head when the Enemy is jumping.
That's actually it.
please note that this is my first self-made script so pls don't insult me in the comments.

Код:
UI.AddCheckbox("force head on enemy jump");
UI.AddLabel("Disable to set hitboxes manual");

function NoInstant()
{

    if (!UI.GetValue("Script items", "force head on enemy jump"))
    {
        headboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 0);
        uchestboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 1);
        chestboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 2);
        lchestboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 3);
        stomachboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 4);
        pelvisboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 5);
        legsboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 6);
        feetboxscout =   UI.GetValue("Rage", "SCOUT", "Hitboxes", 7);

        headboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 0);
        uchestboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 1);
        chestboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 2);
        lchestboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 3);
        stomachboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 4);
        pelvisboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 5);
        legsboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 6);
        feetboxauto =    UI.GetValue("Rage", "AUTOSNIPER", "Hitboxes", 7);

        headboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0);
        uchestboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1);
        chestboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2);
        lchestboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3);
        stomachboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4);
        pelvisboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5);
        legsboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6);
        feetboxdeagle =  UI.GetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7);

        headboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 0);
        uchestboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 1);
        chestboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 2);
        lchestboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 3);
        stomachboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 4);
        pelvisboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 5);
        legsboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 6);
        feetboxpistol =  UI.GetValue("Rage", "PISTOL", "Hitboxes", 7);

        headboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 0);
        uchestboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 1);
        chestboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 2);
        lchestboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 3);
        stomachboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 4);
        pelvisboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 5);
        legsboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 6);
        feetboxawp =     UI.GetValue("Rage", "AWP", "Hitboxes", 7);

        headboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 0);
        uchestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 1);
        chestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 2);
        lchestboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 3);
        stomachboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 4);
        pelvisboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 5);
        legsboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 6);
        feetboxgeneral = UI.GetValue("Rage", "GENERAL", "Hitboxes", 7);
    }

    if (!UI.GetValue("Script items", "force head on enemy jump"))
    return;

    var target = Ragebot.GetTarget();
    var getbuttons = Entity.GetProp(target,"CBasePlayer", "m_fFlags" );

    if (getbuttons & 1 << 1) //if enemy jumps
    {
        if (getbuttons & 1 << 0) //(without it it'll force head when enemy ducks idk why)
        return;

        //Cheat.PrintChat("1"); //just wanted to see if it activates only on enemy jump
        Ragebot.ForceHitboxSafety(0)
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, true);
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, true);
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, true);
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, true);
        UI.SetValue("Rage", "AWP", "Hitboxes", 0, true);
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, true);
    }   
    else
    {
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, headboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 1, uchestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 2, chestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 3, lchestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 4, stomachboxscou);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 5, pelvisboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 6, legsboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 7, feetboxscout);

        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, headboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 1, uchestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 2, chestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 3, lchestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 4, stomachboxauto);
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 5, pelvisboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 6, legsboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 7, feetboxauto );

        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, headboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1, uchestboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2, chestboxdeagle);
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3, lchestboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4, stomachboxdeagle);
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5, pelvisboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6, legsboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7, feetboxdeagle );

        UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, headboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 1, uchestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 2, chestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 3, lchestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 4, stomachboxpistol);
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 5, pelvisboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 6, legsboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 7, feetboxpistol );

        UI.SetValue("Rage", "AWP", "Hitboxes", 0, headboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 1, uchestboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 2, chestboxawp);
        UI.SetValue("Rage", "AWP", "Hitboxes", 3, lchestboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 4, stomachboxawp);
        UI.SetValue("Rage", "AWP", "Hitboxes", 5, pelvisboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 6, legsboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 7, feetboxawp );

        UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, headboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 1, uchestboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 2, chestboxgeneral);
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 3, lchestboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 4, stomachboxgeneral);
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 5, pelvisboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 6, legsboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 7, feetboxgeneral );
    }
}

function unloadingscript()
{
    UI.SetValue("Rage", "SCOUT", "Hitboxes", 0, headboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 1, uchestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 2, chestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 3, lchestboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 4, stomachboxscou);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 5, pelvisboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 6, legsboxscout);
        UI.SetValue("Rage", "SCOUT", "Hitboxes", 7, feetboxscout);

        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 0, headboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 1, uchestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 2, chestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 3, lchestboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 4, stomachboxauto);
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 5, pelvisboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 6, legsboxauto );
        UI.SetValue("Rage", "AUTOSNIPER", "Hitboxes", 7, feetboxauto );

        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 0, headboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 1, uchestboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 2, chestboxdeagle);
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 3, lchestboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 4, stomachboxdeagle);
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 5, pelvisboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 6, legsboxdeagle );
        UI.SetValue("Rage", "HEAVY PISTOL", "Hitboxes", 7, feetboxdeagle );

        UI.SetValue("Rage", "PISTOL", "Hitboxes", 0, headboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 1, uchestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 2, chestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 3, lchestboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 4, stomachboxpistol);
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 5, pelvisboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 6, legsboxpistol );
        UI.SetValue("Rage", "PISTOL", "Hitboxes", 7, feetboxpistol );

        UI.SetValue("Rage", "AWP", "Hitboxes", 0, headboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 1, uchestboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 2, chestboxawp);
        UI.SetValue("Rage", "AWP", "Hitboxes", 3, lchestboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 4, stomachboxawp);
        UI.SetValue("Rage", "AWP", "Hitboxes", 5, pelvisboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 6, legsboxawp );
        UI.SetValue("Rage", "AWP", "Hitboxes", 7, feetboxawp );

        UI.SetValue("Rage", "GENERAL", "Hitboxes", 0, headboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 1, uchestboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 2, chestboxgeneral);
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 3, lchestboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 4, stomachboxgeneral);
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 5, pelvisboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 6, legsboxgeneral );
        UI.SetValue("Rage", "GENERAL", "Hitboxes", 7, feetboxgeneral );
}

Cheat.RegisterCallback("CreateMove", "NoInstant");
Cheat.RegisterCallback("Unload", "unloadingscript");
 

Вложения

EBLAN
Пользователь
Статус
Оффлайн
Регистрация
7 Фев 2021
Сообщения
465
Реакции[?]
146
Поинты[?]
2K
This will not be used, because if the cheat was able to fix the enemy's anti-aim, then it will hit the head when he is jumping. Otherwise, if the cheat could not fix it, it will simply not shoot or delay.
 
Государственная служба РФ
Пользователь
Статус
Оффлайн
Регистрация
26 Дек 2018
Сообщения
361
Реакции[?]
70
Поинты[?]
0
This will not be used, because if the cheat was able to fix the enemy's anti-aim, then it will hit the head when he is jumping. Otherwise, if the cheat could not fix it, it will simply not shoot or delay.
Я так и не понял, нахуй он гетает каждый хит бокс, а не все сразу
 
Прогрев
Олдфаг
Статус
Оффлайн
Регистрация
23 Дек 2018
Сообщения
2,228
Реакции[?]
1,505
Поинты[?]
0
так ты же стрелять нихуя не будешь если чел +duck и at targets юзает в воздухе
 
Государственная служба РФ
Пользователь
Статус
Оффлайн
Регистрация
26 Дек 2018
Сообщения
361
Реакции[?]
70
Поинты[?]
0
Забаненный
Статус
Оффлайн
Регистрация
22 Авг 2019
Сообщения
26
Реакции[?]
2
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Начинающий
Статус
Оффлайн
Регистрация
12 Фев 2020
Сообщения
37
Реакции[?]
9
Поинты[?]
0
Без разницы всё равно скрипт не очень
It's just so u won't baim if the target is in air. I know what you're trying to say and I appreciate your criticism.
Я так и не понял, нахуй он гетает каждый хит бокс, а не все сразу
because I don't know how to get all at once I'm new at this.
ty for the critique tho imma try to get better at this.
 
Последнее редактирование:
Nike.lua
Олдфаг
Статус
Оффлайн
Регистрация
13 Окт 2020
Сообщения
2,747
Реакции[?]
1,465
Поинты[?]
2K
[QUOTE = "mafia007, post: 2220151, member: 115948"]
I still do not understand, fuck he gets every hit box, and not all at once
Cuz I'm new at this and don't know how to get all at once
you can use parser like this
JavaScript:
w2t = {'glock 18': 'PISTOL','cz75 auto': 'PISTOL','p250': 'PISTOL','five seven': 'PISTOL','dual berettas': 'PISTOL','tec 9': 'PISTOL','usp s': 'PISTOL', 'p2000': 'PISTOL','desert eagle': 'HEAVY PISTOL',
'r8 revoler': 'HEAVY PISTOL','mac 10': 'GENERAL', 'mp9': 'GENERAL', 'mp7': 'GENERAL', 'ump 45': 'GENERAL', 'pp bizon': 'GENERAL', 'p90': 'GENERAL','galil ar': 'GENERAL','famas': 'GENERAL', 'ak 47': 'GENERAL',
'm4a4': 'GENERAL', 'm4a1 s': 'GENERAL','sg 553': 'GENERAL', 'aug': 'GENERAL','nova': 'GENERAL','xm1014': 'GENERAL','sawed off': 'GENERAL','mag 7': 'GENERAL','m249': 'GENERAL', 'negev': 'GENERAL',
'ssg 08': 'SCOUT','awp': 'AWP','scar 20': 'AUTOSNIPER','g3sg1': 'AUTOSNIPER'}

function createMove() {
    currentTab = w2t[Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))]

    currentHitboxes = UI.GetValue('Rage', currentTab, 'Targeting', 'Hitboxes')
}

Cheat.RegisterCallback('CreateMove', 'createMove')
 
Сверху Снизу