make ru hacks great again
-
Автор темы
- #1
JavaScript:
var screen_size = Render.GetScreenSize();
UI.AddSubTab(["Visuals","SUBTAB_MGR"], "keybinds");
UI.AddSliderInt(["Visuals", "keybinds", "keybinds"], "keybinds x", 0, screen_size[0]);
UI.AddSliderInt(["Visuals", "keybinds", "keybinds"], "keybinds y", 0, screen_size[1]);
UI.AddColorPicker(["Visuals", "keybinds", "keybinds"], "keybinds color");
function getKeyBinds() {
isDt = UI.GetValue(["Rage", "Exploits", "Keys", "Key assignment", "Double tap"]);
isFd = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Fake duck"]);
isInv = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]);
isHideshots = UI.GetValue(["Rage", "Exploits", "Keys", "Key assignment", "Hide shots"]);
isResol = UI.GetValue(["Rage", "General", "General", "Key assignment", "Resolver override"]);
isBaim = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force body aim"]);
isSafep = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force safe point"]);
isLeft = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Left direction"]);
isBack = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Back direction"]);
isRight = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Right direction"]);
isJitter = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Jitter"]);
isSw = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]);
isEdgeJ = UI.GetValue(["Misc.", "Keys", "General", "Key assignment", "Edge jump"]);
isAP = UI.GetValue(["Misc.", "Keys", "General", "Key assignment", "Auto peek"]);
isTrigger = UI.GetValue(["Legit", "General", "General","Key assignment","Triggerbot activation"]);
isLegit = UI.GetValue(["Legit", "General", "General","Key assignment","Aimbot activation"]);
sDt = UI.GetHotkeyState(["Rage", "Exploits", "Keys", "Key assignment", "Double tap"]);
sFd = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Fake duck"]);
sInv = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]);
sHideshots = UI.GetHotkeyState(["Rage", "Exploits", "Keys", "Key assignment", "Hide shots"]);
sResol = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Resolver override"]);
sBaim = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Force body aim"]);
sSafep = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Force safe point"]);
sLeft = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Left direction"]);
sBack = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Back direction"]);
sRight = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Right direction"]);
sJitter = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Jitter"]);
sSw = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]);
sEdgeJ = UI.GetHotkeyState(["Misc.", "Keys", "General", "Key assignment", "Edge jump"]);
sAP = UI.GetHotkeyState(["Misc.", "Keys", "General", "Key assignment", "Auto peek"]);
sLegit = UI.GetValue(["Legit", "General", "General","Key assignment","Aimbot activation"]);
sTrigger = UI.GetValue(["Legit", "General", "General","Key assignment","Triggerbot activation"]);
}
UI.AddCheckbox(["Visuals", "keybinds", "keybinds"], "gradient");
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 gradient(x, y, w, h, dir){
var colors = HSVtoRGB(Globals.Realtime() / 5 % 1, 1, 1)
Render.GradientRect(x, y, w, h, dir, [colors.g, colors.b, colors.r, 255], [colors.r, colors.g, colors.b, 255]);
Render.GradientRect(x, y, w, h, dir, [colors.r, colors.g, colors.b, 255], [colors.b, colors.r, colors.g, 255]);
}
function draw()
{
var number = 0;
var x = UI.GetValue(["Visuals", "keybinds", "keybinds", "keybinds x"]);
var y = UI.GetValue(["Visuals", "keybinds", "keybinds", "keybinds y"]);
var color = UI.GetColor(["Visuals", "keybinds", "keybinds", "keybinds color"]);
var font = Render.AddFont( "Tahoma.ttf", 12, 100);
getKeyBinds();
if(isDt==1) number++;
if(isFd==1) number++;
if(isInv==1) number++;
if(isHideshots==1) number++;
if(isBaim==1) number++;
if(isSafep==1) number++;
if(isSw==1) number++;
if(isEdgeJ==1) number++;
if(isAP==1) number++;
if(isBack==1) number++;
if(isRight==1) number++;
if(isLeft==1) number++;
if(isResol==1) number++;
if(isJitter==1) number++;
if(isLegit==1) number++;
if(isTrigger==1) number++;
Render.Rect(x, y , 200, 57 + number * 14,[30, 30, 30, 100]);
Render.Rect(x+1, y+1 , 198, 55 + number * 14,[100, 100, 100, 50]);
Render.FilledRect(x, y, 200, 57 + number * 14, [0, 0, 0, 70]);
Render.Rect(x + 5, y + 5, 190, 47 + number * 14, [0, 0, 0, 100]);
Render.FilledRect(x + 5, y + 5, 190, 47 + number * 14, [0, 0, 0, 140]);
Render.Rect(x + 6, y + 6, 188, 45 + number * 14, [50, 50, 50, 255]);
Render.String(x + 100, y + 9, 1, "binds (" + number + ")", [255, 255, 255, 255], font);
if(UI.GetValue(["Visuals", "keybinds", "keybinds", "gradient"])){
gradient(x + 15, y + 25, 170, 5, 1);
}
else{
Render.FilledRect( x + 15, y + 25, 170, 5, color);
}
Render.GradientRect( x + 15, y + 25, 170, 5, 0, [0, 0, 0, 0], [0 , 0 , 0 , 100] );
Render.Rect(x + 16, y + 35, 168, 10 + number * 14, [0, 0, 0, 255]);
Render.Rect(x + 17, y + 36, 166, 9 + number * 14, [30, 30, 30, 255]);
Render.FilledRect(x + 18, y + 37, 164, 8 + number * 14, [0, 0, 0, 150]);
if(isDt==1){
number--;
Render.String(x+25, y + 40+number*14, 0, "doubletap", [255, 255, 255, 255], font);
if(sDt == "Toggle") Render.String(x+140, y + 40 + number*14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40+number*14, 0, "holding", [255, 255, 255, 255], font);
}
if(isHideshots==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "on-shot aa", [255, 255, 255, 255], font);
if(sHideshots == "Toggle") Render.String(x+140, y +40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isFd==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "fackeducking", [255, 255, 255, 255], font);
if(sFd == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isInv==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "aa inverter", [255, 255, 255, 255], font);
if(sInv == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isBaim==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "force body", [255, 255, 255, 255], font);
if(sBaim == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isEdgeJ==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "edge jump", [255, 255, 255, 255], font);
if(sEdgeJ == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isSafep==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "force safe point", [255, 255, 255, 255], font);
if(sSafep == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isSw==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "slowwalking", [255, 255, 255, 255], font);
if(sSw == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isBack==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "aa back", [255, 255, 255, 255], font);
if(sBack == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isRight==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "aa right", [255, 255, 255, 255], font);
if(sRight == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isLeft==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "aa left", [255, 255, 255, 255], font);
if(sLeft == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isResol==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "override resolver", [255, 255, 255, 255], font);
if(sResol == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isJitter==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "jitter aa", [255, 255, 255, 255], font);
if(sJitter == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
if(sJitter == "Always") Render.String(x+140, y + 40 + number * 14, 0, "always", [255, 255, 255, 255], font);
if(sJitter == "Holding") Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isAP==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "autopeek", [255, 255, 255, 255], font);
if(sAp == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isLegit==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "legit aimbot", [255, 255, 255, 255], font);
if(sLeft == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
if(isTrigger==1){
number--;
Render.String(x+25, y + 40 + number * 14, 0, "triggerbot", [255, 255, 255, 255], font);
if(sTrigger == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
}
}
Cheat.RegisterCallback("Draw", "draw");