Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

JS-скрипт Jag0-yaw old source selfleak

  • Автор темы Автор темы SIRA
  • Дата начала Дата начала
Забаненный
Забаненный
Статус
Оффлайн
Регистрация
24 Май 2019
Сообщения
10
Реакции
8
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
kod jest opóźniony, ale nic nie jest wklejane, jak twierdził niektórzy użytkownicy lololololo
JavaScript:
Expand Collapse Copy
//?all the essential calculation functions
function clamp(num, min, max) {return num <= min ? min : num >= max ? max : num;}
function rand(min, max) {return min + Math.floor((max - min) * Math.random());}
function deg2rad(degress) {return degress * Math.PI / 180.0;}
function angle_to_vec(pitch, yaw) {var p = deg2rad(pitch);var y = deg2rad(yaw);var sin_p = Math.sin(p);var cos_p = Math.cos(p);var sin_y = Math.sin(y);var cos_y = Math.cos(y);return [cos_p * cos_y, cos_p * sin_y, -sin_p];}
function get_velocity(player) {var velocity = Entity.GetProp(player, "CBasePlayer", "m_vecVelocity[0]");return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);}
function get_delta(player) {var speed = get_velocity(player);var delta = (speed / 8);return (58 - delta);}
function trace(entity_id, entity_angles) {var entity_vec = angle_to_vec(entity_angles[0], entity_angles[1]);var entity_pos = Entity.GetRenderOrigin(entity_id);entity_pos[2] += 50;var stop = [entity_pos[0] + entity_vec[0] * 8192, entity_pos[1] + entity_vec[1] * 8192, (entity_pos[2]) + entity_vec[2] * 8192];var traceResult = Trace.Line(entity_id, entity_pos, stop);if (traceResult[1] == 1.0)return;stop = [entity_pos[0] + entity_vec[0] * traceResult[1] * 8192, entity_pos[1] + entity_vec[1] * traceResult[1] * 8192, entity_pos[2] + entity_vec[2] * traceResult[1] * 8192];var distance = Math.sqrt((entity_pos[0] - stop[0]) * (entity_pos[0] - stop[0]) + (entity_pos[1] - stop[1]) * (entity_pos[1] - stop[1]) + (entity_pos[2] - stop[2]) * (entity_pos[2] - stop[2]));entity_pos = Render.WorldToScreen(entity_pos);stop = Render.WorldToScreen(stop);if (stop[2] != 1 || entity_pos[2] != 1)return;return distance;}
function radian(degree){return degree * Math.PI / 180.0;}
function ExtendVector(vector, angle, extension){var radianAngle = radian(angle);return [extension * Math.cos(radianAngle) + vector[0], extension * Math.sin(radianAngle) + vector[1], vector[2]];}
function VectorAdd(a, b){return [a[0] + b[0], a[1] + b[1], a[2] + b[2]];}
function VectorSubtract(a, b){return [a[0] - b[0], a[1] - b[1], a[2] - b[2]];}
function VectorMultiply(a, b){return [a[0] * b[0], a[1] * b[1], a[2] * b[2]];}
function VectorLength(x, y, z){return Math.sqrt(x * x + y * y + z * z);}
function VectorNormalize(vec){var length = VectorLength(vec[0], vec[1], vec[2]);return [vec[0] / length, vec[1] / length, vec[2] / length];}
function VectorDot(a, b){return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];}
function VectorDistance(a, b){return VectorLength(a[0] - b[0], a[1] - b[1], a[2] - b[2]);}
function ClosestPointOnRay(target, rayStart, rayEnd){var to = VectorSubtract(target, rayStart);var dir = VectorSubtract(rayEnd, rayStart);var length = VectorLength(dir[0], dir[1], dir[2]);dir = VectorNormalize(dir);var rangeAlong = VectorDot(dir, to);if (rangeAlong < 0.0){ return rayStart;}if (rangeAlong > length){return rayEnd;}return VectorAdd(rayStart, VectorMultiply(dir, [rangeAlong, rangeAlong, rangeAlong]));}
//?all the essential calculation functions
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "JAGO-YAW")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "watermark")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "indicators")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "buy awp")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "jag0-walk")
UI.AddColorPicker(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "indicators color")
UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "legit desync", "legit desync");
UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "freestanding", "freestanding");
UI.AddSliderInt(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"],"thirdperson distance", 50, 500)
var predicted_time = 0;
var buy = false;
var jagowalking = false;
 
function auto_buy_prediction() {
    predicted_time = Globals.Curtime() + Convar.GetInt("mp_round_restart_delay");
    buy = true;
}
 
function auto_buy_purchase() {
    if (buy && Globals.Curtime() + (Local.Latency() / 1000) >= predicted_time + (Local.Latency() / 1000)) {
        Cheat.ExecuteCommand("buy awp");
        Cheat.ExecuteCommand("buy awp");
        Cheat.ExecuteCommand("buy awp");
        Cheat.Print("predicted: " + predicted_time + (Local.Latency() / 1000) + " current:" + (Globals.Curtime() + (Local.Latency() / 1000) + "\n"));
        buy = false;
    }
}
 
function auto_buy_purchased() {
    buy = false;
}
 
function main_yaw() {
    var local_player = Entity.GetLocalPlayer();
    var target_player = Entity.IsAlive(Ragebot.GetTarget());
    var distance_delta = left_distance = trace(local_player, [0, Local.GetViewAngles()[1] - 23]) - (right_distance = trace(local_player, [0, Local.GetViewAngles()[1] + 23]));
    var swap = rand(0, 2);
    var desync_delta = get_delta(local_player)
    if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"], 1);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 0);
        UI.SetValue(["Config", "Cheat", "General", "Restrictions"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 180);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "General", "Pitch mode"], 0);
    }
    else {
        UI.SetValue(["Config", "Cheat", "General", "Restrictions"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"], 1);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "General", "Pitch mode"], 1);
        if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "freestanding"]) == true && jagowalking == false) {
            UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 1);
        }
        else {
            UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 0);
        }
    }
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "JAGO-YAW", "JAGO-YAW", "jag0-walk"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == false)
    {
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-17);
        AntiAim.SetLBYOffset(0);
        jagowalking = true;
        side = 3
    }
    else
    {
        jagowalking = false;
    if (target_player != true) {
        if (distance_delta >= 1) {
            AntiAim.SetOverride(1);
            if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
                AntiAim.SetFakeOffset(0);
                if (swap == 0)
                    AntiAim.SetRealOffset(-60);
                else if (swap == 1)
                    AntiAim.SetRealOffset(-60);
            }
            else {
                AntiAim.SetFakeOffset(-desync_delta / 4);
                if (swap == 0)
                    AntiAim.SetRealOffset(desync_delta);
                else if (swap == 1)
                    AntiAim.SetRealOffset(desync_delta / 3);
            }
            AntiAim.SetLBYOffset(0);
            side = 1
        }
        else if (distance_delta <= -1) {
            AntiAim.SetOverride(1);
            if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
                AntiAim.SetFakeOffset(0);
                if (swap == 0)
                    AntiAim.SetRealOffset(60);
                else if (swap == 1)
                    AntiAim.SetRealOffset(60);
            }
            else {
                AntiAim.SetFakeOffset(desync_delta / 4);
                if (swap == 0)
                    AntiAim.SetRealOffset(-desync_delta);
                else if (swap == 1)
                    AntiAim.SetRealOffset(-desync_delta / 2);
            }
            AntiAim.SetLBYOffset(0);
            side = 2
        }
    }
    else {
        if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
            AntiAim.SetOverride(1);
            AntiAim.SetFakeOffset(0);
            if (swap == 0)
                AntiAim.SetRealOffset(31);
            else if (swap == 1)
                AntiAim.SetRealOffset(-31);
            AntiAim.SetLBYOffset(0);
            side = 3
        }
        else {
            AntiAim.SetOverride(1);
            AntiAim.SetFakeOffset(0);
            if (swap == 0)
                AntiAim.SetRealOffset(-desync_delta);
            else if (swap == 1)
                AntiAim.SetRealOffset(desync_delta);
            AntiAim.SetLBYOffset(0);
            side = 3
        }
    }
}
}
 
