var alphavkid = 0
var ticktime = Globals.Tickcount()
var isactived = false;
var isactivel = false;
var isactiver = false;
var kostil = false;
var cacheat = UI.GetValue(["Rage", "Anti Aim", "At targets"])
var cacheof = UI.GetValue(["Rage", "Anti Aim", "Yaw offset"])
UI.AddHotkey(["Rage", "Anti Aim", "Key assignment"], "Manual key - Left", "Manual key - Left")
UI.AddHotkey(["Rage", "Anti Aim", "Key assignment"], "Manual key - Right", "Manual key - Right")
UI.AddHotkey(["Rage", "Anti Aim", "Key assignment"], "Manual key - Down", "Manual key - Down")
UI.AddSubTab(["Config", "SUBTAB_MGR"], "Gavno manuali")
UI.AddCheckbox(["Config", "Gavno manuali", "Gavno manuali"], "AUE MANUALI")
UI.AddColorPicker(["Config", "Gavno manuali", "Gavno manuali"], "cvet active")
function rs() {
ticktime = Globals.Tickcount()
isactived = false;
isactivel = false;
isactiver = false;
}
function leshav8klasseineznaet4totakoesinys() {
if (alphavkid < 255 && !kostil) {
alphavkid++
}
if (alphavkid > 0 && kostil) {
alphavkid--
}
if (alphavkid == 255) {
kostil = true;
}
if (alphavkid == 0) {
kostil = false;
}
}
function ondraw() {
if (!UI.GetValue(["Config", "Gavno manuali", "Gavno manuali", "AUE MANUALI"])) return;
if (!Entity.IsAlive(Entity.GetLocalPlayer())) return;
var right_key = UI.GetHotkey(["Rage", "Anti Aim", "Manual key - Right"])
var left_key = UI.GetHotkey(["Rage", "Anti Aim", "Manual key - Left"])
var down_key = UI.GetHotkey(["Rage", "Anti Aim", "Manual key - Down"])
if (Input.IsKeyPressed(right_key) && !isactiver&& ticktime + 16 < Globals.Tickcount()){
isactiver = true
isactivel = false
isactived = false
ticktime = Globals.Tickcount()
}
else if (Input.IsKeyPressed(right_key) && isactiver&& ticktime + 16 < Globals.Tickcount()){
isactiver = false
isactivel = false
isactived = false
ticktime = Globals.Tickcount()
}
if (Input.IsKeyPressed(left_key) && isactivel&& ticktime + 16 < Globals.Tickcount()){
isactiver = false
isactivel = false
isactived = false
ticktime = Globals.Tickcount()
}
else if (Input.IsKeyPressed(left_key) && !isactivel&& ticktime + 16 < Globals.Tickcount()){
isactiver = false
isactivel = true
isactived = false
ticktime = Globals.Tickcount()
}
if (Input.IsKeyPressed(down_key) && isactived&& ticktime + 16 < Globals.Tickcount()){
isactiver = false
isactivel = false
isactived = false
ticktime = Globals.Tickcount()
}
else if (Input.IsKeyPressed(down_key) && !isactived&& ticktime + 16 < Globals.Tickcount()){
isactiver = false
isactivel = false
isactived = true
ticktime = Globals.Tickcount()
}
font = Render.AddFont('Arial',31,100)
font1 = Render.AddFont('Arial',32,100)
var c = UI.GetColor(["Config", "Gavno manuali", "Gavno manuali", "cvet active"])
var arrows_color = [17,17,17,150]
var x1 = Render.GetScreenSize()[0] / 2 - 50
var x = Render.GetScreenSize()[0] / 2
var x2 = Render.GetScreenSize()[0] / 2 + 50
var y = Render.GetScreenSize()[1] / 2 - 10
var y2 = Render.GetScreenSize()[1] / 2 + 50
Render.Polygon([[x1 - 19, y + 11], [x1 + 1, y + 1], [x1 - 4, y + 11]], isactivel ? [c[0], c[1], c[2], alphavkid] : arrows_color)
Render.Polygon([[x1 - 19, y + 11], [x1 - 4, y + 11], [x1 + 1, y + 21]],isactivel ? [c[0], c[1], c[2], alphavkid] : arrows_color)
Render.Polygon([[x2 + 1, y + 1], [x2 + 21, y + 11], [x2 + 6, y + 11]],isactiver ? [c[0], c[1], c[2], alphavkid] : arrows_color)
Render.Polygon([[x2 + 6, y + 11], [x2 + 21, y + 11], [x2 + 1, y + 21]],isactiver ? [c[0], c[1], c[2], alphavkid] : arrows_color)
Render.Polygon([[x + 10, y2],[x, y2 + 20], [x, y2 + 5]],isactived ? [c[0], c[1], c[2], alphavkid] : arrows_color)
Render.Polygon([[x, y2 + 5], [x, y2 + 20], [x - 10, y2]],isactived ? [c[0], c[1], c[2], alphavkid] : arrows_color)
}
function CMSSDSDSD111() {
if (!Entity.IsAlive(Entity.GetLocalPlayer())) return;
if (!UI.GetValue(["Config", "Gavno manuali", "Gavno manuali", "AUE MANUALI"])) return;
if (isactivel) {
UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"], -90)
UI.SetValue(["Rage","Anti Aim","At targets"], 0)
} else if (isactiver) {
UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"], 90)
UI.SetValue(["Rage","Anti Aim","At targets"], 0)
} else if (isactived) {
UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"], 0)
UI.SetValue(["Rage","Anti Aim","At targets"], 0)
} else {
UI.SetValue(["Rage","Anti Aim","At targets"], cacheat)
UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"], cacheof)
}
}
function unload() {
UI.SetValue(["Rage","Anti Aim","At targets"], cacheat)
UI.SetValue(["Rage","Anti Aim","Directions","Yaw offset"], cacheof)
}
Cheat.RegisterCallback("Draw", "ondraw")
Cheat.RegisterCallback("CreateMove", "leshav8klasseineznaet4totakoesinys")
Cheat.RegisterCallback("CreateMove", "CMSSDSDSD111")
Cheat.RegisterCallback("unload", "unload")