JS-скрипт MORGENCORD SOURCE V1

@extrapink tg
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2019
Сообщения
256
Реакции[?]
139
Поинты[?]
9K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Код:
const build = "[beta]";
UI.AddLabel("m0Pr3HLLIT3PHc0rd v1.1");
UI.AddLabel("BePCu9: " + build);
UI.AddLabel("by zapp04 & MuCTeP CoCuCTeP");
const cordversion = "1.1";
const me = Entity.GetLocalPlayer();
const screensize = Global.GetScreenSize();
const opener = ["да сука новый", "да я богатый", "цепь на мне это", "трек моргена будто", "самый богатый", "у меня", "мое ебало", "самый свежий", "у у у у у", "пиздец", "кадилак кадилак", "делаю деньги будто", "э э эл примьеро с огромным", "я босс ты тупо", "у меня проблема", "выеб города и", "ныне мою жопу возит новый", "лали лалипоп за ним ныряет", "в моих руках твой", "думал будет бас получился", "эй эй", "бич я вешу как молодой", "композитор алишер тагирович", "пальцем щелк и", "самый", "мной гордился бы мой", "я", "папапа", "еду к", "не поверишь", "самый сытный", "я его", "четыре украинки", "на моем запясти", "она ест"];
const joiner = ["вантап кряк", "миссед шот", "автомат", "рататата", "хвх овнер 1488", "айс", "хуй", "цепи", "золото", "уебок", "денег так много", "коробка", "кадилак", "это новый кадилак", "моргенштерн", "хер", "бабки", "лямба или фера", "шоколад", "фанат", "трах", "зад", "наебал", "френко", "бит", "папа", "сука", "рот", "шут", "ублюдок", "бро", "вот так", "дикий", "блять", "пыль", "сьел деда", "дед", "непоседа", "любимки", "пенивайс"];
const test = ["!", "?", " "];
const checkbox = UI.AddCheckbox("m0Pr3HLLIT3PH say");
const ozvuchka = UI.AddCheckbox("03By4Ka 0T m0Pr3HLLIT3PHa");
const morgenaa = UI.AddCheckbox("MORGEN AA");
const morgenaabind = UI.AddHotkey("MORGEN AA BIND");
const morgenaaindicator = UI.AddCheckbox("MORGENAA INDICATOR");
UI.AddColorPicker("MORGENAA color");
var lasttime = 0;
var started = 0.0;

avtomate = false;
jump = false;
roundstarted = false;
umer = false;
mvp = false;
fre = false;
plan = false;
bdd = false;

UI.AddCheckbox("MORGENDMG INDICATOR")
UI.AddHotkey("R8/DIGL)")
UI.AddSliderInt("R8/DIGL) MINDMG", 0, 130)
UI.AddHotkey("SKAUT")
UI.AddSliderInt("SKAUT MINDMG", 0, 130)
UI.AddHotkey("AWP")
UI.AddSliderInt("AWP MINDMG", 0, 130)
UI.AddHotkey("SCAR")
UI.AddSliderInt("SCAR MINDMG", 0, 130)
UI.AddCheckbox("MORGEN DT");
UI.AddSliderInt( "CKoJIKo XyeB Tb| CoCaJI", 228, 1488 );
UI.AddCheckbox("noxyu He Pa6oTaeT");
UI.AddCheckbox("MORGENPEEK");
UI.AddHotkey( "MORGEN BIND $$$$" );
UI.AddMultiDropdown( "ga cyKa HoBb|u aBToMaT", [ "47AKA", "cyKa Mb| naJIuM roPoga", "PaTaTaTaTA", "ga cyKa eTo Ha BeKa" ] );
UI.AddSliderInt("MORGENMARK X", -45, screensize[0]);
UI.AddSliderInt("MORGENMARK Y", 0, screensize[1]);
UI.AddSliderFloat('MORGENMARK color speed', 0.0, 5.0);
UI.AddCheckbox("Ha>|<Mu 4ToBb| CTaTb KPyTb|M");

function isActive(a) {
    return UI.IsHotkeyActive("Script items", a)
}

function yakrutoi() {
    if (UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M") == 1) {
        UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", false );
    } else
    UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", true );
}

function morgenbind() { // бинд
    var dadadadada = UI.IsHotkeyActive("Script Items", "MORGEN BIND $$$$");
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    if (dadadadada == 1 && yakryt == 1) {
        font = Render.AddFont( "IMPACT", 70, 100);
        RenderFrame = Render.AddTexture("ot/morgenshtern/aye.png");
        Render.StringCustom( 430, 100, 0, "POSHEL NAXUI", [ 255, 255, 255, 255 ], font );
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame);
    }
}

function menu1() {
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    RenderFrame1 = Render.AddTexture("ot/morgenshtern/img.png");
    if (UI.IsMenuOpen() == true && yakryt == 1) {
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame1);
    }
}


function morgentag() { // клантег
    if (!World.GetServerString()) return;
    var tag = UI.GetValue( "Script Items", "MorgenTag" );
    var speed = 4;
    var time = parseInt((Globals.Curtime() * speed))
    if (time != lasttime) {
        switch((time) % 74) {
            case 1: { Local.SetClanTag(""); break; }
            case 2: { Local.SetClanTag("$m"); break; }
            case 3: { Local.SetClanTag("$mo"); break; }
            case 4: { Local.SetClanTag("$moP"); break; }
            case 5: { Local.SetClanTag("$moPr"); break; }
            case 6: { Local.SetClanTag("$moPr3"); break; }
            case 7: { Local.SetClanTag("$moPr3H"); break; }
            case 8: { Local.SetClanTag("$moPr3HL"); break; }
            case 9: { Local.SetClanTag("$moPr3HLL"); break; }
            case 10:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 11:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 12:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 13:{ Local.SetClanTag("$moPr3HLLIT3P"); break; }
            case 14:{ Local.SetClanTag("$moPr3HLLIT3PH"); break; }
            case 15:{ Local.SetClanTag("m$oPr3HLLIT3PH "); break; }
            case 16:{ Local.SetClanTag("mo$Pr3HLLIT3PH  "); break; }
            case 17:{ Local.SetClanTag("moP$r3HLLIT3PH   "); break; }
            case 18:{ Local.SetClanTag("moPr$3HLLIT3PH    "); break; }
            case 19:{ Local.SetClanTag("moPr3$HLLIT3PH     "); break; }
            case 20:{ Local.SetClanTag("moPr3H$LLIT3PH      "); break; }
            case 21:{ Local.SetClanTag("moPr3HL$LIT3PH       "); break; }
            case 22:{ Local.SetClanTag("moPr3HLL$IT3PH       "); break; }
            case 23:{ Local.SetClanTag("moPr3HLLI$T3PH       "); break; }
            case 24:{ Local.SetClanTag("moPr3HLLIT$3PH       "); break; }
            case 25:{ Local.SetClanTag("moPr3HLLIT3$PH       "); break; }
            case 26:{ Local.SetClanTag("moPr3HLLIT3P$H       "); break; }
            case 27:{ Local.SetClanTag("moPr3HLLIT3PH$       "); break; }
            case 28:{ Local.SetClanTag("moPr3HLLIT3PH$$       "); break; }
            case 29:{ Local.SetClanTag("moPr3HLLIT3PH$$$       "); break; }
            case 30:{ Local.SetClanTag("moPr3HLLIT3PH$$$$       "); break; }
            case 31:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 32:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 33:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 34:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 35:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 36:{ Local.SetClanTag("moPr3HLLIT3P$H$$$$       "); break; }
            case 37:{ Local.SetClanTag("moPr3HLLIT3$P$H$$$       "); break; }
            case 38:{ Local.SetClanTag("moPr3HLLIT$3$P$H$$       "); break; }
            case 39:{ Local.SetClanTag("moPr3HLLI$T$3$P$H$       "); break; }
            case 40:{ Local.SetClanTag("moPr3HLL$I$T$3$P$H       "); break; }
            case 41:{ Local.SetClanTag("moPr3HL$L$I$T$3$PH       "); break; }
            case 42:{ Local.SetClanTag("moPr3H$L$L$I$T$3PH       "); break; }
            case 43:{ Local.SetClanTag("moPr3$H$L$L$I$T3PH       "); break; }
            case 44:{ Local.SetClanTag("moPr$3$H$L$L$IT3PH       "); break; }
            case 45:{ Local.SetClanTag("moP$r$3$H$L$LIT3PH       "); break; }
            case 46:{ Local.SetClanTag("mo$P$r$3$H$LLIT3PH       "); break; }
            case 47:{ Local.SetClanTag("m$o$P$r$3$HLLIT3PH       "); break; }
            case 48:{ Local.SetClanTag("$m$o$P$r$3HLLIT3PH       "); break; }
            case 49:{ Local.SetClanTag("$$m$o$P$r3HLLIT3PH       "); break; }
            case 50:{ Local.SetClanTag("$$$m$o$Pr3HLLIT3PH       "); break; }
            case 51:{ Local.SetClanTag("$$$$m$oPr3HLLIT3PH       "); break; }
            case 52:{ Local.SetClanTag("$$$$$moPr3HLLIT3PH       "); break; }
            case 53:{ Local.SetClanTag("$$$$moPr3HLLIT3PH       "); break; }
            case 54:{ Local.SetClanTag("$$$moPr3HLLIT3PH       "); break; }
            case 55:{ Local.SetClanTag("$$moPr3HLLIT3PH       "); break; }
            case 56:{ Local.SetClanTag("$moPr3HLLIT3PH       "); break; }
            case 57:{ Local.SetClanTag("$moPr3HLLIT3PH      "); break; }
            case 58:{ Local.SetClanTag("$moPr3HLLIT3PH     "); break; }
            case 59:{ Local.SetClanTag("$moPr3HLLIT3PH    "); break; }
            case 60:{ Local.SetClanTag("$moPr3HLLIT3PH   "); break; }
            case 61:{ Local.SetClanTag("$moPr3HLLIT3PH  "); break; }
            case 62:{ Local.SetClanTag("$moPr3HLLIT3P "); break; }
            case 63:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 64:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 65:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 66:{ Local.SetClanTag("$moPr3HLL"); break; }
            case 67:{ Local.SetClanTag("$moPr3HL"); break; }
            case 68:{ Local.SetClanTag("$moPr3H"); break; }
            case 69:{ Local.SetClanTag("$moPr3"); break; }
            case 70:{ Local.SetClanTag("$moPr"); break; }
            case 71:{ Local.SetClanTag("$moP"); break; }
            case 72:{ Local.SetClanTag("$mo"); break; }
            case 73:{ Local.SetClanTag("$m"); break; }
            case 74:{ Local.SetClanTag(""); break; }
        }
    }
    lasttime = time;
}

function morgensay() { // дамагсей
    if(UI.GetValue.apply(null, checkbox)) {
        const attacker_id = Event.GetInt("attacker");
        const attacker_weapon = Event.GetString("weapon");
        if(Entity.IsLocalPlayer(Entity.GetEntityFromUserID(attacker_id))) {
            Cheat.ExecuteCommand("say " + opener[Math.floor(Math.random() * opener.length)] + " " + joiner[Math.floor(Math.random() * joiner.length)] + test[Math.floor(Math.random() * test.length)] );
        }
    }
}

function roundstart() { // начало раунда
    const roundstarte = ["Я использую легендарный m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundstarte);
}

function roundend() {
    const roundende = ["Этот раунд был спонсирован легендарным m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundende);
}

function da_syka_noviy_avtomat() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        const avtomat = ["да сука новый автомат"];
        victim = Event.GetInt("userid");
        victim_index = Entity.GetEntityFromUserID(victim);
        if (victim_index == me) {
            started = Global.Realtime();
            avtomate = true;

            Cheat.ExecuteCommand("voice_loopback 1");
            Cheat.ExecuteCommand("say " + avtomat);
            Sound.PlayMicrophone("ot/morgenshtern/morgenkto.wav");
        }
    }
}

function MORGENSTERN_ON_PEEK() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            jump = true;
            Sound.PlayMicrophone("ot/morgenshtern/prijok.wav");
        }
    }
}

function gandon() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            umer = true;
            Sound.PlayMicrophone("ot/morgenshtern/blyat.wav");
        }
    }
}

function mvpmvp() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            mvp = true;
            Sound.PlayMicrophone("ot/morgenshtern/ebrot.wav");
        }
    }
}

function freezeend() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        fre = true;
        Sound.PlayMicrophone("ot/morgenshtern/pognali.wav");
    }
}

function plant() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        plan = true;
        Sound.PlayMicrophone("ot/morgenshtern/pizda.wav");
    }
}

function bd() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        bdd = true;
        Sound.PlayMicrophone("ot/morgenshtern/pidor.wav");
    }
}