function prediction_breaker() {
    var random = rand(0, 3);
    var local_player = Entity.GetLocalPlayer();
    var local_velocity = get_velocity(local_player)
    var real_velocity = Math.floor((Math.min(10000,Math.sqrt(local_velocity * local_velocity) + 0.5)))
    var distance_per_tick = (local_velocity * Globals.TickInterval())
    var move_choke = Math.ceil(128 / distance_per_tick)
    var tick_to_choke = Math.min(move_choke , 17)
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "Exploits", "SHEET_MGR", "Keys", "Key assignment", "Double tap"])) {
        Exploit.OverrideMaxProcessTicks(16);
    }
    else {
        Exploit.OverrideMaxProcessTicks(tick_to_choke + 2);
    }
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "Exploits", "SHEET_MGR", "Keys", "Key assignment", "Hide shots"])) {
        Exploit.OverrideMaxProcessTicks(16);
    }
    else {
        Exploit.OverrideMaxProcessTicks(tick_to_choke + 2);
    }
    choke = Globals.ChokedCommands()
 
 
 
 
    UI.SetValue(["Misc.", "Movement", "Leg movement"], random)
    UI.SetValue(["Rage", "Fake Lag", "General", "Trigger limit"], 17)
    UI.SetValue(["Rage", "Fake Lag", "General", "Limit"], tick_to_choke)
    UI.SetValue(["Rage", "Fake Lag", "General", "Jitter"], 0)
    //  Cheat.Print("real vel: "+ local_velocity + "\n");
    //  Cheat.Print("dis tick: "+ distance_per_tick + "\n");
    //  Cheat.Print("ticks: "+ tick_to_choke + "\n");
}
 
