Mister_Stefan

Neverlose Style

Aug 24th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Coded by steffy
  2.  
  3. UI.AddLabel("--------------------------")
  4.  
  5. UI.AddLabel("Keylist settings")
  6.     /*UI.AddCheckbox("keylist line")
  7.         UI.AddColorPicker("keylist line color")
  8.     UI.AddCheckbox("main outline")
  9.         UI.AddColorPicker("main outline color")
  10.     UI.AddCheckbox("list outline")
  11.         UI.AddColorPicker("list outline color")*/
  12.     UI.AddSliderInt("x offset[keylist]", 0, Render.GetScreenSize()[0])
  13.     UI.AddSliderInt("y offset[keylist]", 0, Render.GetScreenSize()[1])
  14. UI.AddLabel("Watermark settings")
  15.     UI.AddSliderInt("x offset[watermark]", 0, Render.GetScreenSize()[0])
  16.     UI.AddSliderInt("y offset[watermark]", 0, Render.GetScreenSize()[1])
  17.     UI.AddColorPicker("watermark line color")
  18.  
  19. function neverlose_keys()
  20. {
  21. //
  22. //
  23. //
  24.     var str = [];
  25.  
  26.     if (UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap"))
  27.     {
  28.         str.push("Doubletap")
  29.     }
  30.     if (UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Hide shots"))
  31.     {
  32.         str.push("Hide shots")
  33.     }
  34.     if (UI.IsHotkeyActive("Rage", "GENERAL", "General", "Force body aim"))
  35.     {
  36.         str.push("Baim")
  37.     }
  38.     if (UI.IsHotkeyActive("Rage", "GENERAL", "General", "Force safe point"))
  39.     {
  40.         str.push("Safe points")
  41.     }
  42.     if (UI.IsHotkeyActive("Rage", "GENERAL", "General", "Resolver override"))
  43.     {
  44.         str.push("Resolver override")
  45.     }
  46.     if (UI.IsHotkeyActive("Misc", "GENERAL", "Movement", "Auto peek"))
  47.     {
  48.         str.push("Auto peek")
  49.     }
  50.     if (UI.IsHotkeyActive("Visual", "WORLD", "View", "Thirdperson"))
  51.     {
  52.         str.push("Third person")
  53.     }
  54.     if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck"))
  55.     {
  56.         str.push("Fake duck")
  57.     }
  58.     if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk"))
  59.     {
  60.         str.push("Slow walk")
  61.     }
  62.     if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter"))
  63.     {
  64.         str.push("Inverted AA")
  65.     }
  66. //
  67. //
  68. //
  69.  
  70.     const x = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "x offset[keylist]")
  71.     const y = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "y offset[keylist]")
  72.  
  73.     Render.FilledRect(x, y, 185, 23, [0,0,50,250])
  74.     Render.FilledRect(x, y + 23, 185, 19.5 + 15 * (str.length - 1.15), [0,0,20,250])
  75.  
  76. /*    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "main outline"))
  77.     {
  78.         var mo_color = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "main outline color")
  79.         Render.Rect(x, y, 185, 23, mo_color)
  80.     }
  81.  
  82.     if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "list outline"))
  83.     {
  84.         var lo_color = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "list outline color")
  85.         Render.Rect(x, y + 23, 185, 19.5 + 15 * (str.length - 1.15), lo_color)
  86.     }
  87.  
  88.     if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keylist line"))
  89.     {
  90.         var kl_color = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "keylist line color")
  91.         Render.FilledRect(x, y + 20, 185, 3, kb_color)
  92.     }*/
  93.  
  94.     Render.String(x + 65, y + 5, 0, "KeyBinds", [255,255,255,255], 1)
  95.  
  96.     for (i = 0; i < str.length; i++)
  97.     {
  98.         Render.String(x + 1, y + 24 + 15 * i, 0, str[i], [255,255,255,255], 1)
  99.         Render.String(x + 145, y + 24 + 15 * i, 0, "active", [255,255,255,255], 1)
  100.     }
  101. }
  102.  
  103. function neverlose_watermark()
  104. {
  105.     const x1 = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "x offset[watermark]")
  106.     const y1 = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "y offset[watermark]")
  107.  
  108.     var ping = 1 / Local.Latency()
  109.     var ping1 = Math.floor(ping)
  110.     var rate = 1 / Globals.Tickrate()
  111.     var tickrate = Math.floor(rate)
  112.     var framerate = 1 / Globals.Frametime()
  113.     var fps = Math.floor(framerate)
  114.  
  115.     Render.FilledRect(x1, y1 + 3, 240, 20, [0,0,20,255])
  116.  
  117.     var wm_color = UI.GetColor("Misc", "JAVASCRIPT", "Script items", "watermark line color")
  118.     Render.FilledRect(x1, y1, 240, 3, wm_color)
  119.  
  120.     Render.String(x1 + 2, y1 + 7, 0, "onetap.com", [255,255,255,255], 8)
  121.     Render.String(x1 + 71, y1 + 7, 0, "|", [255,255,255,255], 8)
  122.     Render.String(x1 + 78, y1 + 7, 0, "delay:", [255,255,255,255], 8)
  123.  
  124.     if (ping1 = Infinity)
  125.     {
  126.         Render.String(x1 + 115, y1 + 7, 0, " 0", [255,255,255,255], 8)
  127.     }
  128.     else if (ping != Infinity)
  129.     {
  130.         Render.String(x1 + 115, y1 + 7, 0, " " + ping1, [255,255,255,255], 8)
  131.     }
  132.  
  133.     Render.String(x1 + 131, y1 + 7, 0, "|", [255,255,255,255], 8)
  134.  
  135.     Render.String(x1 + 139, y1 + 7, 0,  tickrate + "tick", [255,255,255,255], 8)
  136.  
  137.     Render.String(x1 + 182, y1 + 7, 0, "|", [255,255,255,255], 8)
  138.     Render.String(x1 + 190, y1 + 7, 0, "fps:", [255,255,255,255], 8)
  139.     Render.String(x1 + 215, y1 + 7, 0, "" + fps, [255,255,255,255], 8)
  140. }
  141.  
  142. UI.AddLabel("--------------------------")
  143.  
  144. function main()
  145. {
  146.     Cheat.RegisterCallback("Draw", "neverlose_keys")
  147.     Cheat.RegisterCallback("Draw", "neverlose_watermark")
  148. }
  149. main();
Add Comment
Please, Sign In to add comment