function reset() {
    if (avtomate && Math.abs(started + 2.25 - Global.Realtime()) < 0.05) {
        avtomate = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset2() {
    if (jump && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        jump = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset3() {
    if (roundstarted && Math.abs(started + 1.25 - Global.Realtime()) < 0.05) {
        roundstarted = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset4() {
    if (umer && Math.abs(started + .6 - Global.Realtime()) < 0.05) {
        umer = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset5() {
    if (mvp && Math.abs(started + 1.40 - Global.Realtime()) < 0.05) {
        mvp = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset6() {
    if (fre && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        fre = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset7() {
    if (plan && Math.abs(started + 1.30 - Global.Realtime()) < 0.05) {
        plan = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset8() {
    if (bdd && Math.abs(started + 20 - Global.Realtime()) < 0.05) {
        bdd = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function HSVtoRGB(h, s, v) {
    var r, g, b, i, f, p, q, t;

    i = Math.floor(h * 6);
    f = h * 6 - i;
    p = v * (1 - s);
    q = v * (1 - f * s);
    t = v * (1 - (1 - f) * s);

    switch (i % 6) {
        case 0: r = v, g = t, b = p; break;
        case 1: r = q, g = v, b = p; break;
        case 2: r = p, g = v, b = t; break;
        case 3: r = p, g = q, b = v; break;
        case 4: r = t, g = p, b = v; break;
        case 5: r = v, g = p, b = q; break;
    }

    return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) };
}

function valueEe(name) {
    var value = UI.GetValue("MISC", "JAVASCRIPT", "Script items", name);
    return value;
}

function morgenmark() {   // как мне сказали похоже на фаталити но мне чисто похуй
    if (!World.GetServerString()) return;
    RenderFrame2 = Render.AddTexture("ot/morgenshtern/morgen.png");
    colors = HSVtoRGB(Global.Realtime() * UI.GetValue("MISC", "JAVASCRIPT", "Script Items", "MORGENMARK color speed"), 1, 1);
    x = valueEe("MORGENMARK X");
    y = valueEe("MORGENMARK Y");
    Render.FilledRect( x + 46, y , 324, 41, [ 10, 10, 10, 100 ] );
    Render.TexturedRect( x + 50, y + 7, 315, 32 , RenderFrame2 );
    Render.Rect( x + 50, y + 5, 315, 32, [ 50, 50, 50, 255 ] );
    Render.GradientRect(x + 50, y + 5, 315, 1, 1, [colors.g, colors.b, colors.r, 255], [colors.r, colors.g, colors.b, 255]);
    var font = Render.AddFont("Verdana", 7, 800)
    const map = World.GetMapName();
    const tickrate = Global.Tickrate()
    const fps = Math.floor( 1 / Global.Frametime() );
    const ping = Math.floor(Global.Latency() * 1000 / 1.5 );
    const kills = Entity.GetProp(me, 'CPlayerResource', 'm_iKills');
    const deaths = Entity.GetProp(me, 'CPlayerResource', 'm_iDeaths');
    // FPS
    Render.StringCustom( x + 78, y + 15, 1, "FPS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 101, y + 15, 1, "" + fps, [ 0, 0, 0, 255 ], font );

    // PING
    Render.StringCustom( x + 155, y + 15, 1, "PING: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 184, y + 15, 1, "" + ping, [ 255, 255, 255, 255 ], font );

    // KILLS
    Render.StringCustom( x + 233, y + 15, 1, "KILLS: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 258, y + 15, 1, "" + kills, [ 255, 255, 255, 255 ], font );

    // DEATHS
    Render.StringCustom( x + 311, y + 15, 1, "DEATHS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 342, y + 15, 1, "" + deaths, [ 0, 0, 0, 255 ], font );
 
}

/*
UI.AddCheckbox("MORGENDICKATORS");

function morgendickatorepta() {
    var font2 = Render.AddFont("Smallest Pixel-7", 11, 0)
    if (Entity.IsAlive(Entity.GetLocalPlayer())) {
        check = UI.GetValue("Script Items", "MORGENDICKATORS")
        if (check == true) {
            E6atb_4e_et0_tak0ee = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");
            EBATb_TbI_cyKa = UI.IsHotkeyActive("Misc", "Movement", "Auto peek");
            var AAAAAAAAAAA = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 25, 1, E6atb_4e_et0_tak0ee ? "MORGENTAP" : "", E6atb_4e_et0_tak0ee ? [ 255, 140, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 35, 1, EBATb_TbI_cyKa ? "MORGENPEEK" : "", EBATb_TbI_cyKa ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 45, 1, AAAAAAAAAAA ? "MORGENHIDE" : "", AAAAAAAAAAA ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
        }
    }
}
morgendickatorepta();
*/

function morgenyaw_ind() { // индикатор угла десинка спиздил откудато незнаю откуда
    if(UI.GetValue.apply(null, morgenaaindicator)) {
        if (!Entity.IsValid(me) || !Entity.IsAlive(me)) return;
        font = Render.AddFont("Verdana", 8, 400);
        x = screensize[0];
        y = screensize[1];
        col = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "MORGENAA color");
        real_yaw = Local.GetRealYaw();
        fake_yaw = Local.GetFakeYaw();
        delta = Math.min(Math.abs(real_yaw - fake_yaw) / 2, 60).toFixed(0);
        delta_size = Render.TextSizeCustom(delta, font);
        Render.StringCustom(x / 2, y / 2 + 20, 1, delta, [255, 255, 255, 255], font);
        Render.Circle(x / 2 + delta_size[0] - 2, y / 2 + 25, 2, [255, 255, 255, 255])
        Render.GradientRect(x / 2, y / 2 + 40, (125 / 60) * delta, 5, 1, col, [0, 0, 0, 0]);
        Render.GradientRect(x / 2 - (125 / 60) * delta + 1, y / 2 + 40, (125 / 60) * delta, 5, 1, [0, 0, 0, 0], col);
    }
}

function MorgenAA() {
    var Onkey = false

    if (isActive("MORGEN AA BIND")) {
       Onkey = true
    }
    if (Onkey == true && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "MORGEN AA")) {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 12);
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-29);
    }
    else {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
        AntiAim.SetOverride(0);
    }
}

var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")


function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || weapon_name == "g3sg1")
    {
        return true
    }
}
/*
function isPistol(name) {
    if (name == "glock 18")
}
*/
function mindamak() {
    heavy_value = UI.GetValue("Script items", "R8/DIGL) MINDMG")
    scout_value = UI.GetValue("Script items", "SKAUT MINDMG")
    awp_value = UI.GetValue("Script items", "AWP MINDMG")
    auto_value = UI.GetValue("Script items", "SCAR MINDMG")
    weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))

    if (isActive("R8/DIGL)") && isHeavyPistol(weapon_name))
    {
        setValue("HEAVY PISTOL", heavy_value)
    }
    else{
        setValue("HEAVY PISTOL", heavy_cache)
    }
 
    if (isActive("SKAUT") && weapon_name == "ssg 08")
    {
        setValue("SCOUT", scout_value)
    }
    else{
        setValue("SCOUT", scout_cache)
    }

    if (isActive("AWP") && weapon_name == "awp")
    {
        setValue("AWP", awp_value)
    }
    else{
        setValue("AWP", awp_cache)
    }

    if (isActive("SCAR") && isAutoSniper(weapon_name))
    {
      
        setValue("AUTOSNIPER", auto_value)
    }
    else
    {
        setValue("AUTOSNIPER", auto_cache)
    }
    
 
}
function morgendmg_ind() {
    screen = Render.GetScreenSize()
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    x = screen[0]/2.07
    y = screen[0]/3.8
    heavy = "DMG: " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = "DMG: " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = "DMG: " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = "DMG: " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    var str = ""
    if (UI.GetValue("Script items", "MORGENDMG INDICATOR") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
    }
    Render.String(x, y, 0, str+"", [255,255,255,255]);
}

Cheat.RegisterCallback("Draw", "morgendmg_ind");
Cheat.RegisterCallback("CreateMove", "mindamak");
Cheat.RegisterCallback("Draw", "yakrutoi");
Cheat.RegisterCallback("CreateMove", "MorgenAA");
Cheat.RegisterCallback("Draw", "morgenyaw_ind");
Global.RegisterCallback("Draw", "morgenmark");
Cheat.RegisterCallback("Draw", "menu1");
Cheat.RegisterCallback("Draw", "morgenbind");
//Cheat.RegisterCallback("Draw", "morgendickatorepta");
Cheat.RegisterCallback("FrameStageNotify", "reset");
Cheat.RegisterCallback("FrameStageNotify", "reset2");
Cheat.RegisterCallback("FrameStageNotify", "reset3");
Cheat.RegisterCallback("FrameStageNotify", "reset4");
Cheat.RegisterCallback("FrameStageNotify", "reset5");
Cheat.RegisterCallback("FrameStageNotify", "reset6");
Cheat.RegisterCallback("FrameStageNotify", "reset7");
Cheat.RegisterCallback("FrameStageNotify", "reset8");
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat");
Cheat.RegisterCallback("player_death","gandon");
Cheat.RegisterCallback("round_start","roundstart");
Cheat.RegisterCallback("round_end","roundend");
Cheat.RegisterCallback("player_jump", "MORGENSTERN_ON_PEEK");
Cheat.RegisterCallback("round_mvp", "mvpmvp");
Cheat.RegisterCallback("round_freeze_end", "freezeend");
Cheat.RegisterCallback("bomb_planted", "plant");
Cheat.RegisterCallback("bomb_begindefuse", "bd")
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat")
Cheat.RegisterCallback("player_hurt", "morgensay");
Cheat.RegisterCallback("Draw", "morgentag");
 
DRILL
Начинающий
Статус
Оффлайн
Регистрация
21 Окт 2020
Сообщения
44
Реакции[?]
10
Поинты[?]
0
Код:
const build = "[beta]";
UI.AddLabel("m0Pr3HLLIT3PHc0rd v1.1");
UI.AddLabel("BePCu9: " + build);
UI.AddLabel("by zapp04 & MuCTeP CoCuCTeP");
const cordversion = "1.1";
const me = Entity.GetLocalPlayer();
const screensize = Global.GetScreenSize();
const opener = ["да сука новый", "да я богатый", "цепь на мне это", "трек моргена будто", "самый богатый", "у меня", "мое ебало", "самый свежий", "у у у у у", "пиздец", "кадилак кадилак", "делаю деньги будто", "э э эл примьеро с огромным", "я босс ты тупо", "у меня проблема", "выеб города и", "ныне мою жопу возит новый", "лали лалипоп за ним ныряет", "в моих руках твой", "думал будет бас получился", "эй эй", "бич я вешу как молодой", "композитор алишер тагирович", "пальцем щелк и", "самый", "мной гордился бы мой", "я", "папапа", "еду к", "не поверишь", "самый сытный", "я его", "четыре украинки", "на моем запясти", "она ест"];
const joiner = ["вантап кряк", "миссед шот", "автомат", "рататата", "хвх овнер 1488", "айс", "хуй", "цепи", "золото", "уебок", "денег так много", "коробка", "кадилак", "это новый кадилак", "моргенштерн", "хер", "бабки", "лямба или фера", "шоколад", "фанат", "трах", "зад", "наебал", "френко", "бит", "папа", "сука", "рот", "шут", "ублюдок", "бро", "вот так", "дикий", "блять", "пыль", "сьел деда", "дед", "непоседа", "любимки", "пенивайс"];
const test = ["!", "?", " "];
const checkbox = UI.AddCheckbox("m0Pr3HLLIT3PH say");
const ozvuchka = UI.AddCheckbox("03By4Ka 0T m0Pr3HLLIT3PHa");
const morgenaa = UI.AddCheckbox("MORGEN AA");
const morgenaabind = UI.AddHotkey("MORGEN AA BIND");
const morgenaaindicator = UI.AddCheckbox("MORGENAA INDICATOR");
UI.AddColorPicker("MORGENAA color");
var lasttime = 0;
var started = 0.0;

avtomate = false;
jump = false;
roundstarted = false;
umer = false;
mvp = false;
fre = false;
plan = false;
bdd = false;

UI.AddCheckbox("MORGENDMG INDICATOR")
UI.AddHotkey("R8/DIGL)")
UI.AddSliderInt("R8/DIGL) MINDMG", 0, 130)
UI.AddHotkey("SKAUT")
UI.AddSliderInt("SKAUT MINDMG", 0, 130)
UI.AddHotkey("AWP")
UI.AddSliderInt("AWP MINDMG", 0, 130)
UI.AddHotkey("SCAR")
UI.AddSliderInt("SCAR MINDMG", 0, 130)
UI.AddCheckbox("MORGEN DT");
UI.AddSliderInt( "CKoJIKo XyeB Tb| CoCaJI", 228, 1488 );
UI.AddCheckbox("noxyu He Pa6oTaeT");
UI.AddCheckbox("MORGENPEEK");
UI.AddHotkey( "MORGEN BIND $$$$" );
UI.AddMultiDropdown( "ga cyKa HoBb|u aBToMaT", [ "47AKA", "cyKa Mb| naJIuM roPoga", "PaTaTaTaTA", "ga cyKa eTo Ha BeKa" ] );
UI.AddSliderInt("MORGENMARK X", -45, screensize[0]);
UI.AddSliderInt("MORGENMARK Y", 0, screensize[1]);
UI.AddSliderFloat('MORGENMARK color speed', 0.0, 5.0);
UI.AddCheckbox("Ha>|<Mu 4ToBb| CTaTb KPyTb|M");

function isActive(a) {
    return UI.IsHotkeyActive("Script items", a)
}

function yakrutoi() {
    if (UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M") == 1) {
        UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", false );
    } else
    UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", true );
}

function morgenbind() { // бинд
    var dadadadada = UI.IsHotkeyActive("Script Items", "MORGEN BIND $$$$");
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    if (dadadadada == 1 && yakryt == 1) {
        font = Render.AddFont( "IMPACT", 70, 100);
        RenderFrame = Render.AddTexture("ot/morgenshtern/aye.png");
        Render.StringCustom( 430, 100, 0, "POSHEL NAXUI", [ 255, 255, 255, 255 ], font );
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame);
    }
}

function menu1() {
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    RenderFrame1 = Render.AddTexture("ot/morgenshtern/img.png");
    if (UI.IsMenuOpen() == true && yakryt == 1) {
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame1);
    }
}


function morgentag() { // клантег
    if (!World.GetServerString()) return;
    var tag = UI.GetValue( "Script Items", "MorgenTag" );
    var speed = 4;
    var time = parseInt((Globals.Curtime() * speed))
    if (time != lasttime) {
        switch((time) % 74) {
            case 1: { Local.SetClanTag(""); break; }
            case 2: { Local.SetClanTag("$m"); break; }
            case 3: { Local.SetClanTag("$mo"); break; }
            case 4: { Local.SetClanTag("$moP"); break; }
            case 5: { Local.SetClanTag("$moPr"); break; }
            case 6: { Local.SetClanTag("$moPr3"); break; }
            case 7: { Local.SetClanTag("$moPr3H"); break; }
            case 8: { Local.SetClanTag("$moPr3HL"); break; }
            case 9: { Local.SetClanTag("$moPr3HLL"); break; }
            case 10:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 11:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 12:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 13:{ Local.SetClanTag("$moPr3HLLIT3P"); break; }
            case 14:{ Local.SetClanTag("$moPr3HLLIT3PH"); break; }
            case 15:{ Local.SetClanTag("m$oPr3HLLIT3PH "); break; }
            case 16:{ Local.SetClanTag("mo$Pr3HLLIT3PH  "); break; }
            case 17:{ Local.SetClanTag("moP$r3HLLIT3PH   "); break; }
            case 18:{ Local.SetClanTag("moPr$3HLLIT3PH    "); break; }
            case 19:{ Local.SetClanTag("moPr3$HLLIT3PH     "); break; }
            case 20:{ Local.SetClanTag("moPr3H$LLIT3PH      "); break; }
            case 21:{ Local.SetClanTag("moPr3HL$LIT3PH       "); break; }
            case 22:{ Local.SetClanTag("moPr3HLL$IT3PH       "); break; }
            case 23:{ Local.SetClanTag("moPr3HLLI$T3PH       "); break; }
            case 24:{ Local.SetClanTag("moPr3HLLIT$3PH       "); break; }
            case 25:{ Local.SetClanTag("moPr3HLLIT3$PH       "); break; }
            case 26:{ Local.SetClanTag("moPr3HLLIT3P$H       "); break; }
            case 27:{ Local.SetClanTag("moPr3HLLIT3PH$       "); break; }
            case 28:{ Local.SetClanTag("moPr3HLLIT3PH$$       "); break; }
            case 29:{ Local.SetClanTag("moPr3HLLIT3PH$$$       "); break; }
            case 30:{ Local.SetClanTag("moPr3HLLIT3PH$$$$       "); break; }
            case 31:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 32:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 33:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 34:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 35:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 36:{ Local.SetClanTag("moPr3HLLIT3P$H$$$$       "); break; }
            case 37:{ Local.SetClanTag("moPr3HLLIT3$P$H$$$       "); break; }
            case 38:{ Local.SetClanTag("moPr3HLLIT$3$P$H$$       "); break; }
            case 39:{ Local.SetClanTag("moPr3HLLI$T$3$P$H$       "); break; }
            case 40:{ Local.SetClanTag("moPr3HLL$I$T$3$P$H       "); break; }
            case 41:{ Local.SetClanTag("moPr3HL$L$I$T$3$PH       "); break; }
            case 42:{ Local.SetClanTag("moPr3H$L$L$I$T$3PH       "); break; }
            case 43:{ Local.SetClanTag("moPr3$H$L$L$I$T3PH       "); break; }
            case 44:{ Local.SetClanTag("moPr$3$H$L$L$IT3PH       "); break; }
            case 45:{ Local.SetClanTag("moP$r$3$H$L$LIT3PH       "); break; }
            case 46:{ Local.SetClanTag("mo$P$r$3$H$LLIT3PH       "); break; }
            case 47:{ Local.SetClanTag("m$o$P$r$3$HLLIT3PH       "); break; }
            case 48:{ Local.SetClanTag("$m$o$P$r$3HLLIT3PH       "); break; }
            case 49:{ Local.SetClanTag("$$m$o$P$r3HLLIT3PH       "); break; }
            case 50:{ Local.SetClanTag("$$$m$o$Pr3HLLIT3PH       "); break; }
            case 51:{ Local.SetClanTag("$$$$m$oPr3HLLIT3PH       "); break; }
            case 52:{ Local.SetClanTag("$$$$$moPr3HLLIT3PH       "); break; }
            case 53:{ Local.SetClanTag("$$$$moPr3HLLIT3PH       "); break; }
            case 54:{ Local.SetClanTag("$$$moPr3HLLIT3PH       "); break; }
            case 55:{ Local.SetClanTag("$$moPr3HLLIT3PH       "); break; }
            case 56:{ Local.SetClanTag("$moPr3HLLIT3PH       "); break; }
            case 57:{ Local.SetClanTag("$moPr3HLLIT3PH      "); break; }
            case 58:{ Local.SetClanTag("$moPr3HLLIT3PH     "); break; }
            case 59:{ Local.SetClanTag("$moPr3HLLIT3PH    "); break; }
            case 60:{ Local.SetClanTag("$moPr3HLLIT3PH   "); break; }
            case 61:{ Local.SetClanTag("$moPr3HLLIT3PH  "); break; }
            case 62:{ Local.SetClanTag("$moPr3HLLIT3P "); break; }
            case 63:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 64:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 65:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 66:{ Local.SetClanTag("$moPr3HLL"); break; }
            case 67:{ Local.SetClanTag("$moPr3HL"); break; }
            case 68:{ Local.SetClanTag("$moPr3H"); break; }
            case 69:{ Local.SetClanTag("$moPr3"); break; }
            case 70:{ Local.SetClanTag("$moPr"); break; }
            case 71:{ Local.SetClanTag("$moP"); break; }
            case 72:{ Local.SetClanTag("$mo"); break; }
            case 73:{ Local.SetClanTag("$m"); break; }
            case 74:{ Local.SetClanTag(""); break; }
        }
    }
    lasttime = time;
}

function morgensay() { // дамагсей
    if(UI.GetValue.apply(null, checkbox)) {
        const attacker_id = Event.GetInt("attacker");
        const attacker_weapon = Event.GetString("weapon");
        if(Entity.IsLocalPlayer(Entity.GetEntityFromUserID(attacker_id))) {
            Cheat.ExecuteCommand("say " + opener[Math.floor(Math.random() * opener.length)] + " " + joiner[Math.floor(Math.random() * joiner.length)] + test[Math.floor(Math.random() * test.length)] );
        }
    }
}

function roundstart() { // начало раунда
    const roundstarte = ["Я использую легендарный m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundstarte);
}

function roundend() {
    const roundende = ["Этот раунд был спонсирован легендарным m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundende);
}

function da_syka_noviy_avtomat() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        const avtomat = ["да сука новый автомат"];
        victim = Event.GetInt("userid");
        victim_index = Entity.GetEntityFromUserID(victim);
        if (victim_index == me) {
            started = Global.Realtime();
            avtomate = true;

            Cheat.ExecuteCommand("voice_loopback 1");
            Cheat.ExecuteCommand("say " + avtomat);
            Sound.PlayMicrophone("ot/morgenshtern/morgenkto.wav");
        }
    }
}

function MORGENSTERN_ON_PEEK() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            jump = true;
            Sound.PlayMicrophone("ot/morgenshtern/prijok.wav");
        }
    }
}

function gandon() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            umer = true;
            Sound.PlayMicrophone("ot/morgenshtern/blyat.wav");
        }
    }
}

function mvpmvp() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            mvp = true;
            Sound.PlayMicrophone("ot/morgenshtern/ebrot.wav");
        }
    }
}

function freezeend() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        fre = true;
        Sound.PlayMicrophone("ot/morgenshtern/pognali.wav");
    }
}

function plant() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        plan = true;
        Sound.PlayMicrophone("ot/morgenshtern/pizda.wav");
    }
}

function bd() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        bdd = true;
        Sound.PlayMicrophone("ot/morgenshtern/pidor.wav");
    }
}

function reset() {
    if (avtomate && Math.abs(started + 2.25 - Global.Realtime()) < 0.05) {
        avtomate = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset2() {
    if (jump && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        jump = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset3() {
    if (roundstarted && Math.abs(started + 1.25 - Global.Realtime()) < 0.05) {
        roundstarted = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset4() {
    if (umer && Math.abs(started + .6 - Global.Realtime()) < 0.05) {
        umer = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset5() {
    if (mvp && Math.abs(started + 1.40 - Global.Realtime()) < 0.05) {
        mvp = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset6() {
    if (fre && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        fre = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset7() {
    if (plan && Math.abs(started + 1.30 - Global.Realtime()) < 0.05) {
        plan = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset8() {
    if (bdd && Math.abs(started + 20 - Global.Realtime()) < 0.05) {
        bdd = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function HSVtoRGB(h, s, v) {
    var r, g, b, i, f, p, q, t;

    i = Math.floor(h * 6);
    f = h * 6 - i;
    p = v * (1 - s);
    q = v * (1 - f * s);
    t = v * (1 - (1 - f) * s);

    switch (i % 6) {
        case 0: r = v, g = t, b = p; break;
        case 1: r = q, g = v, b = p; break;
        case 2: r = p, g = v, b = t; break;
        case 3: r = p, g = q, b = v; break;
        case 4: r = t, g = p, b = v; break;
        case 5: r = v, g = p, b = q; break;
    }

    return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) };
}

function valueEe(name) {
    var value = UI.GetValue("MISC", "JAVASCRIPT", "Script items", name);
    return value;
}

function morgenmark() {   // как мне сказали похоже на фаталити но мне чисто похуй
    if (!World.GetServerString()) return;
    RenderFrame2 = Render.AddTexture("ot/morgenshtern/morgen.png");
    colors = HSVtoRGB(Global.Realtime() * UI.GetValue("MISC", "JAVASCRIPT", "Script Items", "MORGENMARK color speed"), 1, 1);
    x = valueEe("MORGENMARK X");
    y = valueEe("MORGENMARK Y");
    Render.FilledRect( x + 46, y , 324, 41, [ 10, 10, 10, 100 ] );
    Render.TexturedRect( x + 50, y + 7, 315, 32 , RenderFrame2 );
    Render.Rect( x + 50, y + 5, 315, 32, [ 50, 50, 50, 255 ] );
    Render.GradientRect(x + 50, y + 5, 315, 1, 1, [colors.g, colors.b, colors.r, 255], [colors.r, colors.g, colors.b, 255]);
    var font = Render.AddFont("Verdana", 7, 800)
    const map = World.GetMapName();
    const tickrate = Global.Tickrate()
    const fps = Math.floor( 1 / Global.Frametime() );
    const ping = Math.floor(Global.Latency() * 1000 / 1.5 );
    const kills = Entity.GetProp(me, 'CPlayerResource', 'm_iKills');
    const deaths = Entity.GetProp(me, 'CPlayerResource', 'm_iDeaths');
    // FPS
    Render.StringCustom( x + 78, y + 15, 1, "FPS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 101, y + 15, 1, "" + fps, [ 0, 0, 0, 255 ], font );

    // PING
    Render.StringCustom( x + 155, y + 15, 1, "PING: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 184, y + 15, 1, "" + ping, [ 255, 255, 255, 255 ], font );

    // KILLS
    Render.StringCustom( x + 233, y + 15, 1, "KILLS: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 258, y + 15, 1, "" + kills, [ 255, 255, 255, 255 ], font );

    // DEATHS
    Render.StringCustom( x + 311, y + 15, 1, "DEATHS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 342, y + 15, 1, "" + deaths, [ 0, 0, 0, 255 ], font );

}

/*
UI.AddCheckbox("MORGENDICKATORS");

function morgendickatorepta() {
    var font2 = Render.AddFont("Smallest Pixel-7", 11, 0)
    if (Entity.IsAlive(Entity.GetLocalPlayer())) {
        check = UI.GetValue("Script Items", "MORGENDICKATORS")
        if (check == true) {
            E6atb_4e_et0_tak0ee = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");
            EBATb_TbI_cyKa = UI.IsHotkeyActive("Misc", "Movement", "Auto peek");
            var AAAAAAAAAAA = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 25, 1, E6atb_4e_et0_tak0ee ? "MORGENTAP" : "", E6atb_4e_et0_tak0ee ? [ 255, 140, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 35, 1, EBATb_TbI_cyKa ? "MORGENPEEK" : "", EBATb_TbI_cyKa ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 45, 1, AAAAAAAAAAA ? "MORGENHIDE" : "", AAAAAAAAAAA ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
        }
    }
}
morgendickatorepta();
*/

function morgenyaw_ind() { // индикатор угла десинка спиздил откудато незнаю откуда
    if(UI.GetValue.apply(null, morgenaaindicator)) {
        if (!Entity.IsValid(me) || !Entity.IsAlive(me)) return;
        font = Render.AddFont("Verdana", 8, 400);
        x = screensize[0];
        y = screensize[1];
        col = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "MORGENAA color");
        real_yaw = Local.GetRealYaw();
        fake_yaw = Local.GetFakeYaw();
        delta = Math.min(Math.abs(real_yaw - fake_yaw) / 2, 60).toFixed(0);
        delta_size = Render.TextSizeCustom(delta, font);
        Render.StringCustom(x / 2, y / 2 + 20, 1, delta, [255, 255, 255, 255], font);
        Render.Circle(x / 2 + delta_size[0] - 2, y / 2 + 25, 2, [255, 255, 255, 255])
        Render.GradientRect(x / 2, y / 2 + 40, (125 / 60) * delta, 5, 1, col, [0, 0, 0, 0]);
        Render.GradientRect(x / 2 - (125 / 60) * delta + 1, y / 2 + 40, (125 / 60) * delta, 5, 1, [0, 0, 0, 0], col);
    }
}

function MorgenAA() {
    var Onkey = false

    if (isActive("MORGEN AA BIND")) {
       Onkey = true
    }
    if (Onkey == true && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "MORGEN AA")) {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 12);
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-29);
    }
    else {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
        AntiAim.SetOverride(0);
    }
}

var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")


function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || weapon_name == "g3sg1")
    {
        return true
    }
}
/*
function isPistol(name) {
    if (name == "glock 18")
}
*/
function mindamak() {
    heavy_value = UI.GetValue("Script items", "R8/DIGL) MINDMG")
    scout_value = UI.GetValue("Script items", "SKAUT MINDMG")
    awp_value = UI.GetValue("Script items", "AWP MINDMG")
    auto_value = UI.GetValue("Script items", "SCAR MINDMG")
    weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))

    if (isActive("R8/DIGL)") && isHeavyPistol(weapon_name))
    {
        setValue("HEAVY PISTOL", heavy_value)
    }
    else{
        setValue("HEAVY PISTOL", heavy_cache)
    }

    if (isActive("SKAUT") && weapon_name == "ssg 08")
    {
        setValue("SCOUT", scout_value)
    }
    else{
        setValue("SCOUT", scout_cache)
    }

    if (isActive("AWP") && weapon_name == "awp")
    {
        setValue("AWP", awp_value)
    }
    else{
        setValue("AWP", awp_cache)
    }

    if (isActive("SCAR") && isAutoSniper(weapon_name))
    {
     
        setValue("AUTOSNIPER", auto_value)
    }
    else
    {
        setValue("AUTOSNIPER", auto_cache)
    }
   

}
function morgendmg_ind() {
    screen = Render.GetScreenSize()
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    x = screen[0]/2.07
    y = screen[0]/3.8
    heavy = "DMG: " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = "DMG: " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = "DMG: " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = "DMG: " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    var str = ""
    if (UI.GetValue("Script items", "MORGENDMG INDICATOR") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
    }
    Render.String(x, y, 0, str+"", [255,255,255,255]);
}

Cheat.RegisterCallback("Draw", "morgendmg_ind");
Cheat.RegisterCallback("CreateMove", "mindamak");
Cheat.RegisterCallback("Draw", "yakrutoi");
Cheat.RegisterCallback("CreateMove", "MorgenAA");
Cheat.RegisterCallback("Draw", "morgenyaw_ind");
Global.RegisterCallback("Draw", "morgenmark");
Cheat.RegisterCallback("Draw", "menu1");
Cheat.RegisterCallback("Draw", "morgenbind");
//Cheat.RegisterCallback("Draw", "morgendickatorepta");
Cheat.RegisterCallback("FrameStageNotify", "reset");
Cheat.RegisterCallback("FrameStageNotify", "reset2");
Cheat.RegisterCallback("FrameStageNotify", "reset3");
Cheat.RegisterCallback("FrameStageNotify", "reset4");
Cheat.RegisterCallback("FrameStageNotify", "reset5");
Cheat.RegisterCallback("FrameStageNotify", "reset6");
Cheat.RegisterCallback("FrameStageNotify", "reset7");
Cheat.RegisterCallback("FrameStageNotify", "reset8");
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat");
Cheat.RegisterCallback("player_death","gandon");
Cheat.RegisterCallback("round_start","roundstart");
Cheat.RegisterCallback("round_end","roundend");
Cheat.RegisterCallback("player_jump", "MORGENSTERN_ON_PEEK");
Cheat.RegisterCallback("round_mvp", "mvpmvp");
Cheat.RegisterCallback("round_freeze_end", "freezeend");
Cheat.RegisterCallback("bomb_planted", "plant");
Cheat.RegisterCallback("bomb_begindefuse", "bd")
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat")
Cheat.RegisterCallback("player_hurt", "morgensay");
Cheat.RegisterCallback("Draw", "morgentag");
Их раздобыть легкооо..
Давно дед инсайом стал?
 
Последнее редактирование:
Забаненный
Статус
Оффлайн
Регистрация
25 Мар 2021
Сообщения
23
Реакции[?]
9
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Код:
const build = "[beta]";
UI.AddLabel("m0Pr3HLLIT3PHc0rd v1.1");
UI.AddLabel("BePCu9: " + build);
UI.AddLabel("by zapp04 & MuCTeP CoCuCTeP");
const cordversion = "1.1";
const me = Entity.GetLocalPlayer();
const screensize = Global.GetScreenSize();
const opener = ["да сука новый", "да я богатый", "цепь на мне это", "трек моргена будто", "самый богатый", "у меня", "мое ебало", "самый свежий", "у у у у у", "пиздец", "кадилак кадилак", "делаю деньги будто", "э э эл примьеро с огромным", "я босс ты тупо", "у меня проблема", "выеб города и", "ныне мою жопу возит новый", "лали лалипоп за ним ныряет", "в моих руках твой", "думал будет бас получился", "эй эй", "бич я вешу как молодой", "композитор алишер тагирович", "пальцем щелк и", "самый", "мной гордился бы мой", "я", "папапа", "еду к", "не поверишь", "самый сытный", "я его", "четыре украинки", "на моем запясти", "она ест"];
const joiner = ["вантап кряк", "миссед шот", "автомат", "рататата", "хвх овнер 1488", "айс", "хуй", "цепи", "золото", "уебок", "денег так много", "коробка", "кадилак", "это новый кадилак", "моргенштерн", "хер", "бабки", "лямба или фера", "шоколад", "фанат", "трах", "зад", "наебал", "френко", "бит", "папа", "сука", "рот", "шут", "ублюдок", "бро", "вот так", "дикий", "блять", "пыль", "сьел деда", "дед", "непоседа", "любимки", "пенивайс"];
const test = ["!", "?", " "];
const checkbox = UI.AddCheckbox("m0Pr3HLLIT3PH say");
const ozvuchka = UI.AddCheckbox("03By4Ka 0T m0Pr3HLLIT3PHa");
const morgenaa = UI.AddCheckbox("MORGEN AA");
const morgenaabind = UI.AddHotkey("MORGEN AA BIND");
const morgenaaindicator = UI.AddCheckbox("MORGENAA INDICATOR");
UI.AddColorPicker("MORGENAA color");
var lasttime = 0;
var started = 0.0;

avtomate = false;
jump = false;
roundstarted = false;
umer = false;
mvp = false;
fre = false;
plan = false;
bdd = false;

UI.AddCheckbox("MORGENDMG INDICATOR")
UI.AddHotkey("R8/DIGL)")
UI.AddSliderInt("R8/DIGL) MINDMG", 0, 130)
UI.AddHotkey("SKAUT")
UI.AddSliderInt("SKAUT MINDMG", 0, 130)
UI.AddHotkey("AWP")
UI.AddSliderInt("AWP MINDMG", 0, 130)
UI.AddHotkey("SCAR")
UI.AddSliderInt("SCAR MINDMG", 0, 130)
UI.AddCheckbox("MORGEN DT");
UI.AddSliderInt( "CKoJIKo XyeB Tb| CoCaJI", 228, 1488 );
UI.AddCheckbox("noxyu He Pa6oTaeT");
UI.AddCheckbox("MORGENPEEK");
UI.AddHotkey( "MORGEN BIND $$$$" );
UI.AddMultiDropdown( "ga cyKa HoBb|u aBToMaT", [ "47AKA", "cyKa Mb| naJIuM roPoga", "PaTaTaTaTA", "ga cyKa eTo Ha BeKa" ] );
UI.AddSliderInt("MORGENMARK X", -45, screensize[0]);
UI.AddSliderInt("MORGENMARK Y", 0, screensize[1]);
UI.AddSliderFloat('MORGENMARK color speed', 0.0, 5.0);
UI.AddCheckbox("Ha>|<Mu 4ToBb| CTaTb KPyTb|M");

function isActive(a) {
    return UI.IsHotkeyActive("Script items", a)
}

function yakrutoi() {
    if (UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M") == 1) {
        UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", false );
    } else
    UI.SetEnabled( "Misc", "JAVASCRIPT", "Scripts", "Reload All", true );
}

function morgenbind() { // бинд
    var dadadadada = UI.IsHotkeyActive("Script Items", "MORGEN BIND $$$$");
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    if (dadadadada == 1 && yakryt == 1) {
        font = Render.AddFont( "IMPACT", 70, 100);
        RenderFrame = Render.AddTexture("ot/morgenshtern/aye.png");
        Render.StringCustom( 430, 100, 0, "POSHEL NAXUI", [ 255, 255, 255, 255 ], font );
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame);
    }
}

function menu1() {
    var yakryt = UI.GetValue("Script Items", "Ha>|<Mu 4ToBb| CTaTb KPyTb|M");
    RenderFrame1 = Render.AddTexture("ot/morgenshtern/img.png");
    if (UI.IsMenuOpen() == true && yakryt == 1) {
        Render.TexturedRect(Global.GetScreenSize() - 0, Global.GetScreenSize()[1] - Global.GetScreenSize()[1], Global.GetScreenSize()[0], Global.GetScreenSize()[1], RenderFrame1);
    }
}


function morgentag() { // клантег
    if (!World.GetServerString()) return;
    var tag = UI.GetValue( "Script Items", "MorgenTag" );
    var speed = 4;
    var time = parseInt((Globals.Curtime() * speed))
    if (time != lasttime) {
        switch((time) % 74) {
            case 1: { Local.SetClanTag(""); break; }
            case 2: { Local.SetClanTag("$m"); break; }
            case 3: { Local.SetClanTag("$mo"); break; }
            case 4: { Local.SetClanTag("$moP"); break; }
            case 5: { Local.SetClanTag("$moPr"); break; }
            case 6: { Local.SetClanTag("$moPr3"); break; }
            case 7: { Local.SetClanTag("$moPr3H"); break; }
            case 8: { Local.SetClanTag("$moPr3HL"); break; }
            case 9: { Local.SetClanTag("$moPr3HLL"); break; }
            case 10:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 11:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 12:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 13:{ Local.SetClanTag("$moPr3HLLIT3P"); break; }
            case 14:{ Local.SetClanTag("$moPr3HLLIT3PH"); break; }
            case 15:{ Local.SetClanTag("m$oPr3HLLIT3PH "); break; }
            case 16:{ Local.SetClanTag("mo$Pr3HLLIT3PH  "); break; }
            case 17:{ Local.SetClanTag("moP$r3HLLIT3PH   "); break; }
            case 18:{ Local.SetClanTag("moPr$3HLLIT3PH    "); break; }
            case 19:{ Local.SetClanTag("moPr3$HLLIT3PH     "); break; }
            case 20:{ Local.SetClanTag("moPr3H$LLIT3PH      "); break; }
            case 21:{ Local.SetClanTag("moPr3HL$LIT3PH       "); break; }
            case 22:{ Local.SetClanTag("moPr3HLL$IT3PH       "); break; }
            case 23:{ Local.SetClanTag("moPr3HLLI$T3PH       "); break; }
            case 24:{ Local.SetClanTag("moPr3HLLIT$3PH       "); break; }
            case 25:{ Local.SetClanTag("moPr3HLLIT3$PH       "); break; }
            case 26:{ Local.SetClanTag("moPr3HLLIT3P$H       "); break; }
            case 27:{ Local.SetClanTag("moPr3HLLIT3PH$       "); break; }
            case 28:{ Local.SetClanTag("moPr3HLLIT3PH$$       "); break; }
            case 29:{ Local.SetClanTag("moPr3HLLIT3PH$$$       "); break; }
            case 30:{ Local.SetClanTag("moPr3HLLIT3PH$$$$       "); break; }
            case 31:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 32:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 33:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 34:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 35:{ Local.SetClanTag("moPr3HLLIT3PH$$$$$       "); break; }
            case 36:{ Local.SetClanTag("moPr3HLLIT3P$H$$$$       "); break; }
            case 37:{ Local.SetClanTag("moPr3HLLIT3$P$H$$$       "); break; }
            case 38:{ Local.SetClanTag("moPr3HLLIT$3$P$H$$       "); break; }
            case 39:{ Local.SetClanTag("moPr3HLLI$T$3$P$H$       "); break; }
            case 40:{ Local.SetClanTag("moPr3HLL$I$T$3$P$H       "); break; }
            case 41:{ Local.SetClanTag("moPr3HL$L$I$T$3$PH       "); break; }
            case 42:{ Local.SetClanTag("moPr3H$L$L$I$T$3PH       "); break; }
            case 43:{ Local.SetClanTag("moPr3$H$L$L$I$T3PH       "); break; }
            case 44:{ Local.SetClanTag("moPr$3$H$L$L$IT3PH       "); break; }
            case 45:{ Local.SetClanTag("moP$r$3$H$L$LIT3PH       "); break; }
            case 46:{ Local.SetClanTag("mo$P$r$3$H$LLIT3PH       "); break; }
            case 47:{ Local.SetClanTag("m$o$P$r$3$HLLIT3PH       "); break; }
            case 48:{ Local.SetClanTag("$m$o$P$r$3HLLIT3PH       "); break; }
            case 49:{ Local.SetClanTag("$$m$o$P$r3HLLIT3PH       "); break; }
            case 50:{ Local.SetClanTag("$$$m$o$Pr3HLLIT3PH       "); break; }
            case 51:{ Local.SetClanTag("$$$$m$oPr3HLLIT3PH       "); break; }
            case 52:{ Local.SetClanTag("$$$$$moPr3HLLIT3PH       "); break; }
            case 53:{ Local.SetClanTag("$$$$moPr3HLLIT3PH       "); break; }
            case 54:{ Local.SetClanTag("$$$moPr3HLLIT3PH       "); break; }
            case 55:{ Local.SetClanTag("$$moPr3HLLIT3PH       "); break; }
            case 56:{ Local.SetClanTag("$moPr3HLLIT3PH       "); break; }
            case 57:{ Local.SetClanTag("$moPr3HLLIT3PH      "); break; }
            case 58:{ Local.SetClanTag("$moPr3HLLIT3PH     "); break; }
            case 59:{ Local.SetClanTag("$moPr3HLLIT3PH    "); break; }
            case 60:{ Local.SetClanTag("$moPr3HLLIT3PH   "); break; }
            case 61:{ Local.SetClanTag("$moPr3HLLIT3PH  "); break; }
            case 62:{ Local.SetClanTag("$moPr3HLLIT3P "); break; }
            case 63:{ Local.SetClanTag("$moPr3HLLIT3"); break; }
            case 64:{ Local.SetClanTag("$moPr3HLLIT"); break; }
            case 65:{ Local.SetClanTag("$moPr3HLLI"); break; }
            case 66:{ Local.SetClanTag("$moPr3HLL"); break; }
            case 67:{ Local.SetClanTag("$moPr3HL"); break; }
            case 68:{ Local.SetClanTag("$moPr3H"); break; }
            case 69:{ Local.SetClanTag("$moPr3"); break; }
            case 70:{ Local.SetClanTag("$moPr"); break; }
            case 71:{ Local.SetClanTag("$moP"); break; }
            case 72:{ Local.SetClanTag("$mo"); break; }
            case 73:{ Local.SetClanTag("$m"); break; }
            case 74:{ Local.SetClanTag(""); break; }
        }
    }
    lasttime = time;
}

function morgensay() { // дамагсей
    if(UI.GetValue.apply(null, checkbox)) {
        const attacker_id = Event.GetInt("attacker");
        const attacker_weapon = Event.GetString("weapon");
        if(Entity.IsLocalPlayer(Entity.GetEntityFromUserID(attacker_id))) {
            Cheat.ExecuteCommand("say " + opener[Math.floor(Math.random() * opener.length)] + " " + joiner[Math.floor(Math.random() * joiner.length)] + test[Math.floor(Math.random() * test.length)] );
        }
    }
}

function roundstart() { // начало раунда
    const roundstarte = ["Я использую легендарный m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundstarte);
}

function roundend() {
    const roundende = ["Этот раунд был спонсирован легендарным m0Pr3HLLIT3PHc0rd v." + cordversion + " " + build + " (◣_◢)"];
    Cheat.ExecuteCommand("say " + roundende);
}

function da_syka_noviy_avtomat() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        const avtomat = ["да сука новый автомат"];
        victim = Event.GetInt("userid");
        victim_index = Entity.GetEntityFromUserID(victim);
        if (victim_index == me) {
            started = Global.Realtime();
            avtomate = true;

            Cheat.ExecuteCommand("voice_loopback 1");
            Cheat.ExecuteCommand("say " + avtomat);
            Sound.PlayMicrophone("ot/morgenshtern/morgenkto.wav");
        }
    }
}

function MORGENSTERN_ON_PEEK() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            jump = true;
            Sound.PlayMicrophone("ot/morgenshtern/prijok.wav");
        }
    }
}

function gandon() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            umer = true;
            Sound.PlayMicrophone("ot/morgenshtern/blyat.wav");
        }
    }
}

function mvpmvp() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        gandon = Event.GetInt("userid");
        gandon_index = Entity.GetEntityFromUserID(gandon);
        if (gandon_index == me) {
            Cheat.ExecuteCommand("voice_loopback 1");
            started = Global.Realtime();
            mvp = true;
            Sound.PlayMicrophone("ot/morgenshtern/ebrot.wav");
        }
    }
}