function watermark() {
    var font = Render.AddFont("arial", 10, 800)
    var username = Cheat.GetUsername();
    var size = Render.TextSize(username, font)
    var xcor = (Global.GetScreenSize()[0] / 1.13 + 27 - size[0])
    var ycor = (Global.GetScreenSize()[1] / 250)
    var col = UI.GetColor(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators color"])
    var delay = Math.floor(Global.Latency() * 1000 / 1.5)
    var today = new Date();
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() : today.getHours();
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() : today.getMinutes();
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
    var length = (200 + size[0] - 12)
    Render.FilledRect(xcor, ycor, length, 16, [21, 21, 21, 150]);
    //Render.Rect( xcor - 1, ycor - 1, 202, 18, [ 20, 20, 20, 150 ] );
    Render.GradientRect(xcor, ycor, 18, 2, 1, [col[0], col[1], col[2], 255], [21, 21, 21, 0]);
    Render.GradientRect(xcor, ycor, 2, 16, 0, [col[0], col[1], col[2], 255], [21, 21, 21, 0]);
    Render.GradientRect(xcor + length - 18, ycor + 14, 16, 2, 1, [21, 21, 21, 0], [col[0], col[1], col[2], 255]);
    Render.GradientRect(xcor + length - 2, ycor, 2, 16, 0, [21, 21, 21, 0], [col[0], col[1], col[2], 255]);
    Render.String(xcor + 5, ycor + 2, 0, username + " [beta]" + " | jag0-yaw v2 | " + hours + ":" + minutes + ":" + seconds + " | " + delay + "ms", [0, 0, 0, 255], font)
    Render.String(xcor + 4, ycor + 1, 0, username + " [beta]" + " | jag0-yaw v2 | " + hours + ":" + minutes + ":" + seconds + " | " + delay + "ms", [255, 255, 255, 255], font)
    //    Render.GradientRect( xcor, ycor, 18, 2, 1, [col[0],col[1],col[2], 255], [ 20, 20, 20, 0 ]);
    //    Render.GradientRect( xcor, ycor, 2, 18, 0, [col[0],col[1],col[2], 255], [ 20, 20, 20, 0 ]);
}
 
function main_indicators() {
    var desync_delta = clamp(Math.abs(Math.round(Local.GetRealYaw() - Local.GetFakeYaw())), 0, 58)
    var alpha = Math.sin(Math.abs(-3.14 + (Globals.Curtime() * (1 / .75)) % (3.14 * 2))) * 255;
    var col = UI.GetColor(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators color"])
    var font = Render.AddFont("Verdana", 11, 1000);
    var font2 = Render.AddFont("Verdana", 15, 0);
    var font3 = Render.AddFont("Verdana", 20, 10000);
    var font4 = Render.AddFont("Verdana", 11, 10000);
    var font5 = Render.AddFont("Verdana", 11, 10000);
    if (side != 3) {
        Render.String(Global.GetScreenSize()[0] / 2 + 50, (Global.GetScreenSize()[1] / 2) - 14, 0, ">", [50, 50, 50, 150], font3);
        Render.String(Global.GetScreenSize()[0] / 2 - 66, (Global.GetScreenSize()[1] / 2) - 14, 0, "<", [50, 50, 50, 150], font3);
    }
    if (side == 1 && desync_delta > 0) {
        Render.String(Global.GetScreenSize()[0] / 2 + 50, (Global.GetScreenSize()[1] / 2) - 14, 0, ">", [col[0], col[1], col[2], 255], font3);
    }
    else if (side == 2 && desync_delta > 0) {
        Render.String(Global.GetScreenSize()[0] / 2 - 66, (Global.GetScreenSize()[1] / 2) - 14, 0, "<", [col[0], col[1], col[2], 255], font3);
    }
    if (desync_delta > 10) {
        Render.String(Global.GetScreenSize()[0] / 2 - 7, Global.GetScreenSize()[1] / 2 + 20, 0, "" + desync_delta, [col[0], col[1], col[2], 255], font);
        Render.String(Global.GetScreenSize()[0] / 2 + 7, Global.GetScreenSize()[1] / 2 + 10, 0, ".", [col[0], col[1], col[2], 255], font2);
    }
    else {
        Render.String(Global.GetScreenSize()[0] / 2 - 3, Global.GetScreenSize()[1] / 2 + 20, 0, "" + desync_delta, [col[0], col[1], col[2], 255], font);
        Render.String(Global.GetScreenSize()[0] / 2 + 3, Global.GetScreenSize()[1] / 2 + 10, 0, ".", [col[0], col[1], col[2], 255], font2);
    }
    if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 25, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "LEGIT-AA", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 25, Global.GetScreenSize()[1] / 2 + 50, 0, "LEGIT-AA", [col[0], col[1], col[2], alpha], font4);
    }
    else if (jagowalking == true)
    {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 28, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "JAG0WALK", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 28, Global.GetScreenSize()[1] / 2 + 50, 0, "JAG0WALK", [col[0], col[1], col[2], alpha], font4);
    }
    else if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "freestanding"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == false && jagowalking == false) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 28, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "AUTO-DIR", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 28, Global.GetScreenSize()[1] / 2 + 50, 0, "AUTO-DIR", [col[0], col[1], col[2], alpha], font4);
    }
    else {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 25, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "JAG0YAW", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 25, Global.GetScreenSize()[1] / 2 + 50, 0, "JAG0YAW", [col[0], col[1], col[2], alpha], font4);
    }
    Render.GradientRect((Global.GetScreenSize()[0] / 2 + -desync_delta * 2) + desync_delta + 2, Global.GetScreenSize()[1] / 2 + 40, desync_delta, 3, 1, [col[0], col[1], col[2], 0], [col[0], col[1], col[2], 255]);
    Render.GradientRect((Global.GetScreenSize()[0] / 2 + -desync_delta * 2) + (desync_delta * 2), Global.GetScreenSize()[1] / 2 + 40, desync_delta, 3, 1, [col[0], col[1], col[2], 255], [col[0], col[1], col[2], 0]);
    var pos = 65
    if (UI.GetValue(["Rage", "General", "General", "Key assignment", "Minimum damage override"])) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 12, Global.GetScreenSize()[1] / 2 + 1 + pos, 0, "dmg", [0, 0, 0, alpha], font5);
        Render.String(Global.GetScreenSize()[0] / 2 - 12, Global.GetScreenSize()[1] / 2 + pos, 0, "dmg", [col[0], col[1], col[2], alpha], font5);
    }
}
 
