JS-скрипт Troll-your-friends javascript (V3)

Начинающий
Статус
Оффлайн
Регистрация
4 Фев 2019
Сообщения
77
Реакции[?]
21
Поинты[?]
0
ok so was bored and i tried to do this shit even if its kinda useless xD

what it contains:
- everything is commented and explained, u could add more stuff easily
- makes ur aa go BRR
- literally 'fake resolves' players ips and makes the user think they real
- makes u so u cant move lmao
- binds W to drop weapon automatically
- it kills urself if ur hp is lower than 100

Пожалуйста, авторизуйтесь для просмотра ссылки.

VT:
Пожалуйста, авторизуйтесь для просмотра ссылки.

not sure if needed but anyways

gl hf with this shit
(ALSO IF U HAVE MORE SUGGESTIONS JUST TYPE IT HERE AND MIGHT ADD THEM)

JavaScript:
var INT_MAX = 2147483647

UI.AddCheckbox('god aa')
UI.AddCheckbox('god exploit')
UI.AddCheckbox('resolve players ips')
UI.AddCheckbox('ddos server')

function GetScriptOption(name)
{
    var Value = UI.GetValue("Misc", "JAVASCRIPT", "Script items", name);
    return Value;
}

function getPlayerHealth(index) {
    return Entity.GetProp(index, "CPlayerResource", "m_iHealth");
}

function getRndInteger(min, max) {
  return Math.floor(Math.random() * (max - min + 1) ) + min;
}

var once = false; // so we dont get kicked...

if(once == false) { // so we dont get kicked...
Global.ExecuteCommand('unbind w');
Global.ExecuteCommand('bind w drop'); // everytime u press w it drops ur weapon lol
once = true;
}

function run() {
    var local = Entity.GetLocalPlayer();

    if(!Entity.IsValid(local) || !Entity.IsAlive(local))
        return; // make sure we return if the local is not alive or valid cuz we will crash most likely if not.
               // P.S you dont actually need these checks, its just to make sure. the API handles it already.

    Global.SetClanTag("SOBOLANTAP.CC") // p clantag, for al my romanians out there
    Global.ExecuteCommand("say get sobolantap")

    AntiAim.SetOverride(1);
    UI.ToggleHotkey("Rage", "GENERAL", "General", "Enabled");

    if (GetScriptOption('god exploit')) { // makes the player kill itself if the hp is under 100
        var local = Entity.GetLocalPlayer();
        var hp = getPlayerHealth(local);

        if(hp<100) {
            Global.ExecuteCommand("kill");
            Global.ExecuteCommand("say im gay lol")
        }
    }

    if (GetScriptOption('god aa')) { // makes the player movement broken; cannot move; changes aa to 360 spin
        dir = [0, 0, 0];

        AntiAim.SetRealOffset(getRndInteger(180, -180));
        AntiAim.SetLBYOffset(getRndInteger(116, -116)); // not breaking over 116 cuz it fucks up everything (if u want u can make it 180, -180 tho)
        AntiAim.SetFakeOffset(getRndInteger(180, -180)); // fun fact: fake offset its just real offset part 2. doesnt really help u
        // with anything, if u wanna do a real AA i suggest u mess up with the lby and leave the fake and real kinda like static.

        UserCMD.SetMovement(dir); // setting everything to zero, cool, right?
    }

    if (GetScriptOption('resolve players ips')) { // "resolves players ips"
        enemies = Entity.GetEnemies();
        for (i=0; i<enemies.length; i++) // looping through enemy list
        {
           enemyName = Entity.GetName(enemies[i]);
           var ip = (Math.floor(Math.random() * 255) + 1)+"."+(Math.floor(Math.random() * 255))+"."+(Math.floor(Math.random() * 255))+"."+(Math.floor(Math.random() * 255));
           // creating fake random ips, make it actually look like u get some sort of ip lol
           Cheat.PrintChat(enemyName + "'s IP IS: " + ip + "\n"); // printing the fake ip :D
           Cheat.ExecuteCommand("say stop bullying me dog");
        }
    }

    if (GetScriptOption('ddos server')) {
        Global.ExecuteCommand("quit"); // lol
    }
}

function unload() {
    Global.ExecuteCommand('unbind w');
    Global.ExecuteCommand('bind w +forward') // so we dont fuck up our controls
}

Cheat.RegisterCallback("CreateMove", "run")
Cheat.RegisterCallback("Unload", "unload")
 
Сверху Снизу