function freezeend() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        fre = true;
        Sound.PlayMicrophone("ot/morgenshtern/pognali.wav");
    }
}

function plant() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        plan = true;
        Sound.PlayMicrophone("ot/morgenshtern/pizda.wav");
    }
}

function bd() {
    if(UI.GetValue.apply(null, ozvuchka)) {
        Cheat.ExecuteCommand("voice_loopback 1");
        started = Global.Realtime();
        bdd = true;
        Sound.PlayMicrophone("ot/morgenshtern/pidor.wav");
    }
}

function reset() {
    if (avtomate && Math.abs(started + 2.25 - Global.Realtime()) < 0.05) {
        avtomate = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset2() {
    if (jump && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        jump = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset3() {
    if (roundstarted && Math.abs(started + 1.25 - Global.Realtime()) < 0.05) {
        roundstarted = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset4() {
    if (umer && Math.abs(started + .6 - Global.Realtime()) < 0.05) {
        umer = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset5() {
    if (mvp && Math.abs(started + 1.40 - Global.Realtime()) < 0.05) {
        mvp = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset6() {
    if (fre && Math.abs(started + .5 - Global.Realtime()) < 0.05) {
        fre = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset7() {
    if (plan && Math.abs(started + 1.30 - Global.Realtime()) < 0.05) {
        plan = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function reset8() {
    if (bdd && Math.abs(started + 20 - Global.Realtime()) < 0.05) {
        bdd = false;
        Sound.StopMicrophone();
        Global.ExecuteCommand("voice_loopback 0");
    }
}

function HSVtoRGB(h, s, v) {
    var r, g, b, i, f, p, q, t;

    i = Math.floor(h * 6);
    f = h * 6 - i;
    p = v * (1 - s);
    q = v * (1 - f * s);
    t = v * (1 - (1 - f) * s);

    switch (i % 6) {
        case 0: r = v, g = t, b = p; break;
        case 1: r = q, g = v, b = p; break;
        case 2: r = p, g = v, b = t; break;
        case 3: r = p, g = q, b = v; break;
        case 4: r = t, g = p, b = v; break;
        case 5: r = v, g = p, b = q; break;
    }

    return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) };
}

function valueEe(name) {
    var value = UI.GetValue("MISC", "JAVASCRIPT", "Script items", name);
    return value;
}

function morgenmark() {   // как мне сказали похоже на фаталити но мне чисто похуй
    if (!World.GetServerString()) return;
    RenderFrame2 = Render.AddTexture("ot/morgenshtern/morgen.png");
    colors = HSVtoRGB(Global.Realtime() * UI.GetValue("MISC", "JAVASCRIPT", "Script Items", "MORGENMARK color speed"), 1, 1);
    x = valueEe("MORGENMARK X");
    y = valueEe("MORGENMARK Y");
    Render.FilledRect( x + 46, y , 324, 41, [ 10, 10, 10, 100 ] );
    Render.TexturedRect( x + 50, y + 7, 315, 32 , RenderFrame2 );
    Render.Rect( x + 50, y + 5, 315, 32, [ 50, 50, 50, 255 ] );
    Render.GradientRect(x + 50, y + 5, 315, 1, 1, [colors.g, colors.b, colors.r, 255], [colors.r, colors.g, colors.b, 255]);
    var font = Render.AddFont("Verdana", 7, 800)
    const map = World.GetMapName();
    const tickrate = Global.Tickrate()
    const fps = Math.floor( 1 / Global.Frametime() );
    const ping = Math.floor(Global.Latency() * 1000 / 1.5 );
    const kills = Entity.GetProp(me, 'CPlayerResource', 'm_iKills');
    const deaths = Entity.GetProp(me, 'CPlayerResource', 'm_iDeaths');
    // FPS
    Render.StringCustom( x + 78, y + 15, 1, "FPS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 101, y + 15, 1, "" + fps, [ 0, 0, 0, 255 ], font );

    // PING
    Render.StringCustom( x + 155, y + 15, 1, "PING: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 184, y + 15, 1, "" + ping, [ 255, 255, 255, 255 ], font );

    // KILLS
    Render.StringCustom( x + 233, y + 15, 1, "KILLS: ", [ 255, 255, 255, 255 ], font );
    Render.StringCustom( x + 258, y + 15, 1, "" + kills, [ 255, 255, 255, 255 ], font );

    // DEATHS
    Render.StringCustom( x + 311, y + 15, 1, "DEATHS: ", [ 0, 0, 0, 255 ], font );
    Render.StringCustom( x + 342, y + 15, 1, "" + deaths, [ 0, 0, 0, 255 ], font );

}

/*
UI.AddCheckbox("MORGENDICKATORS");

function morgendickatorepta() {
    var font2 = Render.AddFont("Smallest Pixel-7", 11, 0)
    if (Entity.IsAlive(Entity.GetLocalPlayer())) {
        check = UI.GetValue("Script Items", "MORGENDICKATORS")
        if (check == true) {
            E6atb_4e_et0_tak0ee = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");
            EBATb_TbI_cyKa = UI.IsHotkeyActive("Misc", "Movement", "Auto peek");
            var AAAAAAAAAAA = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 25, 1, E6atb_4e_et0_tak0ee ? "MORGENTAP" : "", E6atb_4e_et0_tak0ee ? [ 255, 140, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 35, 1, EBATb_TbI_cyKa ? "MORGENPEEK" : "", EBATb_TbI_cyKa ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
            Render.StringCustom(screensize[0] / 2 + 2, screensize[1] / 2 + 45, 1, AAAAAAAAAAA ? "MORGENHIDE" : "", AAAAAAAAAAA ? [ 0, 255, 0, 255 ] : [ 255, 0, 0, 255 ], font2 );
        }
    }
}
morgendickatorepta();
*/

function morgenyaw_ind() { // индикатор угла десинка спиздил откудато незнаю откуда
    if(UI.GetValue.apply(null, morgenaaindicator)) {
        if (!Entity.IsValid(me) || !Entity.IsAlive(me)) return;
        font = Render.AddFont("Verdana", 8, 400);
        x = screensize[0];
        y = screensize[1];
        col = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "MORGENAA color");
        real_yaw = Local.GetRealYaw();
        fake_yaw = Local.GetFakeYaw();
        delta = Math.min(Math.abs(real_yaw - fake_yaw) / 2, 60).toFixed(0);
        delta_size = Render.TextSizeCustom(delta, font);
        Render.StringCustom(x / 2, y / 2 + 20, 1, delta, [255, 255, 255, 255], font);
        Render.Circle(x / 2 + delta_size[0] - 2, y / 2 + 25, 2, [255, 255, 255, 255])
        Render.GradientRect(x / 2, y / 2 + 40, (125 / 60) * delta, 5, 1, col, [0, 0, 0, 0]);
        Render.GradientRect(x / 2 - (125 / 60) * delta + 1, y / 2 + 40, (125 / 60) * delta, 5, 1, [0, 0, 0, 0], col);
    }
}

function MorgenAA() {
    var Onkey = false

    if (isActive("MORGEN AA BIND")) {
       Onkey = true
    }
    if (Onkey == true && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "MORGEN AA")) {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 12);
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-29);
    }
    else {
        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
        AntiAim.SetOverride(0);
    }
}

var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")


function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || weapon_name == "g3sg1")
    {
        return true
    }
}
/*
function isPistol(name) {
    if (name == "glock 18")
}
*/
function mindamak() {
    heavy_value = UI.GetValue("Script items", "R8/DIGL) MINDMG")
    scout_value = UI.GetValue("Script items", "SKAUT MINDMG")
    awp_value = UI.GetValue("Script items", "AWP MINDMG")
    auto_value = UI.GetValue("Script items", "SCAR MINDMG")
    weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))

    if (isActive("R8/DIGL)") && isHeavyPistol(weapon_name))
    {
        setValue("HEAVY PISTOL", heavy_value)
    }
    else{
        setValue("HEAVY PISTOL", heavy_cache)
    }

    if (isActive("SKAUT") && weapon_name == "ssg 08")
    {
        setValue("SCOUT", scout_value)
    }
    else{
        setValue("SCOUT", scout_cache)
    }

    if (isActive("AWP") && weapon_name == "awp")
    {
        setValue("AWP", awp_value)
    }
    else{
        setValue("AWP", awp_cache)
    }

    if (isActive("SCAR") && isAutoSniper(weapon_name))
    {
     
        setValue("AUTOSNIPER", auto_value)
    }
    else
    {
        setValue("AUTOSNIPER", auto_cache)
    }
   

}
function morgendmg_ind() {
    screen = Render.GetScreenSize()
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    x = screen[0]/2.07
    y = screen[0]/3.8
    heavy = "DMG: " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = "DMG: " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = "DMG: " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = "DMG: " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    var str = ""
    if (UI.GetValue("Script items", "MORGENDMG INDICATOR") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
    }
    Render.String(x, y, 0, str+"", [255,255,255,255]);
}

Cheat.RegisterCallback("Draw", "morgendmg_ind");
Cheat.RegisterCallback("CreateMove", "mindamak");
Cheat.RegisterCallback("Draw", "yakrutoi");
Cheat.RegisterCallback("CreateMove", "MorgenAA");
Cheat.RegisterCallback("Draw", "morgenyaw_ind");
Global.RegisterCallback("Draw", "morgenmark");
Cheat.RegisterCallback("Draw", "menu1");
Cheat.RegisterCallback("Draw", "morgenbind");
//Cheat.RegisterCallback("Draw", "morgendickatorepta");
Cheat.RegisterCallback("FrameStageNotify", "reset");
Cheat.RegisterCallback("FrameStageNotify", "reset2");
Cheat.RegisterCallback("FrameStageNotify", "reset3");
Cheat.RegisterCallback("FrameStageNotify", "reset4");
Cheat.RegisterCallback("FrameStageNotify", "reset5");
Cheat.RegisterCallback("FrameStageNotify", "reset6");
Cheat.RegisterCallback("FrameStageNotify", "reset7");
Cheat.RegisterCallback("FrameStageNotify", "reset8");
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat");
Cheat.RegisterCallback("player_death","gandon");
Cheat.RegisterCallback("round_start","roundstart");
Cheat.RegisterCallback("round_end","roundend");
Cheat.RegisterCallback("player_jump", "MORGENSTERN_ON_PEEK");
Cheat.RegisterCallback("round_mvp", "mvpmvp");
Cheat.RegisterCallback("round_freeze_end", "freezeend");
Cheat.RegisterCallback("bomb_planted", "plant");
Cheat.RegisterCallback("bomb_begindefuse", "bd")
Cheat.RegisterCallback("item_purchase", "da_syka_noviy_avtomat")
Cheat.RegisterCallback("player_hurt", "morgensay");
Cheat.RegisterCallback("Draw", "morgentag");
$$$ premium trash talk code $$$
 
Сверху Снизу