JS-скрипт MORGENSHTERN-LAGSYNC OTC3

@extrapink tg
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2019
Сообщения
256
Реакции[?]
139
Поинты[?]
9K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
JavaScript:
function addtomenu() {
    UI.AddSliderInt("                  ", 0, 0);
    UI.AddLabel("cadillac cadillac eto novii cadillac");
    UI.AddDropdown("Lagsync", ["Off", "Enable"]);
    UI.AddDropdown("Lagsync mode", ["Off", "Lagsync v0.3", "Lagsync [a]"]);
    UI.AddSliderFloat("switch delay", 0, 5);
    UI.AddLabel("      MORGENSTERN-EXPLOIT inc.   ");
    UI.AddSliderInt("                  ", 0, 0)
}
var aa = 1;
var aad = 1;
var lasttime = Global.Realtime();
var realtime = Global.Realtime();
var yawoffset = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
var jitteroffset = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
var de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
var status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH Way");
var yawnewoffset;

function randomIntFrom(a, b) {
    return Math.floor(Math.random() * (b - a + 1) + a)
}

function V1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", -7);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function V2() {
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 7);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function V3() {
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function S1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true)
}

function S2() {
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset)
}

function A1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function A2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function A3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function BR1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 0);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function BR2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-15, -25);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function BR3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -10);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function BRR1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -34);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function BRR2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-16, -7);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function BRR3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(2, -4);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function lagsyncmain() {
    mode = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode");
    breakermenu = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker");
    if (mode == 0) {
        lagsyncdisable()
    }
    if (mode == 1) {
        lagsyncv2()
    }
    if (mode == 2) {
        lagsyncv1()
    }
    if (mode == 3) {
        lagsyncv3()
    }
    if (breakermenu == 0) {
        breakerdisable()
    }
    if (breakermenu == 1) {
        breakerv1()
    }
    if (breakermenu == 2) {
        breakerv2()
    }
}

function breakerv1() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            BR1()
        }
        if (aa == 2) {
            BR2()
        }
        if (aa == 3) {
            BR3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncdisable() {}

function breakerv2() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            BRR1()
        }
        if (aa == 2) {
            BRR2()
        }
        if (aa == 3) {
            BRR3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function breakerdisable() {}

function lagsyncv1() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 2) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            S1()
        }
        if (aa == 2) {
            S2()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncv2() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            V1()
        }
        if (aa == 2) {
            V2()
        }
        if (aa == 3) {
            V3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncv3() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            A1()
        }
        if (aa == 2) {
            A2()
        }
        if (aa == 3) {
            A3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function main() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            S1()
        }
        if (aa == 2) {
            S2()
        }
        if (aa == 3) {
            S3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}
addtomenu();
UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "YAW Offset #1", yawoffset);
UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "JITTER Offset #1", jitteroffset);
Global.RegisterCallback("Draw", "lagsyncmain")
UI.AddSliderInt("DT", 0, 3);

function can_shift_shot(ticks_to_shift) {
    var me = Entity.GetLocalPlayer();
    var wpn = Entity.GetWeapon(me);

    if (me == null || wpn == null)
        return false;

    var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
    var curtime = Globals.TickInterval() * (tickbase-ticks_to_shift)

    if (curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack"))
        return false;

    if (curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack"))
        return false;

    return true;
}

function _TBC_CREATE_MOVE() {
    var is_charged = Exploit.GetCharge()
    var reserve = UI.GetValue("Misc", "JAVASCRIPT", "Script items")

    Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()

    if (can_shift_shot(1) && is_charged != 1) {
        Exploit.DisableRecharge();
        Exploit.Recharge(17)
    }

    Exploit.OverrideTolerance(reserve);
    Exploit.OverrideShift(17-reserve);
}

function _TBC_UNLOAD() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("CreateMove", "_TBC_CREATE_MOVE");
Cheat.RegisterCallback("Unload", "_TBC_UNLOAD");

        UI.AddSliderInt("                  ", 0, 0);
 
@extrapink tg
Забаненный
Статус
Оффлайн
Регистрация
24 Окт 2019
Сообщения
256
Реакции[?]
139
Поинты[?]
9K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Участник
Статус
Оффлайн
Регистрация
14 Сен 2019
Сообщения
856
Реакции[?]
248
Поинты[?]
2K
JavaScript:
function addtomenu() {
    UI.AddSliderInt("                  ", 0, 0);
    UI.AddLabel("cadillac cadillac eto novii cadillac");
    UI.AddDropdown("Lagsync", ["Off", "Enable"]);
    UI.AddDropdown("Lagsync mode", ["Off", "Lagsync v0.3", "Lagsync [a]"]);
    UI.AddSliderFloat("switch delay", 0, 5);
    UI.AddLabel("      MORGENSTERN-EXPLOIT inc.   ");
    UI.AddSliderInt("                  ", 0, 0)
}
var aa = 1;
var aad = 1;
var lasttime = Global.Realtime();
var realtime = Global.Realtime();
var yawoffset = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
var jitteroffset = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
var de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
var status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH Way");
var yawnewoffset;

function randomIntFrom(a, b) {
    return Math.floor(Math.random() * (b - a + 1) + a)
}

function V1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", -7);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function V2() {
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 7);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function V3() {
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function S1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true)
}

