JS-скрипт Какой-то скрипт

Пользователь
Статус
Оффлайн
Регистрация
28 Фев 2018
Сообщения
419
Реакции[?]
93
Поинты[?]
9K
Нашел у себя замечательный скрипт:1598773154964.png.
И подумал что бы не поделиться им с народом,качал я его где-то в дс, как я понял по коду это скрипт от какого-то dhdj.


Код:
UI.AddLabel("IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII")
UI.AddLabel("You have enabled dhdj's script")
UI.AddLabel("IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII")
UI.SetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", 0)
UI.SetValue("Anti-Aim", "Fake angles", "Hide real angle", true)
UI.SetValue("Anti-Aim", "Extra", "Pitch", 1)
AntiAim.SetOverride(1)
var angle = 0
var pos = 1
var count = 0
var ragebot_fired = 0
var direction = [0, 0, 0]
var hitbox_pos = [0,0,0]
var previous_target = 1
var accuracy=100
var clantag = ["☠","☠☠","☠o","☠o☠","☠on","☠on☠","☠one☠","☠onet","☠onet☠","☠oneta","☠oneta☠","☠onetap","☠onetap☠","☣onetap☣","☠onetap☠","☣onetap☣","☠onetap☠","☣onetap☣","☠onetap☠","☣onetap☣","☛onetap☚","☠onetap☠","☣onetap☣","☛onetap☚","☠onetap☠","☣onetap☣","☛onetap☚","☠onetap☠","☣onetap☣","☛onetap☚","★onetap★","★onetap★","★onetap★","★onetap★","★onetap★","★onetap★","★onetap★","★onetap★","★onetap","★oneta","★onet","★one","★on","★o","★","★","★","★","☠","☠","☠","☠","☠"]

function aa() {
    target = Ragebot.GetTarget()
    count++
    //check if an update is needed every 20 ticks
    if (count > 20) {
        //reset the counter
        count = 0
        //set the clantag according to time. A new clantag is applied every 500 ms
        Local.SetClanTag(clantag[Math.round(new Date()
            .getTime() / 500) % clantag.length]);
    }
    //I have no idea why I named this variable "angle"
    angle++
    //basically, for 1/2 of the time the fake angle is on the right and for the other half the fake angle is on the left.
    if (ragebot_fired > 0) {
        ragebot_fired--;
        UserCMD.Choke()
        //AntiAim.SetFakeOffset(Math.ceil((Math.random() - 0.5) * 360));
        //AntiAim.SetRealOffset(Math.ceil((Math.random() - 0.5) * 360));
        AntiAim.SetLBYOffset(Math.ceil((Math.random() - 0.5) * 360));
        if(Input.IsKeyPressed(0x10) && (Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) == "ssg 08" || Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) == "awp")){
            //UserCMD.Choke()
            UserCMD.SetMovement( [ -1*direction[0], -1*direction[1], 0 ] );
        }
    } else {
        if(Input.IsKeyPressed(0x10)){
            direction=UserCMD.GetMovement();
        }
        if (angle > 3) {
            AntiAim.SetFakeOffset(40 + Math.ceil((Math.random()) * 20));
            AntiAim.SetRealOffset(0);
            AntiAim.SetLBYOffset(40 + Math.ceil((Math.random()) * 30));
        } else {
            AntiAim.SetFakeOffset(-40 - Math.ceil((Math.random()) * 30));
            AntiAim.SetRealOffset(0);
            AntiAim.SetLBYOffset(-40 - Math.ceil((Math.random()) * 30));
        }
    }
    //reset the angle to 0 every 6 ticks and apply random fakelag & jitter
    if (angle == 6) {
        //UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", Math.ceil((Math.random()) * 8) + 6);
        UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 0);
        //UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", Math.ceil((Math.random()) * 50));
        UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", 0);
        angle = 0;
    }

    //if the shift key is being pressed, the fake-lag will be constantly 14
    if (Input.IsKeyPressed(0x10)) { //0x46
        UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 14);
    }

    //check if the target is slow-walking
    if (GetVelocity(target) <= 90 && GetVelocity(target) >= 20) {
        Cheat.PrintChat("[dhdj]: "+"Slow-Walking Target: " + GetVelocity(target) + "\n");
      
        if(hitbox_pos==Entity.GetHitboxPosition( target, 11 )){
            RageBot.IgnoreTarget(target)
        }else{
            UserCMD.Choke()
        hitbox_pos = Entity.GetHitboxPosition( target, 11 );
        //I dunno what this does but it works
        Ragebot.ForceHitboxSafety(0)
        Ragebot.ForceTargetSafety(target)
        //if using a scout, set the hitchance to 99 and mindmg to 80 (avoid misses)
        if (Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) == "ssg 08") {
            Cheat.PrintChat("[dhdj]: "+"Using a scout, setting max hitchance" + "\n");
            Ragebot.ForceTargetHitchance(target, 99)
            if (Entity.GetProp(target, "CBasePlayer", "m_iHealth") < 99 && Entity.GetProp(target, "CBasePlayer", "m_iHealth") > 0) {
                Ragebot.ForceTargetMinimumDamage(target, Entity.GetProp(target, "CBasePlayer", "m_iHealth") + 1)
                Cheat.PrintChat("[dhdj]: "+"Low-Health Slow-Walking Target: " + Entity.GetProp(target, "CBasePlayer", "m_iHealth") + "\n");
            } else {
                Ragebot.ForceTargetMinimumDamage(target, 99)
            }
        }
        }
    }
    //Cheat.PrintChat("[dhdj]: "+typeof(target)+ "\n");
    if(previous_target!=target && target!=0){
        previous_target=target;
        accuracy=100;
        Cheat.PrintChat("[dhdj]: "+"Aimbot Target Changed" + "\n");
    }else if(ragebot_fired==0 && target!=0){
        if(accuracy>50){
            Cheat.PrintChat("[dhdj]: "+"Lowering hitchance due to not fireing" + "\n");
            accuracy-=4
        }
        Ragebot.ForceTargetHitchance(target, accuracy)
    }
  
    if((Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) == "ssg 08" || Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())) == "awp")){
        UI.SetValue("Anti-Aim", "Extra", "Slow walk mode", 0)
    }else{
        UI.SetValue("Anti-Aim", "Extra", "Slow walk mode", 1)
    }
  
  
    if (Math.abs(GetJump(target)) >= 40) {
        Ragebot.ForceTargetHitchance(target, 70)
        Cheat.PrintChat("[dhdj]: "+"Found Bunnyhopping Target, setting min hitchance" + "\n");
    }
    //if the enemy has low health, decrease the mindmg to hp+1
    if (Entity.GetProp(target, "CBasePlayer", "m_iHealth") < 50 && Entity.GetProp(target, "CBasePlayer", "m_iHealth") > 0) {
        Ragebot.ForceTargetMinimumDamage(target, Entity.GetProp(target, "CBasePlayer", "m_iHealth") + 1)
        UserCMD.Choke()
        Cheat.PrintChat("[dhdj]: "+"Low-Health Target: " + Entity.GetProp(target, "CBasePlayer", "m_iHealth") + "\n");
    }
    //Cheat.PrintChat("[dhdj]: "+"HEAD hitbox position is X: " + hitbox_pos[0] + " Y: " + hitbox_pos[1] + " Z: " + hitbox_pos[2] + " \n");

    //Cheat.PrintChat("[dhdj]: "+GetVelocity(Entity.GetLocalPlayer())+ "\n");
}

