Advertisement
Mister_Stefan

OTV1 Keybind List for V4

Jun 14th, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var screen_size = Render.GetScreenSize();
  2. UI.AddSubTab(["Visuals","SUBTAB_MGR"], "keybinds");
  3. UI.AddSliderInt(["Visuals", "keybinds", "keybinds"], "keybinds x", 0, screen_size[0]);
  4. UI.AddSliderInt(["Visuals", "keybinds", "keybinds"], "keybinds y", 0, screen_size[1]);
  5. UI.AddColorPicker(["Visuals", "keybinds", "keybinds"], "keybinds color");
  6. function getKeyBinds() {
  7.     isDt = UI.GetValue(["Rage", "Exploits", "Keys", "Key assignment", "Double tap"]);
  8.     isFd = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Fake duck"]);
  9.     isInv = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]);
  10.     isHideshots = UI.GetValue(["Rage", "Exploits", "Keys", "Key assignment", "Hide shots"]);
  11.     isResol = UI.GetValue(["Rage", "General", "General", "Key assignment", "Resolver override"]);
  12.     isBaim = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force body aim"]);
  13.     isSafep = UI.GetValue(["Rage", "General", "General", "Key assignment", "Force safe point"]);
  14.     isLeft = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Left direction"]);
  15.     isBack = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Back direction"]);
  16.     isRight = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Right direction"]);
  17.     isJitter = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Jitter"]);
  18.     isSw = UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]);
  19.     isEdgeJ = UI.GetValue(["Misc.", "Keys", "General", "Key assignment", "Edge jump"]);
  20.     isAP = UI.GetValue(["Misc.", "Keys", "General", "Key assignment", "Auto peek"]);
  21.     isTrigger = UI.GetValue(["Legit", "General", "General","Key assignment","Triggerbot activation"]);
  22.     isLegit = UI.GetValue(["Legit", "General", "General","Key assignment","Aimbot activation"]);
  23.     sDt = UI.GetHotkeyState(["Rage", "Exploits", "Keys", "Key assignment", "Double tap"]);
  24.     sFd = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Fake duck"]);
  25.     sInv = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]);
  26.     sHideshots = UI.GetHotkeyState(["Rage", "Exploits", "Keys", "Key assignment", "Hide shots"]);
  27.     sResol = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Resolver override"]);
  28.     sBaim = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Force body aim"]);
  29.     sSafep = UI.GetHotkeyState(["Rage", "General", "General", "Key assignment", "Force safe point"]);
  30.     sLeft = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Left direction"]);
  31.     sBack = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Back direction"]);
  32.     sRight = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Right direction"]);
  33.     sJitter = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Jitter"]);
  34.     sSw = UI.GetHotkeyState(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]);
  35.     sEdgeJ = UI.GetHotkeyState(["Misc.", "Keys", "General", "Key assignment", "Edge jump"]);
  36.     sAP = UI.GetHotkeyState(["Misc.", "Keys", "General", "Key assignment", "Auto peek"]);
  37.     sLegit = UI.GetValue(["Legit", "General", "General","Key assignment","Aimbot activation"]);
  38.     sTrigger = UI.GetValue(["Legit", "General", "General","Key assignment","Triggerbot activation"]);
  39. }
  40. UI.AddCheckbox(["Visuals", "keybinds", "keybinds"], "gradient");
  41. function HSVtoRGB(h, s, v)
  42. {
  43.     var r, g, b, i, f, p, q, t;
  44.  
  45.     i = Math.floor(h * 6);
  46.     f = h * 6 - i;
  47.     p = v * (1 - s);
  48.     q = v * (1 - f * s);
  49.     t = v * (1 - (1 - f) * s);
  50.  
  51.     switch (i % 6)
  52.     {
  53.         case 0: r = v, g = t, b = p; break;
  54.         case 1: r = q, g = v, b = p; break;
  55.         case 2: r = p, g = v, b = t; break;
  56.         case 3: r = p, g = q, b = v; break;
  57.         case 4: r = t, g = p, b = v; break;
  58.         case 5: r = v, g = p, b = q; break;
  59.     }
  60.  
  61.     return { r: Math.round(r * 255), g: Math.round(g * 255), b: Math.round(b * 255) };
  62. }
  63. function gradient(x, y, w, h, dir){
  64.     var colors = HSVtoRGB(Globals.Realtime() / 5 % 1, 1, 1)
  65.     Render.GradientRect(x, y, w, h, dir, [colors.g, colors.b, colors.r, 255], [colors.r, colors.g, colors.b, 255]);
  66.     Render.GradientRect(x, y, w, h, dir, [colors.r, colors.g, colors.b, 255], [colors.b, colors.r, colors.g, 255]);
  67. }
  68.  
  69. function draw()
  70. {
  71.     var number = 0;
  72.     var x = UI.GetValue(["Visuals", "keybinds", "keybinds", "keybinds x"]);
  73.     var y = UI.GetValue(["Visuals", "keybinds", "keybinds", "keybinds y"]);
  74.     var color = UI.GetColor(["Visuals", "keybinds", "keybinds", "keybinds color"]);
  75.     var font = Render.AddFont( "Tahoma.ttf", 12, 100);
  76.     getKeyBinds();
  77.     if(isDt==1) number++;
  78.     if(isFd==1) number++;
  79.     if(isInv==1) number++;
  80.     if(isHideshots==1) number++;
  81.     if(isBaim==1) number++;
  82.     if(isSafep==1) number++;
  83.     if(isSw==1) number++;
  84.     if(isEdgeJ==1) number++;
  85.     if(isAP==1) number++;
  86.     if(isBack==1) number++;
  87.     if(isRight==1) number++;
  88.     if(isLeft==1) number++;
  89.     if(isResol==1) number++;
  90.     if(isJitter==1) number++;
  91.     if(isLegit==1) number++;
  92.     if(isTrigger==1) number++;
  93.     Render.Rect(x, y , 200, 57 + number * 14,[30, 30, 30, 100]);
  94.     Render.Rect(x+1, y+1 , 198, 55 + number * 14,[100, 100, 100, 50]);
  95.     Render.FilledRect(x, y, 200, 57 + number * 14, [0, 0, 0, 70]);
  96.     Render.Rect(x + 5, y + 5, 190, 47 + number * 14, [0, 0, 0, 100]);
  97.     Render.FilledRect(x + 5, y + 5, 190, 47 + number * 14, [0, 0, 0, 140]);
  98.     Render.Rect(x + 6, y + 6, 188, 45 + number * 14, [50, 50, 50, 255]);
  99.     Render.String(x + 100, y + 9, 1, "binds (" + number + ")", [255, 255, 255, 255], font);
  100.     if(UI.GetValue(["Visuals", "keybinds", "keybinds", "gradient"])){
  101.         gradient(x + 15, y + 25, 170, 5, 1);
  102.     }
  103.     else{
  104.     Render.FilledRect( x + 15, y + 25, 170, 5, color);
  105.    
  106.     }
  107.    Render.GradientRect( x + 15, y + 25, 170, 5, 0, [0, 0, 0, 0], [0 , 0 , 0 , 100] );
  108.     Render.Rect(x + 16, y + 35, 168, 10 + number * 14, [0, 0, 0, 255]);
  109.     Render.Rect(x + 17, y + 36, 166, 9 + number * 14, [30, 30, 30, 255]);
  110.     Render.FilledRect(x + 18, y + 37, 164, 8 + number * 14, [0, 0, 0, 150]);
  111.     if(isDt==1){
  112.         number--;
  113.         Render.String(x+25, y + 40+number*14, 0, "doubletap", [255, 255, 255, 255], font);
  114.         if(sDt == "Toggle") Render.String(x+140, y + 40 + number*14, 0, "toggle", [255, 255, 255, 255], font);
  115.         else Render.String(x+135, y + 40+number*14, 0, "holding", [255, 255, 255, 255], font);
  116.     }
  117.     if(isHideshots==1){
  118.         number--;
  119.         Render.String(x+25, y + 40 + number * 14, 0, "on-shot aa", [255, 255, 255, 255], font);
  120.         if(sHideshots == "Toggle") Render.String(x+140, y +40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  121.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  122.     }
  123.     if(isFd==1){
  124.         number--;
  125.         Render.String(x+25, y + 40 + number * 14, 0, "fackeducking", [255, 255, 255, 255], font);
  126.         if(sFd == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  127.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  128.     }
  129.     if(isInv==1){
  130.         number--;
  131.         Render.String(x+25, y + 40 + number * 14, 0, "aa inverter", [255, 255, 255, 255], font);
  132.         if(sInv == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  133.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  134.     }
  135.     if(isBaim==1){
  136.         number--;
  137.         Render.String(x+25, y + 40 + number * 14, 0, "force body", [255, 255, 255, 255], font);
  138.         if(sBaim == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  139.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  140.     }
  141.     if(isEdgeJ==1){
  142.         number--;
  143.         Render.String(x+25, y + 40 + number * 14, 0, "edge jump", [255, 255, 255, 255], font);
  144.         if(sEdgeJ == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  145.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  146.     }
  147.     if(isSafep==1){
  148.         number--;
  149.         Render.String(x+25, y + 40 + number * 14, 0, "force safe point", [255, 255, 255, 255], font);
  150.         if(sSafep == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  151.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  152.     }
  153.     if(isSw==1){
  154.         number--;
  155.         Render.String(x+25, y + 40 + number * 14, 0, "slowwalking", [255, 255, 255, 255], font);
  156.         if(sSw == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  157.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  158.     }
  159.     if(isBack==1){
  160.         number--;
  161.         Render.String(x+25, y + 40 + number * 14, 0, "aa back", [255, 255, 255, 255], font);
  162.         if(sBack == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  163.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  164.     }
  165.     if(isRight==1){
  166.         number--;
  167.         Render.String(x+25, y + 40 + number * 14, 0, "aa right", [255, 255, 255, 255], font);
  168.         if(sRight == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  169.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  170.     }
  171.     if(isLeft==1){
  172.         number--;
  173.         Render.String(x+25, y + 40 + number * 14, 0, "aa left", [255, 255, 255, 255], font);
  174.         if(sLeft == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  175.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  176.     }
  177.     if(isResol==1){
  178.         number--;
  179.         Render.String(x+25, y + 40 + number * 14, 0, "override resolver", [255, 255, 255, 255], font);
  180.         if(sResol == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  181.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  182.     }
  183.     if(isJitter==1){
  184.         number--;
  185.         Render.String(x+25, y + 40 + number * 14, 0, "jitter aa", [255, 255, 255, 255], font);
  186.         if(sJitter == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  187.         if(sJitter == "Always") Render.String(x+140, y + 40 + number * 14, 0, "always", [255, 255, 255, 255], font);
  188.         if(sJitter == "Holding") Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  189.     }
  190.     if(isAP==1){
  191.         number--;
  192.         Render.String(x+25, y + 40 + number * 14, 0, "autopeek", [255, 255, 255, 255], font);
  193.         if(sAp == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  194.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  195.     }
  196.     if(isLegit==1){
  197.         number--;
  198.         Render.String(x+25, y + 40 + number * 14, 0, "legit aimbot", [255, 255, 255, 255], font);
  199.         if(sLeft == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  200.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  201.     }
  202.     if(isTrigger==1){
  203.         number--;
  204.         Render.String(x+25, y + 40 + number * 14, 0, "triggerbot", [255, 255, 255, 255], font);
  205.         if(sTrigger == "Toggle") Render.String(x+140, y + 40 + number * 14, 0, "toggle", [255, 255, 255, 255], font);
  206.         else Render.String(x+135, y + 40 + number * 14, 0, "holding", [255, 255, 255, 255], font);
  207.     }
  208. }
  209. Cheat.RegisterCallback("Draw", "draw");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement