Cheat.PrintColor([155, 255, 0, 0], "Cute-Yaw by Prince & Alice\nShop: t.me/cuteyaw_bot\nVersion: 1.0.2\n \n[UPDATE LOG 08.02]\n - Added faster awp buy\n - Added in air hitchance\n - Reworked indicators color\n - Reworked DT indicator\n");
var get = {
"value" : function value(saveEvenIfSeemsUnchanged) {
return UI.GetValue("Script items", saveEvenIfSeemsUnchanged);
},
"text" : function makeColorMaterial(a) {
return UI.GetString("Script items", a);
},
"color" : function makeColorMaterial(a) {
return UI.GetColor("Script items", a);
},
"on_map" : function on_map() {
return World.GetServerString();
},
"inverter" : function inverter() {
return UI.IsHotkeyActive("Anti-Aim", "Fake angels", "Inverter");
}
};
var set = {
"enabled" : function FriendsListAssistant(a, ud) {
return UI.SetEnabled("Script items", a, ud);
},
"value" : function FriendsListAssistant(a, ud) {
return UI.SetValue("Script items", a, ud);
},
"color" : function FriendsListAssistant(a, ud) {
return UI.SetColor("Script items", a, ud);
}
};
var menu = function initDatGui() {
var expected = get["value"]("cute-yaw by prince & alice");
var pass = expected == 0;
var result = expected == 1;
var tuple = expected == 2;
var results = expected == 3;
set["enabled"]("auto only noscope", pass);
set["enabled"]("better strafer", pass);
set["enabled"]("faster awp buy", pass);
set["enabled"]("better recharge", pass);
set["enabled"]("override damage key", pass);
set["enabled"]("override damage value", pass);
set["enabled"]("override hitchance in noscope", pass);
set["enabled"]("override hitchance in air [ssg & r8]", pass);
set["enabled"]("Low delta on slow-walk", result);
set["enabled"]("body yaw type", result);
set["enabled"]("REAL offset", result);
set["enabled"]("LBY offset", result);
set["enabled"]("binds", tuple);
set["enabled"]("fake indicator", tuple);
set["enabled"]("thirdperson", tuple);
set["enabled"]("watermark username", results);
set["enabled"]("color", results);
set["enabled"](" ", results);
set["enabled"]("load script config", results);
};
var preset = function toitem() {
if (get["value"]("load script config")) {
set["value"]("auto only noscope", !![]);
set["value"]("better strafer", !![]);
set["value"]("better recharge", !![]);
set["value"]("override damage key", !![]);
set["value"]("override damage value", 7);
set["value"]("override hitchance in noscope", 31);
set["value"]("override hitchance in air [ssg & r8]", 45);
set["value"]("Low delta on slow-walk", !![]);
set["value"]("body yaw type", 2);
set["value"]("REAL offset", 16);
set["value"]("LBY offset", 21);
set["value"]("fake indicator", !![]);
set["value"]("thirdperson", 93);
set["value"]("binds", !![]);
set["color"]("color", [155, 155, 255, 255]);
}
set["value"]("load script config", ![]);
};
var can_shot = function documentCompare(b) {
var column = Entity.GetLocalPlayer();
var minWidth = Entity.GetWeapon(column);
if (column == null || minWidth == null) {
return ![];
}
var a = Entity.GetProp(column, "CCSPlayer", "m_nTickBase");
var newWidth = Globals.TickInterval() * (a - b);
if (newWidth < Entity.GetProp(column, "CCSPlayer", "m_flNextAttack")) {
return ![];
}
if (newWidth < Entity.GetProp(minWidth, "CBaseCombatWeapon", "m_flNextPrimaryAttack")) {
return ![];
}
return !![];
};
var random = function round(t, l) {
t = Math.ceil(t);
l = Math.floor(l);
return Math.floor(Math.random() * (l - t + 1)) + t;
};
var arc = function init(a, x, i, size, type, s, h) {
var t = type;
for (; t < type + s; t++) {
var value = t * Math.PI / 180;
Render.Line(a + Math.cos(value) * i, x + Math.sin(value) * i, a + Math.cos(value) * size, x + Math.sin(value) * size, h);
}
};
UI.AddDropdown("cute-yaw by prince & alice", ["main", "anti-aim", "visual", "setings"]), UI.AddHotkey("override damage key"), UI.AddSliderInt("override damage value", 1, 130), UI.AddSliderInt("override hitchance in noscope", 1, 130), UI.AddSliderInt("override hitchance in air [ssg & r8]", 1, 130), UI.AddCheckbox("auto only noscope"), UI.AddCheckbox("better recharge"), UI.AddCheckbox("faster awp buy"), UI.AddCheckbox("better strafer"), UI.AddDropdown("body yaw type",
["off", "random jitter", "static"]), UI.AddSliderInt("REAL offset", 0, 60), UI.AddSliderInt("LBY offset", 0, 60), UI.AddCheckbox("Low delta on slow-walk"), UI.AddSliderInt("thirdperson", 0, 300), UI.AddCheckbox("fake indicator"), UI.AddCheckbox("binds"), UI.AddTextbox("watermark username"), UI.AddColorPicker("color"), UI.AddLabel(" "), UI.AddCheckbox("load script config");
var draw = function init() {
var a = Global.GetScreenSize()[0];
var G = Global.GetScreenSize()[1];
var lastviewmatrix = Render.AddFont("Verdana", 7, 100);
var B = Math.sin(Math.abs(-3.14 + Globals.Curtime() * (1 / 0.75) % (3.14 * 2))) * 255;
var value = Math.min(Math.abs(Local.GetRealYaw() - Local.GetFakeYaw()) / 2, 60)["toFixed"](0);
var Q = Math.min(Math.round(1.7 * Math.abs(value)), 100);
var page = "cute - yaw [ 1.0.2 ] | [ user: " + get["text"]("watermark username") + " ]";
var asc_clr = get["color"]("color");
var ab = Render.TextSizeCustom(page, lastviewmatrix)[0] + 10;
Render.FilledRect(a + 7 - ab - 10, 5, ab, 18, [10, 10, 10, 100]);
Render.StringCustom(a + 12 - ab - 10, 7, 0, page, [255, 255, 255, 255], lastviewmatrix);
Render.FilledRect(a + 5 - ab - 10, 5, 2, 18, [asc_clr[0], asc_clr[1], asc_clr[2], B]);
if (get["value"]("fake indicator")) {
var start = get["inverter"]() ? "right" : "left";
var page = " FAKE: " + value + " % | safety: " + Q + " % | side: " + start;
var ab = Render.TextSizeCustom(page, lastviewmatrix)[0] + 10;
arc(a + 15 - ab - 10, 37, 3.2, 3.8, 0, 360 / 60 * value, [asc_clr[0], asc_clr[1], asc_clr[2], 255]);
Render.FilledRect(a + 7 - ab - 10, 28, ab, 18, [10, 10, 10, 100]);
Render.StringCustom(a + 12 - ab - 10, 30, 0, page, [255, 255, 255, 255], lastviewmatrix);
Render.FilledRect(a + 5 - ab - 10, 28, 2, 18, [asc_clr[0], asc_clr[1], asc_clr[2], B]);
}
if (get["on_map"]()) {
Render.StringCustom(a / 2, G / 2 + 10, 1, "CUTE - YAW", [asc_clr[0], asc_clr[1], asc_clr[2], B], lastviewmatrix);
}
if (get["value"]("binds") && get["on_map"]()) {
var data = [];
var D = Exploit.GetCharge();
var dev = UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck");
var y = [157 + (255 - 0) * D / 1, 0 + (255 - 0) * D / 1, 16 + (0 - 16) * D / 1, 255];
if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {
data["push"]({
"c" : dev ? 0 : 5,
"name" : dev ? "DT (fakeduck)" : "DT",
"color" : dev ? [200, 0, 0, 255] : y,
"render" : dev ? "" : arc(a / 2 - 9, G / 2 + 29, 3.2, 3.8, 0, 360 / 1 * D, y)
});
}
if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
data["push"]({
"c" : 0,
"name" : "HIDE",
"color" : [200, 255, 0, 255]
});
}
if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {
data["push"]({
"c" : 0,
"name" : "SAFE",
"color" : [155, 155, 255, 255]
});
}
if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {
data["push"]({
"c" : 0,
"name" : "BODY",
"color" : [155, 155, 255, 255]
});
}
if (UI.IsHotkeyActive("Script items", "override damage key")) {
data["push"]({
"c" : 0,
"name" : "DMG",
"color" : [255, 207, 105, 255]
});
}
i = 0;
for (; i < data["length"]; i++) {
Render.StringCustom(a / 2 + data["c"], G / 2 + 23 - i * -13, 1, data["name"], data["color"], lastviewmatrix);
}
}
preset();
menu();
};
var noscope_hitchance = function QueryForRelatedContacts() {
var a = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
var G = Entity.GetProp(Entity.GetLocalPlayer(), "CCSPlayer", "m_bIsScoped");
if (a != "scar 20" && a != "g3sg1") {
return;
}
if (!G) {
Ragebot.ForceTargetHitchance(Ragebot.GetTarget(), UI.GetValue("Script items", "override hitchance in noscope"));
}
};
var air_hitchance = function QueryForRelatedContacts() {
var a = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
var G = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_hGroundEntity");
if (a != "ssg 08" && a != "r8 revolver") {
return;
}
if (G) {
Ragebot.ForceTargetHitchance(Ragebot.GetTarget()(), UI.GetValue("Script items", "override hitchance in air [ssg & r8]"));
}
};
var predicted_time = 0;
var buy = ![];
var auto_buy_prediction = function auto_buy_prediction() {
predicted_time = Globals.Curtime() + Convar.GetInt("mp_round_restart_delay");
buy = !![];
};
var create_move = function render() {
var a = get["inverter"]();
var G = get["value"]("body yaw type");
if (get["value"]("Low delta on slow-walk") && UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk")) {
AntiAim.SetOverride(1);
if (a) {
AntiAim.SetRealOffset(18);
AntiAim.SetLBYOffset(-13);
} else {
AntiAim.SetRealOffset(-18);
AntiAim.SetLBYOffset(13);
}
} else {
if (G == 1) {
AntiAim.SetOverride(1);
AntiAim.SetRealOffset(random(-get["value"]("REAL offset"), get["value"]("REAL offset")));
AntiAim.SetLBYOffset(random(-get["value"]("LBY offset"), get["value"]("LBY offset")));
} else {
if (G == 2) {
AntiAim.SetOverride(1);
if (a) {
AntiAim.SetRealOffset(get["value"]("REAL offset"));
AntiAim.SetLBYOffset(-get["value"]("LBY offset"));
} else {
AntiAim.SetRealOffset(-get["value"]("REAL offset"));
AntiAim.SetLBYOffset(get["value"]("LBY offset"));
}
} else {
if (G == 0) {
AntiAim.SetOverride(0);
}
}
}
}
if (get["value"]("auto only noscope")) {
var J = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (J != "scar 20" && J != "g3sg1") {
UI.SetValue("Rage", "GENERAL", "General", "Auto scope", !![]);
} else {
UI.SetValue("Rage", "GENERAL", "General", "Auto scope", ![]);
}
}
if (UI.IsHotkeyActive("Script items", "override damage key")) {
var sections = Entity.GetEnemies();
i = 0;
for (; i < sections["length"]; i++) {
Ragebot.ForceTargetMinimumDamage(sections, UI.SetValue("Script items", "override damage value"));
}
}
if (get["value"]("better strafer")) {
UI.SetValue("Misc", "GENERAL", "Movement", "Turn speed", 290);
}
if (get["value"]("faster awp buy") && buy && Globals.Curtime() + Local.Latency() / 1E3 >= predicted_time + Local.Latency() / 1E3) {
Cheat.ExecuteCommand("buy awp");
Cheat.ExecuteCommand("buy awp");
Cheat.ExecuteCommand("buy awp");
Cheat.ExecuteCommand("buy awp");
buy = ![];
}
UI.SetValue("Visual", "WORLD", "View", "Thirdperson", get["value"]("thirdperson"));
noscope_hitchance();
air_hitchance();
if (get["value"]("better recharge")) {
var p = Exploit.GetCharge();
Exploit[(p != 1 ? "Enable" : "Disable") + "Recharge"]();
if (can_shot(14) && p != 1) {
Exploit.DisableRecharge();
Exploit.Recharge();
}
Exploit.OverrideTolerance(0);
Exploit.OverrideShift(14);
} else {
Exploit.EnableRecharge();
}
};
var auto_buy_purchased = function auto_buy_purchased() {
buy = ![];
};
var unload = function unload() {
AntiAim.SetOverride(0);
Exploit.EnableRecharge();
};
Cheat.RegisterCallback("Draw", "draw"), Cheat.RegisterCallback("CreateMove", "create_move"), Cheat.RegisterCallback("Unload", "unload"), Cheat.RegisterCallback("round_end", "auto_buy_prediction"), Cheat.RegisterCallback("item_purchase", "auto_buy_purchased");