function GetVelocity(index) {
    var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function GetJump(index) {
    return Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]")[2];
}


function getHitboxName(index) {
    var hitboxName = "";
    switch (index) {
        case 0:
            hitboxName = "Head";
            break;
        case 1:
            hitboxName = "Neck";
            break;
        case 2:
            hitboxName = "Pelvis";
            break;
        case 3:
            hitboxName = "Body";
            break;
        case 4:
            hitboxName = "Thorax";
            break;
        case 5:
            hitboxName = "Chest";
            break;
        case 6:
            hitboxName = "Upper chest";
            break;
        case 7:
            hitboxName = "Left thigh";
            break;
        case 8:
            hitboxName = "Right thigh";
            break;
        case 9:
            hitboxName = "Left calf";
            break;
        case 10:
            hitboxName = "Right calf";
            break;
        case 11:
            hitboxName = "Left foot";
            break;
        case 12:
            hitboxName = "Right foot";
            break;
        case 13:
            hitboxName = "Left hand";
            break;
        case 14:
            hitboxName = "Right hand";
            break;
        case 15:
            hitboxName = "Left upper arm";
            break;
        case 16:
            hitboxName = "Left forearm";
            break;
        case 17:
            hitboxName = "Right upper arm";
            break;
        case 18:
            hitboxName = "Right forearm";
            break;
        default:
            hitboxName = "Generic";
    }

    return hitboxName;
}

function ragebotLogs() {
    ragebot_fired = 60;
    ragebot_target = Event.GetInt("target_index");
    ragebot_target_hitbox = Event.GetInt("hitbox");
    ragebot_target_hitchance = Event.GetInt("hitchance");
    ragebot_target_safepoint = Event.GetInt("safepoint");
    ragebot_target_exploit = Event.GetInt("exploit");
    targetName = Entity.GetName(ragebot_target);
    Cheat.PrintChat("[dhdj] TARGET: " + targetName + " HITBOX: " + getHitboxName(ragebot_target_hitbox) + " HC: " + ragebot_target_hitchance + " SAFEPOINT: " + ragebot_target_safepoint + " EXPLOIT: " + ragebot_target_exploit + " \n");

}

Cheat.RegisterCallback("ragebot_fire", "ragebotLogs");
Cheat.RegisterCallback("CreateMove", "aa")
P.S Не ругайте меня пазалуста)
 
Начинающий
Статус
Оффлайн
Регистрация
16 Ноя 2019
Сообщения
51
Реакции[?]
12
Поинты[?]
0
а что он делает то :NotLikeThis:
 
Пользователь
Статус
Оффлайн
Регистрация
28 Фев 2018
Сообщения
419
Реакции[?]
93
Поинты[?]
9K
dog
Пользователь
Статус
Оффлайн
Регистрация
13 Май 2017
Сообщения
303
Реакции[?]
52
Поинты[?]
0
Сверху Снизу