function misc_shit() {
    UI.SetValue(["Misc.", "View", "General", "Thirdperson Distance"], UI.GetValue(["Rage", "SUBTAB_MGR", "JAGO-YAW", "JAGO-YAW", "thirdperson distance"]))
}
 
function main_Draw() {
    var local_player = Entity.GetLocalPlayer();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators"]) == true) {
        if (Entity.IsAlive(local_player))
            main_indicators();
    }
    misc_shit();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "watermark"]) == true)
        watermark();
}
 
function main_CreateMove() {
    main_yaw();
    prediction_breaker();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "buy awp"]) == true)
        auto_buy_purchase();
}
Cheat.RegisterCallback("CreateMove", "main_CreateMove")
Cheat.RegisterCallback("round_end", "auto_buy_prediction");
Cheat.RegisterCallback("item_purchase", "auto_buy_purchased");
Cheat.RegisterCallback("Draw", "main_Draw")
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
На какой чит
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
kod jest opóźniony, ale nic nie jest wklejane, jak twierdził niektórzy użytkownicy lololololo
JavaScript:
Expand Collapse Copy
//?all the essential calculation functions
function clamp(num, min, max) {return num <= min ? min : num >= max ? max : num;}
function rand(min, max) {return min + Math.floor((max - min) * Math.random());}
function deg2rad(degress) {return degress * Math.PI / 180.0;}
function angle_to_vec(pitch, yaw) {var p = deg2rad(pitch);var y = deg2rad(yaw);var sin_p = Math.sin(p);var cos_p = Math.cos(p);var sin_y = Math.sin(y);var cos_y = Math.cos(y);return [cos_p * cos_y, cos_p * sin_y, -sin_p];}
function get_velocity(player) {var velocity = Entity.GetProp(player, "CBasePlayer", "m_vecVelocity[0]");return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);}
function get_delta(player) {var speed = get_velocity(player);var delta = (speed / 8);return (58 - delta);}
function trace(entity_id, entity_angles) {var entity_vec = angle_to_vec(entity_angles[0], entity_angles[1]);var entity_pos = Entity.GetRenderOrigin(entity_id);entity_pos[2] += 50;var stop = [entity_pos[0] + entity_vec[0] * 8192, entity_pos[1] + entity_vec[1] * 8192, (entity_pos[2]) + entity_vec[2] * 8192];var traceResult = Trace.Line(entity_id, entity_pos, stop);if (traceResult[1] == 1.0)return;stop = [entity_pos[0] + entity_vec[0] * traceResult[1] * 8192, entity_pos[1] + entity_vec[1] * traceResult[1] * 8192, entity_pos[2] + entity_vec[2] * traceResult[1] * 8192];var distance = Math.sqrt((entity_pos[0] - stop[0]) * (entity_pos[0] - stop[0]) + (entity_pos[1] - stop[1]) * (entity_pos[1] - stop[1]) + (entity_pos[2] - stop[2]) * (entity_pos[2] - stop[2]));entity_pos = Render.WorldToScreen(entity_pos);stop = Render.WorldToScreen(stop);if (stop[2] != 1 || entity_pos[2] != 1)return;return distance;}
function radian(degree){return degree * Math.PI / 180.0;}
function ExtendVector(vector, angle, extension){var radianAngle = radian(angle);return [extension * Math.cos(radianAngle) + vector[0], extension * Math.sin(radianAngle) + vector[1], vector[2]];}
function VectorAdd(a, b){return [a[0] + b[0], a[1] + b[1], a[2] + b[2]];}
function VectorSubtract(a, b){return [a[0] - b[0], a[1] - b[1], a[2] - b[2]];}
function VectorMultiply(a, b){return [a[0] * b[0], a[1] * b[1], a[2] * b[2]];}
function VectorLength(x, y, z){return Math.sqrt(x * x + y * y + z * z);}
function VectorNormalize(vec){var length = VectorLength(vec[0], vec[1], vec[2]);return [vec[0] / length, vec[1] / length, vec[2] / length];}
function VectorDot(a, b){return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];}
function VectorDistance(a, b){return VectorLength(a[0] - b[0], a[1] - b[1], a[2] - b[2]);}
function ClosestPointOnRay(target, rayStart, rayEnd){var to = VectorSubtract(target, rayStart);var dir = VectorSubtract(rayEnd, rayStart);var length = VectorLength(dir[0], dir[1], dir[2]);dir = VectorNormalize(dir);var rangeAlong = VectorDot(dir, to);if (rangeAlong < 0.0){ return rayStart;}if (rangeAlong > length){return rayEnd;}return VectorAdd(rayStart, VectorMultiply(dir, [rangeAlong, rangeAlong, rangeAlong]));}
//?all the essential calculation functions
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "JAGO-YAW")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "watermark")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "indicators")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "buy awp")
UI.AddCheckbox(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "jag0-walk")
UI.AddColorPicker(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"], "indicators color")
UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "legit desync", "legit desync");
UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "freestanding", "freestanding");
UI.AddSliderInt(["Rage", "SUBTAB_MGR","JAGO-YAW","JAGO-YAW"],"thirdperson distance", 50, 500)
var predicted_time = 0;
var buy = false;
var jagowalking = false;