function S2() {
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset)
}

function A1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function A2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function A3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker", 0);
    yawnewoffset = randomIntFrom(-20, 20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function BR1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -20);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 0);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function BR2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-15, -25);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", false);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function BR3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -10);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function BRR1() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-10, -34);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "At targets", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 15)
}

function BRR2() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(-16, -7);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", false);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 5)
}

function BRR3() {
    UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode", 0);
    yawnewoffset = randomIntFrom(2, -4);
    UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yawnewoffset);
    UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 2);
    UI.SetValue("Anti-Aim", "Fake angles", "Fake desync", true);
    UI.SetValue("Anti-Aim", "Fake angles", "Avoid overlap", true);
    UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", 9)
}

function lagsyncmain() {
    mode = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync mode");
    breakermenu = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Breaker");
    if (mode == 0) {
        lagsyncdisable()
    }
    if (mode == 1) {
        lagsyncv2()
    }
    if (mode == 2) {
        lagsyncv1()
    }
    if (mode == 3) {
        lagsyncv3()
    }
    if (breakermenu == 0) {
        breakerdisable()
    }
    if (breakermenu == 1) {
        breakerv1()
    }
    if (breakermenu == 2) {
        breakerv2()
    }
}

function breakerv1() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            BR1()
        }
        if (aa == 2) {
            BR2()
        }
        if (aa == 3) {
            BR3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncdisable() {}

function breakerv2() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            BRR1()
        }
        if (aa == 2) {
            BRR2()
        }
        if (aa == 3) {
            BRR3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function breakerdisable() {}

function lagsyncv1() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 2) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            S1()
        }
        if (aa == 2) {
            S2()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncv2() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            V1()
        }
        if (aa == 2) {
            V2()
        }
        if (aa == 3) {
            V3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function lagsyncv3() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            A1()
        }
        if (aa == 2) {
            A2()
        }
        if (aa == 3) {
            A3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}

function main() {
    status = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Lagsync");
    de = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "SWITCH delay");
    realtime = Global.Realtime();
    if (realtime - lasttime >= de) {
        if (status == 1) {
            aad = 1 + Math.floor(Math.random() * 3);
            aa = aad
        }
        if (status == 2) {
            aad = aa + 1;
            if (aad > 3) {
                aad = 1
            }
            aa = aad
        }
        if (aa == 1) {
            S1()
        }
        if (aa == 2) {
            S2()
        }
        if (aa == 3) {
            S3()
        }
        lasttime = realtime
    }
    if (realtime < lasttime) {
        lasttime = Global.Realtime();
        realtime = Global.Realtime()
    }
}
addtomenu();
UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "YAW Offset #1", yawoffset);
UI.SetValue("Misc", "JAVASCRIPT", "Script Items", "JITTER Offset #1", jitteroffset);
Global.RegisterCallback("Draw", "lagsyncmain")
UI.AddSliderInt("DT", 0, 3);

function can_shift_shot(ticks_to_shift) {
    var me = Entity.GetLocalPlayer();
    var wpn = Entity.GetWeapon(me);

    if (me == null || wpn == null)
        return false;

    var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
    var curtime = Globals.TickInterval() * (tickbase-ticks_to_shift)

    if (curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack"))
        return false;

    if (curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack"))
        return false;

    return true;
}

function _TBC_CREATE_MOVE() {
    var is_charged = Exploit.GetCharge()
    var reserve = UI.GetValue("Misc", "JAVASCRIPT", "Script items")

    Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()

    if (can_shift_shot(1) && is_charged != 1) {
        Exploit.DisableRecharge();
        Exploit.Recharge(17)
    }

    Exploit.OverrideTolerance(reserve);
    Exploit.OverrideShift(17-reserve);
}

function _TBC_UNLOAD() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("CreateMove", "_TBC_CREATE_MOVE");
Cheat.RegisterCallback("Unload", "_TBC_UNLOAD");

        UI.AddSliderInt("                  ", 0, 0);
upd: ну-да, ну-да, тема с марта, а я как еблан написал
 
Сверху Снизу