function auto_buy_prediction() {
    predicted_time = Globals.Curtime() + Convar.GetInt("mp_round_restart_delay");
    buy = true;
}

function auto_buy_purchase() {
    if (buy && Globals.Curtime() + (Local.Latency() / 1000) >= predicted_time + (Local.Latency() / 1000)) {
        Cheat.ExecuteCommand("buy awp");
        Cheat.ExecuteCommand("buy awp");
        Cheat.ExecuteCommand("buy awp");
        Cheat.Print("predicted: " + predicted_time + (Local.Latency() / 1000) + " current:" + (Globals.Curtime() + (Local.Latency() / 1000) + "\n"));
        buy = false;
    }
}

function auto_buy_purchased() {
    buy = false;
}

function main_yaw() {
    var local_player = Entity.GetLocalPlayer();
    var target_player = Entity.IsAlive(Ragebot.GetTarget());
    var distance_delta = left_distance = trace(local_player, [0, Local.GetViewAngles()[1] - 23]) - (right_distance = trace(local_player, [0, Local.GetViewAngles()[1] + 23]));
    var swap = rand(0, 2);
    var desync_delta = get_delta(local_player)
    if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"], 1);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 0);
        UI.SetValue(["Config", "Cheat", "General", "Restrictions"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 180);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "General", "Pitch mode"], 0);
    }
    else {
        UI.SetValue(["Config", "Cheat", "General", "Restrictions"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "At targets"], 1);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        UI.SetValue(["Rage", "Anti Aim", "General", "Pitch mode"], 1);
        if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "freestanding"]) == true && jagowalking == false) {
            UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 1);
        }
        else {
            UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 0);
        }
    }
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "JAGO-YAW", "JAGO-YAW", "jag0-walk"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == false)
    {
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-17);
        AntiAim.SetLBYOffset(0);
        jagowalking = true;
        side = 3
    }
    else
    {
        jagowalking = false;
    if (target_player != true) {
        if (distance_delta >= 1) {
            AntiAim.SetOverride(1);
            if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
                AntiAim.SetFakeOffset(0);
                if (swap == 0)
                    AntiAim.SetRealOffset(-60);
                else if (swap == 1)
                    AntiAim.SetRealOffset(-60);
            }
            else {
                AntiAim.SetFakeOffset(-desync_delta / 4);
                if (swap == 0)
                    AntiAim.SetRealOffset(desync_delta);
                else if (swap == 1)
                    AntiAim.SetRealOffset(desync_delta / 3);
            }
            AntiAim.SetLBYOffset(0);
            side = 1
        }
        else if (distance_delta <= -1) {
            AntiAim.SetOverride(1);
            if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
                AntiAim.SetFakeOffset(0);
                if (swap == 0)
                    AntiAim.SetRealOffset(60);
                else if (swap == 1)
                    AntiAim.SetRealOffset(60);
            }
            else {
                AntiAim.SetFakeOffset(desync_delta / 4);
                if (swap == 0)
                    AntiAim.SetRealOffset(-desync_delta);
                else if (swap == 1)
                    AntiAim.SetRealOffset(-desync_delta / 2);
            }
            AntiAim.SetLBYOffset(0);
            side = 2
        }
    }
    else {
        if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
            AntiAim.SetOverride(1);
            AntiAim.SetFakeOffset(0);
            if (swap == 0)
                AntiAim.SetRealOffset(31);
            else if (swap == 1)
                AntiAim.SetRealOffset(-31);
            AntiAim.SetLBYOffset(0);
            side = 3
        }
        else {
            AntiAim.SetOverride(1);
            AntiAim.SetFakeOffset(0);
            if (swap == 0)
                AntiAim.SetRealOffset(-desync_delta);
            else if (swap == 1)
                AntiAim.SetRealOffset(desync_delta);
            AntiAim.SetLBYOffset(0);
            side = 3
        }
    }
}
}

function prediction_breaker() {
    var random = rand(0, 3);
    var local_player = Entity.GetLocalPlayer();
    var local_velocity = get_velocity(local_player)
    var real_velocity = Math.floor((Math.min(10000,Math.sqrt(local_velocity * local_velocity) + 0.5)))
    var distance_per_tick = (local_velocity * Globals.TickInterval())
    var move_choke = Math.ceil(128 / distance_per_tick)
    var tick_to_choke = Math.min(move_choke , 17)
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "Exploits", "SHEET_MGR", "Keys", "Key assignment", "Double tap"])) {
        Exploit.OverrideMaxProcessTicks(16);
    }
    else {
        Exploit.OverrideMaxProcessTicks(tick_to_choke + 2);
    }
    if (UI.GetValue(["Rage", "SUBTAB_MGR", "Exploits", "SHEET_MGR", "Keys", "Key assignment", "Hide shots"])) {
        Exploit.OverrideMaxProcessTicks(16);
    }
    else {
        Exploit.OverrideMaxProcessTicks(tick_to_choke + 2);
    }
    choke = Globals.ChokedCommands()




    UI.SetValue(["Misc.", "Movement", "Leg movement"], random)
    UI.SetValue(["Rage", "Fake Lag", "General", "Trigger limit"], 17)
    UI.SetValue(["Rage", "Fake Lag", "General", "Limit"], tick_to_choke)
    UI.SetValue(["Rage", "Fake Lag", "General", "Jitter"], 0)
    //  Cheat.Print("real vel: "+ local_velocity + "\n");
    //  Cheat.Print("dis tick: "+ distance_per_tick + "\n");
    //  Cheat.Print("ticks: "+ tick_to_choke + "\n");
}

function watermark() {
    var font = Render.AddFont("arial", 10, 800)
    var username = Cheat.GetUsername();
    var size = Render.TextSize(username, font)
    var xcor = (Global.GetScreenSize()[0] / 1.13 + 27 - size[0])
    var ycor = (Global.GetScreenSize()[1] / 250)
    var col = UI.GetColor(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators color"])
    var delay = Math.floor(Global.Latency() * 1000 / 1.5)
    var today = new Date();
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() : today.getHours();
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() : today.getMinutes();
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
    var length = (200 + size[0] - 12)
    Render.FilledRect(xcor, ycor, length, 16, [21, 21, 21, 150]);
    //Render.Rect( xcor - 1, ycor - 1, 202, 18, [ 20, 20, 20, 150 ] );
    Render.GradientRect(xcor, ycor, 18, 2, 1, [col[0], col[1], col[2], 255], [21, 21, 21, 0]);
    Render.GradientRect(xcor, ycor, 2, 16, 0, [col[0], col[1], col[2], 255], [21, 21, 21, 0]);
    Render.GradientRect(xcor + length - 18, ycor + 14, 16, 2, 1, [21, 21, 21, 0], [col[0], col[1], col[2], 255]);
    Render.GradientRect(xcor + length - 2, ycor, 2, 16, 0, [21, 21, 21, 0], [col[0], col[1], col[2], 255]);
    Render.String(xcor + 5, ycor + 2, 0, username + " [beta]" + " | jag0-yaw v2 | " + hours + ":" + minutes + ":" + seconds + " | " + delay + "ms", [0, 0, 0, 255], font)
    Render.String(xcor + 4, ycor + 1, 0, username + " [beta]" + " | jag0-yaw v2 | " + hours + ":" + minutes + ":" + seconds + " | " + delay + "ms", [255, 255, 255, 255], font)
    //    Render.GradientRect( xcor, ycor, 18, 2, 1, [col[0],col[1],col[2], 255], [ 20, 20, 20, 0 ]);
    //    Render.GradientRect( xcor, ycor, 2, 18, 0, [col[0],col[1],col[2], 255], [ 20, 20, 20, 0 ]);
}

function main_indicators() {
    var desync_delta = clamp(Math.abs(Math.round(Local.GetRealYaw() - Local.GetFakeYaw())), 0, 58)
    var alpha = Math.sin(Math.abs(-3.14 + (Globals.Curtime() * (1 / .75)) % (3.14 * 2))) * 255;
    var col = UI.GetColor(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators color"])
    var font = Render.AddFont("Verdana", 11, 1000);
    var font2 = Render.AddFont("Verdana", 15, 0);
    var font3 = Render.AddFont("Verdana", 20, 10000);
    var font4 = Render.AddFont("Verdana", 11, 10000);
    var font5 = Render.AddFont("Verdana", 11, 10000);
    if (side != 3) {
        Render.String(Global.GetScreenSize()[0] / 2 + 50, (Global.GetScreenSize()[1] / 2) - 14, 0, ">", [50, 50, 50, 150], font3);
        Render.String(Global.GetScreenSize()[0] / 2 - 66, (Global.GetScreenSize()[1] / 2) - 14, 0, "<", [50, 50, 50, 150], font3);
    }
    if (side == 1 && desync_delta > 0) {
        Render.String(Global.GetScreenSize()[0] / 2 + 50, (Global.GetScreenSize()[1] / 2) - 14, 0, ">", [col[0], col[1], col[2], 255], font3);
    }
    else if (side == 2 && desync_delta > 0) {
        Render.String(Global.GetScreenSize()[0] / 2 - 66, (Global.GetScreenSize()[1] / 2) - 14, 0, "<", [col[0], col[1], col[2], 255], font3);
    }
    if (desync_delta > 10) {
        Render.String(Global.GetScreenSize()[0] / 2 - 7, Global.GetScreenSize()[1] / 2 + 20, 0, "" + desync_delta, [col[0], col[1], col[2], 255], font);
        Render.String(Global.GetScreenSize()[0] / 2 + 7, Global.GetScreenSize()[1] / 2 + 10, 0, ".", [col[0], col[1], col[2], 255], font2);
    }
    else {
        Render.String(Global.GetScreenSize()[0] / 2 - 3, Global.GetScreenSize()[1] / 2 + 20, 0, "" + desync_delta, [col[0], col[1], col[2], 255], font);
        Render.String(Global.GetScreenSize()[0] / 2 + 3, Global.GetScreenSize()[1] / 2 + 10, 0, ".", [col[0], col[1], col[2], 255], font2);
    }
    if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == true) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 25, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "LEGIT-AA", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 25, Global.GetScreenSize()[1] / 2 + 50, 0, "LEGIT-AA", [col[0], col[1], col[2], alpha], font4);
    }
    else if (jagowalking == true)
    {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 28, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "JAG0WALK", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 28, Global.GetScreenSize()[1] / 2 + 50, 0, "JAG0WALK", [col[0], col[1], col[2], alpha], font4);
    }
    else if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "freestanding"]) == true && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "legit desync"]) == false && jagowalking == false) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 28, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "AUTO-DIR", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 28, Global.GetScreenSize()[1] / 2 + 50, 0, "AUTO-DIR", [col[0], col[1], col[2], alpha], font4);
    }
    else {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 25, Global.GetScreenSize()[1] / 2 + 1 + 50, 0, "JAG0YAW", [0, 0, 0, alpha], font4);
        Render.String(Global.GetScreenSize()[0] / 2 - 25, Global.GetScreenSize()[1] / 2 + 50, 0, "JAG0YAW", [col[0], col[1], col[2], alpha], font4);
    }
    Render.GradientRect((Global.GetScreenSize()[0] / 2 + -desync_delta * 2) + desync_delta + 2, Global.GetScreenSize()[1] / 2 + 40, desync_delta, 3, 1, [col[0], col[1], col[2], 0], [col[0], col[1], col[2], 255]);
    Render.GradientRect((Global.GetScreenSize()[0] / 2 + -desync_delta * 2) + (desync_delta * 2), Global.GetScreenSize()[1] / 2 + 40, desync_delta, 3, 1, [col[0], col[1], col[2], 255], [col[0], col[1], col[2], 0]);
    var pos = 65
    if (UI.GetValue(["Rage", "General", "General", "Key assignment", "Minimum damage override"])) {
        Render.String(Global.GetScreenSize()[0] / 2 + 1 - 12, Global.GetScreenSize()[1] / 2 + 1 + pos, 0, "dmg", [0, 0, 0, alpha], font5);
        Render.String(Global.GetScreenSize()[0] / 2 - 12, Global.GetScreenSize()[1] / 2 + pos, 0, "dmg", [col[0], col[1], col[2], alpha], font5);
    }
}

function misc_shit() {
    UI.SetValue(["Misc.", "View", "General", "Thirdperson Distance"], UI.GetValue(["Rage", "SUBTAB_MGR", "JAGO-YAW", "JAGO-YAW", "thirdperson distance"]))
}

function main_Draw() {
    var local_player = Entity.GetLocalPlayer();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "indicators"]) == true) {
        if (Entity.IsAlive(local_player))
            main_indicators();
    }
    misc_shit();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "watermark"]) == true)
        watermark();
}

function main_CreateMove() {
    main_yaw();
    prediction_breaker();
    if (UI.GetValue(["Rage", "JAGO-YAW", "JAGO-YAW", "buy awp"]) == true)
        auto_buy_purchase();
}
Cheat.RegisterCallback("CreateMove", "main_CreateMove")
Cheat.RegisterCallback("round_end", "auto_buy_prediction");
Cheat.RegisterCallback("item_purchase", "auto_buy_purchased");
Cheat.RegisterCallback("Draw", "main_Draw")
its a russian forum not a polish lolololo
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
а на кряк можно переделать мне токо индикатры нужны
Вроде да
jag0-yaw=помойка с багами.
Олд сурс где по факту нечего нет если что , + какие баги в олд сурсе? я не одного бага не вижу кроме через жопу сделанного дт
 
Вроде да

Олд сурс где по факту нечего нет если что , + какие баги в олд сурсе? я не одного бага не вижу кроме через жопу сделанного дт
Сделай на кряк)) Пжпжпжпжп
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Вроде да

Олд сурс где по факту нечего нет если что , + какие баги в олд сурсе? я не одного бага не вижу кроме через жопу сделанного дт
Мне ток индикаторы нужны на дт пофиг
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Ну да, какой-то полишмен делал этот скрипт на кряк, еще че?
 
Назад
Сверху Снизу