Advertisement
Mister_Stefan

aw sensemenu

Aug 2nd, 2021
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 44.62 KB | None | 0 0
  1. -- Creator (Discord: Uglych#1515)
  2. -- Fixed and updated by naz (Discord: naz#6660)
  3.  
  4. LoadScript("SenseUI/SenseUI.lua")
  5. UnloadScript("SenseUI/SenseUI.lua")
  6.  
  7. local Ragebot_Accuracy_WeaponMovement_Reference = gui.Reference("Ragebot", "Accuracy", "Weapon Movement")
  8. local Ragebot_Accuracy_Weapon_Reference = gui.Reference("Ragebot", "Accuracy", "Weapon")
  9. local Ragebot_Hitscan_Mode_Reference = gui.Reference("Ragebot", "Hitscan", "Mode")
  10. local Legitbot_Triggerbot_Weapon_Reference = gui.Reference("Legitbot", "Triggerbot", "Weapon")
  11. local Legitbot_Weapon_Visibility_Reference = gui.Reference("Legitbot", "Weapon", "Visibility")
  12. local Legitbot_Aimbot_HitboxSelection_Reference = gui.Reference("Legitbot", "Aimbot", "Hitbox Selection")
  13. local Legitbot_Weapon_Accuracy_Reference = gui.Reference("Legitbot", "Weapon", "Accuracy")
  14. local Legitbot_Weapon_Aiming_Reference = gui.Reference("Legitbot", "Weapon", "Aiming")
  15. local Legitbot_Weapon_Target_Reference = gui.Reference("Legitbot", "Weapon", "Target")
  16.  
  17.  
  18. local window_bkey = ui.Keys.insert
  19. local window_bact = false
  20. local window_bdet = ui.KeyDetection.on_hotkey
  21. local window_moveable = true
  22. local show_gradient = true
  23. local function draw_callback()
  24.  
  25.     if ui.BeginWindow("senseui.menu", 50, 50, 650, 700) then
  26.         ui.DrawTabBar()
  27.         if show_gradient then
  28.             ui.AddGradient()
  29.         end
  30.  
  31.         ui.SetWindowOpenKey(window_bkey)
  32.         ui.SetWindowDrawTexture( false )
  33.         ui.SetWindowMoveable( window_moveable )
  34.  
  35.  
  36.         if ui.BeginTab("ragebot", ui.Icons.rage) then
  37.             if ui.BeginGroup("rbot.aimbot", "Aimbot", 25, 25, 250, 650) then
  38.  
  39.                 gui.SetValue("rbot.master", ui.Checkbox("Enable", gui.GetValue("rbot.master")))
  40.                
  41.                 gui.SetValue("rbot.aim.enable", ui.Checkbox("Automatic fire", gui.GetValue("rbot.aim.enable")))
  42.  
  43.                 gui.SetValue("rbot.aim.automation.pistol", ui.Checkbox("Auto pistol", gui.GetValue("rbot.aim.automation.pistol")))
  44.  
  45.                 local Weapon_selection = string.match(Ragebot_Hitscan_Mode_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  46.                 if Weapon_selection == "Heavy Pistol" then
  47.                     Weapon_selection = "hpistol"
  48.                 elseif Weapon_selection == "Auto Sniper" then
  49.                     Weapon_selection = "asniper"
  50.                 elseif Weapon_selection == "Submachine Gun" then
  51.                     Weapon_selection = "Smg"
  52.                 elseif Weapon_selection == "Light Machine Gun" then
  53.                     Weapon_selection = "Lmg"
  54.                 end
  55.                 local Weapon = string.lower(Weapon_selection)
  56.  
  57.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".autowall", ui.Checkbox("Auto wall", gui.GetValue("rbot.hitscan.mode."..Weapon..".autowall")))
  58.                
  59.                 gui.SetValue("rbot.aim.automation.revolver", ui.Checkbox("Auto revolver", gui.GetValue("rbot.aim.automation.revolver")))
  60.  
  61.                 gui.SetValue("rbot.aim.target.fov",ui.Slider("Field of vision", 0, 180, "%", "0%", "180%", false, gui.GetValue("rbot.aim.target.fov")))
  62.  
  63.                 gui.SetValue("rbot.aim.target.lock", ui.Checkbox("Aim lock", gui.GetValue("rbot.aim.target.lock")))
  64.  
  65.                 gui.SetValue("rbot.aim.target.silentaim", ui.Checkbox("Silent aim", gui.GetValue("rbot.aim.target.silentaim")))
  66.  
  67.                 gui.SetValue("rbot.accuracy.posadj.backtrack", ui.Checkbox("Backtracking", gui.GetValue("rbot.accuracy.posadj.backtrack")))
  68.  
  69.                 gui.SetValue("rbot.accuracy.posadj.resolver", ui.Checkbox("Resolver", gui.GetValue("rbot.accuracy.posadj.resolver")))
  70.  
  71.                 if gui.GetValue("rbot.accuracy.movement.slowkey") == 0 then
  72.                     ui.Label("Slow Walk")
  73.                     gui.SetValue("rbot.accuracy.movement.slowkey", ui.Bind("slow", false, gui.GetValue("rbot.accuracy.movement.slowkey")))
  74.                 end
  75.                
  76.                 if gui.GetValue("rbot.accuracy.movement.slowkey") ~= 0 then
  77.                     gui.SetValue("rbot.accuracy.movement.slowspeed",ui.Slider("Slow speed", 0, 130, "%", "0%", "100%", false, gui.GetValue("rbot.accuracy.movement.slowspeed")))
  78.                     gui.SetValue("rbot.accuracy.movement.slowkey", ui.Bind("slow", false, gui.GetValue("rbot.accuracy.movement.slowkey")))
  79.                 end
  80.                
  81.                 local Weapon_selection = string.match(Ragebot_Accuracy_Weapon_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  82.                 if Weapon_selection == "Heavy Pistol" then
  83.                     Weapon_selection = "hpistol"
  84.                 elseif Weapon_selection == "Auto Sniper" then
  85.                     Weapon_selection = "asniper"
  86.                 elseif Weapon_selection == "Submachine Gun" then
  87.                     Weapon_selection = "Smg"
  88.                 elseif Weapon_selection == "Light Machine Gun" then
  89.                     Weapon_selection = "Lmg"
  90.                 end
  91.                 local Weapon = string.lower(Weapon_selection)
  92.  
  93.                 gui.SetValue("rbot.accuracy.weapon."..Weapon..".hitchance",ui.Slider("Hit chance", 0, 100, "%", "0%", "100%", false, gui.GetValue("rbot.accuracy.weapon."..Weapon..".hitchance")))
  94.  
  95.                 gui.SetValue("rbot.accuracy.weapon."..Weapon..".mindmg",ui.Slider("Min damage", 0, 130, "", "0", "130", false, gui.GetValue("rbot.accuracy.weapon."..Weapon..".mindmg")))
  96.  
  97.                 gui.SetValue("rbot.accuracy.weapon.shared.antirecoil", ui.Checkbox("Anti-recoil", gui.GetValue("rbot.accuracy.weapon.shared.antirecoil")))
  98.  
  99.                 ui.Label("Double fire")
  100.                 local doublefire = 0
  101.                 if Weapon ~= "zeus" then
  102.                     gui.SetValue("rbot.accuracy.weapon."..Weapon..".doublefire", ui.Combo("Doubletap", {"Off", "Shift", "Rapid"}, gui.GetValue("rbot.accuracy.weapon."..Weapon..".doublefire") + 1) - 1)
  103.                     if gui.GetValue("rbot.accuracy.weapon."..Weapon..".doublefire") ~= 0 then
  104.                         gui.SetValue("rbot.accuracy.weapon."..Weapon..".doublefirehc",ui.Slider("Double fire hit chance", 0, 100, "%", "0%", "100%", false, gui.GetValue("rbot.accuracy.weapon."..Weapon..".doublefirehc")))
  105.                     end
  106.  
  107.                 end
  108.                
  109.                 gui.SetValue("rbot.hitscan.shared.precisehitscan", ui.Checkbox("Precise hitscan", gui.GetValue("rbot.hitscan.shared.precisehitscan")))
  110.  
  111.                 gui.SetValue("rbot.hitscan.shared.predictive", ui.Checkbox("Predictive", gui.GetValue("rbot.hitscan.shared.predictive")))
  112.  
  113.                 gui.SetValue("rbot.hitscan.maxprocessingtime",ui.Slider("Max processing time", 5, 75, "%", "5%", "75%", false, gui.GetValue("rbot.hitscan.maxprocessingtime")))
  114.  
  115.                 ui.EndGroup()
  116.             end
  117.  
  118.             if ui.BeginGroup("rbot.autostop", "Auto Stop", 295, 25, 250, 145) then
  119.  
  120.                 local Weapon_selection = string.match(Ragebot_Accuracy_WeaponMovement_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  121.                 if Weapon_selection == "Heavy Pistol" then
  122.                     Weapon_selection = "hpistol"
  123.                 elseif Weapon_selection == "Auto Sniper" then
  124.                     Weapon_selection = "asniper"
  125.                 elseif Weapon_selection == "Submachine Gun" then
  126.                     Weapon_selection = "Smg"
  127.                 elseif Weapon_selection == "Light Machine Gun" then
  128.                     Weapon_selection = "Lmg"
  129.                 end
  130.                 local Weapon = string.lower(Weapon_selection)
  131.                
  132.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostop", ui.Checkbox("Enable", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostop")))
  133.  
  134.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.betweenshots", ui.Checkbox("Between shots", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.betweenshots")))
  135.  
  136.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.early", ui.Checkbox("Early", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.early")))
  137.  
  138.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.slowwalk", ui.Checkbox("Slow walk", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.slowwalk")))
  139.  
  140.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.duck", ui.Checkbox("Duck", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.duck")))
  141.  
  142.                 gui.SetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.inmolotov", ui.Checkbox("In molotov", gui.GetValue("rbot.accuracy.wpnmovement."..Weapon..".autostopopts.inmolotov")))
  143.                
  144.                 ui.EndGroup()
  145.             end
  146.  
  147.             if ui.BeginGroup("rbot.mode", "Hitscan mode", 295, 190, 250, 250) then
  148.  
  149.                 local Weapon_selection = string.match(Ragebot_Hitscan_Mode_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  150.                 if Weapon_selection == "Heavy Pistol" then
  151.                     Weapon_selection = "hpistol"
  152.                 elseif Weapon_selection == "Auto Sniper" then
  153.                     Weapon_selection = "asniper"
  154.                 elseif Weapon_selection == "Submachine Gun" then
  155.                     Weapon_selection = "Smg"
  156.                 elseif Weapon_selection == "Light Machine Gun" then
  157.                     Weapon_selection = "Lmg"
  158.                 end
  159.                 local Weapon = string.lower(Weapon_selection)
  160.  
  161.                 ui.Label("----------------Bodyaim----------------")
  162.  
  163.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".bodyaim.force", ui.Checkbox("Force", gui.GetValue("rbot.hitscan.mode."..Weapon..".bodyaim.force")))
  164.  
  165.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".bodyaim.lethal", ui.Checkbox("Lethal", gui.GetValue("rbot.hitscan.mode."..Weapon..".bodyaim.lethal")))
  166.  
  167.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".bodyaim.onshot", ui.Checkbox("On shot", gui.GetValue("rbot.hitscan.mode."..Weapon..".bodyaim.onshot")))
  168.  
  169.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".bodyaim.safepoint", ui.Checkbox("No head safepoint", gui.GetValue("rbot.hitscan.mode."..Weapon..".bodyaim.safepoint")))
  170.  
  171.                 ui.Label("----------Prioritize safe point----------")
  172.  
  173.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".prefersafe.body", ui.Checkbox("Body", gui.GetValue("rbot.hitscan.mode."..Weapon..".prefersafe.body")))
  174.  
  175.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".prefersafe.head", ui.Checkbox("Head", gui.GetValue("rbot.hitscan.mode."..Weapon..".prefersafe.head")))
  176.  
  177.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".prefersafe.limbs", ui.Checkbox("Limbs", gui.GetValue("rbot.hitscan.mode."..Weapon..".prefersafe.limbs")))
  178.                
  179.                 ui.Label("------------Force safe point------------")
  180.  
  181.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".forcesafe.body", ui.Checkbox("Body", gui.GetValue("rbot.hitscan.mode."..Weapon..".forcesafe.body")))
  182.  
  183.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".forcesafe.head", ui.Checkbox("Head", gui.GetValue("rbot.hitscan.mode."..Weapon..".forcesafe.head")))
  184.  
  185.                 gui.SetValue("rbot.hitscan.mode."..Weapon..".forcesafe.limbs", ui.Checkbox("Limbs", gui.GetValue("rbot.hitscan.mode."..Weapon..".forcesafe.limbs")))
  186.  
  187.             ui.EndGroup()
  188.             end
  189.  
  190.             if ui.BeginGroup("rbot.misc", "Misc", 295, 460, 250, 215) then
  191.  
  192.                 ui.Label("Auto Scope")
  193.                 gui.SetValue("rbot.aim.automation.scope", ui.Combo("scope", {"Off", "On - auto unzoom", "On - no unzoom"}, gui.GetValue("rbot.aim.automation.scope") + 1) - 1)
  194.                
  195.                 --gui.SetValue("rbot.accuracy.movement.autopeek", ui.Checkbox("Quick Peek", gui.GetValue("rbot.accuracy.movement.autopeek")))
  196.  
  197.                 if gui.GetValue("rbot.accuracy.movement.autopeekkey") == 0 then
  198.                     ui.Label("Quick Peek")
  199.                     gui.SetValue("rbot.accuracy.movement.autopeekkey", ui.Bind("peek", false, gui.GetValue("rbot.accuracy.movement.autopeekkey")))
  200.                 end
  201.                
  202.                 if gui.GetValue("rbot.accuracy.movement.autopeekkey") ~= 0 then
  203.                     gui.SetValue("rbot.accuracy.movement.autopeek", ui.Checkbox("Quick Peek", gui.GetValue("rbot.accuracy.movement.autopeek")))
  204.                     gui.SetValue("rbot.accuracy.movement.autopeekkey", ui.Bind("peek", false, gui.GetValue("rbot.accuracy.movement.autopeekkey")))
  205.                 end
  206.  
  207.             ui.EndGroup()
  208.             end
  209.         ui.EndTab()
  210.         end
  211.  
  212.         if ui.BeginTab( "anti-aim", ui.Icons.antiaim) then
  213.  
  214.             if ui.BeginGroup("rbot.antiaim", "Anti-aim", 25, 25, 250, 650) then
  215.  
  216.                 if gui.GetValue("rbot.master") then
  217.  
  218.                     gui.SetValue("rbot.antiaim.advanced.autodir.edges", ui.Checkbox("Auto direction at edges", gui.GetValue("rbot.antiaim.advanced.autodir.edges")))
  219.  
  220.                     gui.SetValue("rbot.antiaim.advanced.autodir.targets", ui.Checkbox("Auto direction at targets", gui.GetValue("rbot.antiaim.advanced.autodir.targets")))
  221.  
  222.                     ui.Label("-------------Base direction-------------")
  223.  
  224.                     gui.SetValue("rbot.antiaim.base",ui.Slider("Base offset", -180, 180, "°", "-180°", "180°", false, string.gsub(gui.GetValue("rbot.antiaim.base"),'[%a%a"]'," ") * 1))
  225.  
  226.                     gui.SetValue("rbot.antiaim.base.rotation",ui.Slider("Rotation offset", -58, 58, "°", "-58°", "58°", false, gui.GetValue("rbot.antiaim.base.rotation")))
  227.  
  228.                     gui.SetValue("rbot.antiaim.base.lby",ui.Slider("Lby offset", -180, 180, "°", "-180°", "180°", false, gui.GetValue("rbot.antiaim.base.lby")))
  229.  
  230.                     ui.Label("Pitch Angle")
  231.                     gui.SetValue("rbot.antiaim.advanced.pitch", ui.Combo("pitch", {"Off", "89°", "180°"}, gui.GetValue("rbot.antiaim.advanced.pitch") + 1) - 1)
  232.  
  233.                     if gui.GetValue("rbot.antiaim.advanced.autodir.edges") then
  234.  
  235.                         ui.Label("------------Left direction------------")
  236.  
  237.                         gui.SetValue("rbot.antiaim.left",ui.Slider("Base offset", -180, 180, "°", "-180°", "180°", false, string.gsub(gui.GetValue("rbot.antiaim.left"),'[%a%a"]'," ") * 1))
  238.  
  239.                         gui.SetValue("rbot.antiaim.left.rotation",ui.Slider("Rotation offset", -58, 58, "°", "-58°", "58°", false, gui.GetValue("rbot.antiaim.left.rotation")))
  240.    
  241.                         gui.SetValue("rbot.antiaim.left.lby",ui.Slider("Lby offset", -180, 180, "°", "-180°", "180°", false, gui.GetValue("rbot.antiaim.left.lby")))
  242.  
  243.                         ui.Label("-----------Right direction-----------")
  244.  
  245.                         gui.SetValue("rbot.antiaim.right",ui.Slider("Base offset", -180, 180, "°", "-180°", "180°", false, string.gsub(gui.GetValue("rbot.antiaim.right"),'[%a%a"]'," ") * 1))
  246.  
  247.                         gui.SetValue("rbot.antiaim.right.rotation",ui.Slider("Rotation offset", -58, 58, "°", "-58°", "58°", false, gui.GetValue("rbot.antiaim.right.rotation")))
  248.    
  249.                         gui.SetValue("rbot.antiaim.right.lby",ui.Slider("Lby offset", -180, 180, "°", "-180°", "180°", false, gui.GetValue("rbot.antiaim.right.lby")))
  250.  
  251.                     end
  252.  
  253.                     ui.Label("Anti-align type")
  254.                     gui.SetValue("rbot.antiaim.advanced.antialign", ui.Combo("antialign", {"Lowerbody", "Micromovement"}, gui.GetValue("rbot.antiaim.advanced.antialign") + 1) - 1)
  255.  
  256.                     ui.Label("Auto direction priority")
  257.                     gui.SetValue("rbot.antiaim.advanced.autodirstyle", ui.Combo("autodirstyle", {"Field of vision based", "Distance based"}, gui.GetValue("rbot.antiaim.advanced.autodirstyle") + 1) - 1)
  258.  
  259.                     gui.SetValue("rbot.antiaim.advanced.antiresolver", ui.Checkbox("Anti-resolver", gui.GetValue("rbot.antiaim.advanced.antiresolver")))
  260.  
  261.                 elseif gui.GetValue("lbot.master") then
  262.  
  263.                     ui.Label("Direction")
  264.                     gui.SetValue("lbot.antiaim.direction", ui.Combo("direction", {"Auto", "Manual"}, gui.GetValue("lbot.antiaim.direction") + 1) - 1)
  265.  
  266.                         if gui.GetValue("lbot.antiaim.direction") > 0 then
  267.  
  268.                             ui.Label("Left side")
  269.                             gui.SetValue("lbot.antiaim.leftkey", ui.Bind("leftkey", false, gui.GetValue("lbot.antiaim.leftkey")))
  270.  
  271.                             ui.Label("Right side")
  272.                             gui.SetValue("lbot.antiaim.rightkey", ui.Bind("rightkey", false, gui.GetValue("lbot.antiaim.rightkey")))
  273.  
  274.                         end
  275.  
  276.  
  277.                 end
  278.  
  279.             ui.EndGroup()
  280.             end
  281.  
  282.             if ui.BeginGroup("misc.fakelag", "Fake lag", 295, 25, 250, 145) then
  283.  
  284.                 gui.SetValue("misc.fakelag.enable", ui.Checkbox("Enable", gui.GetValue("misc.fakelag.enable")))
  285.  
  286.                 gui.SetValue("misc.fakelag.key", ui.Bind("fakelag.key", false, gui.GetValue("misc.fakelag.key")))
  287.  
  288.                 gui.SetValue("misc.fakelag.factor",ui.Slider("Factor", 3, 17, "", "3", "17", false, gui.GetValue("misc.fakelag.factor")))
  289.  
  290.                 ui.Label("-----------Conditions-----------")
  291.  
  292.                 gui.SetValue("misc.fakelag.condition.peek", ui.Checkbox("Peek", gui.GetValue("misc.fakelag.condition.peek")))
  293.                
  294.                 gui.SetValue("misc.fakelag.condition.inair", ui.Checkbox("While standing", gui.GetValue("misc.fakelag.condition.inair")))
  295.  
  296.                 gui.SetValue("misc.fakelag.condition.moving", ui.Checkbox("While moving", gui.GetValue("misc.fakelag.condition.moving")))
  297.  
  298.                 gui.SetValue("misc.fakelag.condition.standing", ui.Checkbox("While in air", gui.GetValue("misc.fakelag.condition.standing")))
  299.  
  300.                 if gui.GetValue("rbot.master") then
  301.  
  302.  
  303.                
  304.                 elseif gui.GetValue("lbot.master") then
  305.  
  306.  
  307.  
  308.                 end
  309.             ui.EndGroup()
  310.             end
  311.  
  312.             if ui.BeginGroup("rbot.antiaim.Condition", "Condition", 295, 190, 250, 250) then
  313.  
  314.                 if gui.GetValue("rbot.master") then
  315.  
  316.                     gui.SetValue("rbot.antiaim.condition.shiftonshot", ui.Checkbox("Shift on shot", gui.GetValue("rbot.antiaim.condition.shiftonshot")))
  317.  
  318.                     ui.Label("----------Disable conditions----------")
  319.                     gui.SetValue("rbot.antiaim.condition.use", ui.Checkbox("On use", gui.GetValue("rbot.antiaim.condition.use")))
  320.  
  321.                     gui.SetValue("rbot.antiaim.condition.knife", ui.Checkbox("On knife", gui.GetValue("rbot.antiaim.condition.knife")))
  322.  
  323.                     gui.SetValue("rbot.antiaim.condition.grenade", ui.Checkbox("On gernade", gui.GetValue("rbot.antiaim.condition.grenade")))
  324.  
  325.                     gui.SetValue("rbot.antiaim.condition.freezetime", ui.Checkbox("During freeze time", gui.GetValue("rbot.antiaim.condition.freezetime")))
  326.  
  327.                 elseif gui.GetValue("lbot.master") then
  328.  
  329.                     gui.SetValue("lbot.antiaim.onknife", ui.Checkbox("Disable on knife", gui.GetValue("lbot.antiaim.onknife")))
  330.  
  331.                     gui.SetValue("lbot.antiaim.enemy", ui.Checkbox("On enemy aiming", gui.GetValue("lbot.antiaim.enemy")))
  332.  
  333.                     gui.SetValue("lbot.antiaim.ongrenade", ui.Checkbox("Disable on grenade", gui.GetValue("lbot.antiaim.ongrenade")))
  334.  
  335.  
  336.                 end
  337.  
  338.             ui.EndGroup()
  339.             end
  340.  
  341.             if ui.BeginGroup("rbot.antiaim.extra", "Extra", 295, 460, 250, 215) then
  342.  
  343.                 gui.SetValue("misc.fakelatency.enable", ui.Checkbox("Fakelatency enable", gui.GetValue("misc.fakelatency.enable")))
  344.  
  345.                 gui.SetValue("misc.fakelatency.key", ui.Bind("fakelatency.key", false, gui.GetValue("misc.fakelatency.key")))
  346.  
  347.                 gui.SetValue("misc.fakelatency.amount",ui.Slider("Fakelatency amount", 0, 1000, "", "0", "1000", false, gui.GetValue("misc.fakelatency.amount")))
  348.  
  349.                 if gui.GetValue("rbot.master") then
  350.  
  351.                     gui.SetValue("rbot.antiaim.extra.staticlegs", ui.Checkbox("Static legs", gui.GetValue("rbot.antiaim.extra.staticlegs")))
  352.  
  353.                     ui.Label("Fake duck")
  354.                     gui.SetValue("rbot.antiaim.extra.fakecrouchkey", ui.Bind("fakecrouchkey", false, gui.GetValue("rbot.antiaim.extra.fakecrouchkey")))
  355.  
  356.                     gui.SetValue("rbot.antiaim.extra.fakecrouchstyle", ui.Combo("fakecrouchstyle", {"Duck", "Un duck"}, gui.GetValue("rbot.antiaim.extra.fakecrouchstyle") + 1) - 1)
  357.  
  358.                     ui.Label("Fake expose toggle")
  359.                     gui.SetValue("rbot.antiaim.advanced.exposefake", ui.Bind("exposefake", false, gui.GetValue("rbot.antiaim.advanced.exposefake")))
  360.  
  361.                     gui.SetValue("rbot.antiaim.advanced.exposetype", ui.Combo("exposetype", {"1s", "1.5s"}, gui.GetValue("rbot.antiaim.advanced.exposetype") + 1) - 1)
  362.  
  363.                 elseif gui.GetValue("lbot.master") then
  364.  
  365.  
  366.  
  367.                 end
  368.  
  369.             ui.EndGroup()
  370.             end
  371.  
  372.         ui.EndTab()
  373.         end
  374.  
  375.         if ui.BeginTab("lbot.legit", ui.Icons.legit) then
  376.  
  377.             if ui.BeginGroup("lbot.aimbot", "Aimbot", 25, 25, 250, 650) then
  378.  
  379.                 gui.SetValue("lbot.aim.enable", ui.Checkbox("Enable", gui.GetValue("lbot.aim.enable")))
  380.  
  381.                 gui.SetValue("lbot.aim.key", ui.Bind("lbot.aim.key", false, gui.GetValue("lbot.aim.key")))
  382.  
  383.                 gui.SetValue("lbot.aim.autofire", ui.Checkbox("Automatic fire", gui.GetValue("lbot.aim.autofire")))
  384.  
  385.                 local Weapon_selection = string.match(Legitbot_Weapon_Visibility_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  386.                 if Weapon_selection == "Heavy Pistol" then
  387.                     Weapon_selection = "hpistol"
  388.                 elseif Weapon_selection == "Auto Sniper" then
  389.                     Weapon_selection = "asniper"
  390.                 elseif Weapon_selection == "Submachine Gun" then
  391.                     Weapon_selection = "Smg"
  392.                 elseif Weapon_selection == "Light Machine Gun" then
  393.                     Weapon_selection = "Lmg"
  394.                 end
  395.                 local Weapon = string.lower(Weapon_selection)
  396.  
  397.                 gui.SetValue("lbot.weapon.vis."..Weapon..".autowall", ui.Checkbox("Auto wall", gui.GetValue("lbot.weapon.vis."..Weapon..".autowall")))
  398.  
  399.                 gui.SetValue("lbot.weapon.vis."..Weapon..".smoke", ui.Checkbox("Through smoke", gui.GetValue("lbot.weapon.vis."..Weapon..".smoke")))
  400.  
  401.                 gui.SetValue("lbot.aim.fireonpress", ui.Checkbox("Fire on press", gui.GetValue("lbot.aim.fireonpress")))
  402.  
  403.                 gui.SetValue("lbot.aim.autopistol",ui.Slider("Auto pistol interval", 0, 500, "ms", "0ms", "500ms", false, gui.GetValue("lbot.aim.autopistol")))
  404.  
  405.                 gui.SetValue("lbot.semirage.silentaimbot", ui.Checkbox("Silent aimbot", gui.GetValue("lbot.semirage.silentaimbot")))
  406.  
  407.                 gui.SetValue("lbot.movement.quickstop", ui.Checkbox("Quick stop", gui.GetValue("lbot.movement.quickstop")))
  408.  
  409.                 gui.SetValue("lbot.movement.walkcustom", ui.Checkbox("Walk speed customization", gui.GetValue("lbot.movement.walkcustom")))
  410.  
  411.                 if gui.GetValue("lbot.movement.walkcustom") then
  412.                     gui.SetValue("lbot.movement.walkspeed",ui.Slider("Walk speed", 75, 135, "", "75", "135", false, gui.GetValue("lbot.movement.walkspeed")))
  413.                 end
  414.                
  415.                 gui.SetValue("lbot.semirage.autostop", ui.Checkbox("Auto stop", gui.GetValue("lbot.semirage.autostop")))
  416.  
  417.                 gui.SetValue("lbot.posadj.backtrack", ui.Checkbox("Backtracking", gui.GetValue("lbot.posadj.backtrack")))
  418.            
  419.                 if gui.GetValue("lbot.posadj.backtrack") then
  420.                     gui.SetValue("lbot.extra.backtrack",ui.Slider("Backtracking time", 0, 500, "ms", "0ms", "500ms", false, gui.GetValue("lbot.extra.backtrack")))
  421.                 end
  422.  
  423.                 gui.SetValue("lbot.posadj.resolver", ui.Checkbox("Resolver", gui.GetValue("lbot.posadj.resolver")))
  424.  
  425.                 local Weapon_selection = string.match(Legitbot_Aimbot_HitboxSelection_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  426.                 if Weapon_selection == "Heavy Pistol" then
  427.                     Weapon_selection = "hpistol"
  428.                 elseif Weapon_selection == "Auto Sniper" then
  429.                     Weapon_selection = "asniper"
  430.                 elseif Weapon_selection == "Submachine Gun" then
  431.                     Weapon_selection = "Smg"
  432.                 elseif Weapon_selection == "Light Machine Gun" then
  433.                     Weapon_selection = "Lmg"
  434.                 end
  435.                 local Weapon = string.lower(Weapon_selection)
  436.  
  437.                 gui.SetValue("lbot.aim."..Weapon..".nearest", ui.Checkbox("Nearest to crosshair", gui.GetValue("lbot.aim."..Weapon..".nearest")))
  438.  
  439.                 gui.SetValue("lbot.aim."..Weapon..".hitboxstep",ui.Slider("Hitbox advance multipler", 1, 4, "", "1", "4", false, gui.GetValue("lbot.aim."..Weapon..".hitboxstep")))
  440.  
  441.                 ui.EndGroup()
  442.             end
  443.  
  444.             if ui.BeginGroup("lbot.trg", "Triggerbot", 295, 25, 250, 160) then
  445.  
  446.                 gui.SetValue("lbot.trg.enable", ui.Checkbox("Enable", gui.GetValue("lbot.trg.enable")))
  447.  
  448.                 gui.SetValue("lbot.trg.key", ui.Bind("lbot.trg.key", false, gui.GetValue("lbot.trg.key")))
  449.  
  450.                 gui.SetValue("lbot.trg.autofire", ui.Checkbox("Auto fire", gui.GetValue("lbot.trg.autofire")))
  451.  
  452.                 local Weapon_selection = string.match(Legitbot_Triggerbot_Weapon_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  453.                 if Weapon_selection == "Heavy Pistol" then
  454.                     Weapon_selection = "hpistol"
  455.                 elseif Weapon_selection == "Auto Sniper" then
  456.                     Weapon_selection = "asniper"
  457.                 elseif Weapon_selection == "Submachine Gun" then
  458.                     Weapon_selection = "Smg"
  459.                 elseif Weapon_selection == "Light Machine Gun" then
  460.                     Weapon_selection = "Lmg"
  461.                 end
  462.                 local Weapon = string.lower(Weapon_selection)
  463.  
  464.                 if gui.GetValue("lbot.trg.enable") then
  465.  
  466.                     gui.SetValue("lbot.trg."..Weapon..".delay",ui.Slider("Trigger delay", 0, 500, "ms", "0ms", "500ms", false, gui.GetValue("lbot.trg."..Weapon..".delay")))
  467.  
  468.                     gui.SetValue("lbot.trg."..Weapon..".burst",ui.Slider("Trigger burst", 0, 500, "ms", "0ms", "500ms", false, gui.GetValue("lbot.trg."..Weapon..".burst")))
  469.  
  470.                     gui.SetValue("lbot.trg."..Weapon..".hitchance",ui.Slider("Hit chance", 0, 100, "%", "0%", "100%", false, gui.GetValue("lbot.trg."..Weapon..".hitchance")))
  471.  
  472.                     gui.SetValue("lbot.trg."..Weapon..".antirecoil", ui.Checkbox("Anti-recoil", gui.GetValue("lbot.trg."..Weapon..".antirecoil")))
  473.  
  474.                 end
  475.  
  476.                 gui.SetValue("lbot.extra.knifetrigger", ui.Checkbox("Knife triggerbot", gui.GetValue("lbot.extra.knifetrigger")))
  477.  
  478.  
  479.             ui.EndGroup()
  480.             end
  481.  
  482.             if ui.BeginGroup("lbot.weapon", "Weapon", 295, 210, 250, 465) then
  483.  
  484.                 local Weapon_selection = string.match(Legitbot_Weapon_Accuracy_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  485.                 if Weapon_selection == "Heavy Pistol" then
  486.                     Weapon_selection = "hpistol"
  487.                 elseif Weapon_selection == "Auto Sniper" then
  488.                     Weapon_selection = "asniper"
  489.                 elseif Weapon_selection == "Submachine Gun" then
  490.                     Weapon_selection = "Smg"
  491.                 elseif Weapon_selection == "Light Machine Gun" then
  492.                     Weapon_selection = "Lmg"
  493.                 end
  494.                 local Weapon = string.lower(Weapon_selection)
  495.  
  496.                 gui.SetValue("lbot.weapon.accuracy."..Weapon..".rcs", ui.Checkbox("Recoil control system", gui.GetValue("lbot.weapon.accuracy."..Weapon..".rcs")))
  497.  
  498.                 gui.SetValue("lbot.weapon.accuracy."..Weapon..".rcs", ui.Checkbox("Srandalone recoil control", gui.GetValue("lbot.weapon.accuracy."..Weapon..".rcs")))
  499.  
  500.                 gui.SetValue("lbot.weapon.accuracy."..Weapon..".hrecoil",ui.Slider("Horizontal recoil", 0, 100, "%", "0%", "100%", false, gui.GetValue("lbot.weapon.accuracy."..Weapon..".hrecoil")))
  501.  
  502.                 gui.SetValue("lbot.weapon.accuracy."..Weapon..".vrecoil",ui.Slider("Vertical recoil", 0, 100, "%", "0%", "100%", false, gui.GetValue("lbot.weapon.accuracy."..Weapon..".vrecoil")))
  503.  
  504.                 local Weapon_selection = string.match(Legitbot_Weapon_Aiming_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  505.                 if Weapon_selection == "Heavy Pistol" then
  506.                     Weapon_selection = "hpistol"
  507.                 elseif Weapon_selection == "Auto Sniper" then
  508.                     Weapon_selection = "asniper"
  509.                 elseif Weapon_selection == "Submachine Gun" then
  510.                     Weapon_selection = "Smg"
  511.                 elseif Weapon_selection == "Light Machine Gun" then
  512.                     Weapon_selection = "Lmg"
  513.                 end
  514.                 local Weapon = string.lower(Weapon_selection)
  515.  
  516.                 gui.SetValue("lbot.weapon.aim."..Weapon..".smooth",ui.Slider("Smooth factor", 0, 50, "", "0", "50", false, gui.GetValue("lbot.weapon.aim."..Weapon..".smooth")))
  517.  
  518.                 gui.SetValue("lbot.weapon.aim."..Weapon..".randomize",ui.Slider("Randomize factor", 0, 10, "", "0", "10", false, gui.GetValue("lbot.weapon.aim."..Weapon..".randomize")))
  519.  
  520.                 gui.SetValue("lbot.weapon.aim."..Weapon..".curve",ui.Slider("Curve factor", 0, 2, "", "0", "2", false, gui.GetValue("lbot.weapon.aim."..Weapon..".curve")))
  521.  
  522.                 local Weapon_selection = string.match(Legitbot_Weapon_Target_Reference:GetValue(), [["(.+)"]]) --Get the correct name of the weapon
  523.                 if Weapon_selection == "Heavy Pistol" then
  524.                     Weapon_selection = "hpistol"
  525.                 elseif Weapon_selection == "Auto Sniper" then
  526.                     Weapon_selection = "asniper"
  527.                 elseif Weapon_selection == "Submachine Gun" then
  528.                     Weapon_selection = "Smg"
  529.                 elseif Weapon_selection == "Light Machine Gun" then
  530.                     Weapon_selection = "Lmg"
  531.                 end
  532.                 local Weapon = string.lower(Weapon_selection)
  533.  
  534.                 gui.SetValue("lbot.weapon.target.pistol.minfov",ui.Slider("Minimum fov range", 0, 5, " ", "0", "5", false, gui.GetValue("lbot.weapon.target.pistol.minfov")))
  535.  
  536.                 gui.SetValue("lbot.weapon.target.pistol.maxfov",ui.Slider("Maximum fov range", 0, 30, " ", "0", "30", false, gui.GetValue("lbot.weapon.target.pistol.maxfov")))
  537.  
  538.                 gui.SetValue("lbot.weapon.target.pistol.tsd",ui.Slider("Target switch delay", 0, 1000, "ms", "0", "1000", false, gui.GetValue("lbot.weapon.target.pistol.tsd")))
  539.  
  540.                 gui.SetValue("lbot.weapon.target.pistol.fsd",ui.Slider("First shot delay", 0, 1000, "ms", "0", "1000", false, gui.GetValue("lbot.weapon.target.pistol.fsd")))
  541.  
  542.             ui.EndGroup()
  543.             end
  544.  
  545.         ui.EndTab()
  546.         end
  547.  
  548.         if ui.BeginTab( "visuals", ui.Icons.visuals ) then
  549.            
  550.             if ui.BeginGroup("esp.overlay", "Esp", 25, 25, 250, 650) then
  551.  
  552.                 ui.Label("----------------Enemy----------------")
  553.                 ui.Label("Box")
  554.                 gui.SetValue("esp.overlay.enemy.box", ui.Combo("enemy.box", {"Off", "Outlined", "Normal"}, gui.GetValue("esp.overlay.enemy.box") + 1) - 1)
  555.  
  556.                 gui.SetValue("esp.overlay.enemy.precision", ui.Checkbox("Box precision", gui.GetValue("esp.overlay.enemy.precision")))
  557.  
  558.                 gui.SetValue("esp.overlay.enemy.name", ui.Checkbox("Name", gui.GetValue("esp.overlay.enemy.name")))
  559.  
  560.                 gui.SetValue("esp.overlay.enemy.skeleton", ui.Checkbox("Skeleton", gui.GetValue("esp.overlay.enemy.skeleton")))
  561.  
  562.                 gui.SetValue("esp.overlay.enemy.armor", ui.Checkbox("Armor", gui.GetValue("esp.overlay.enemy.armor")))
  563.  
  564.                 ui.Label("Weapon")
  565.                 gui.SetValue("esp.overlay.enemy.weapon", ui.Combo("enemy.weapon", {"Off", "Icon", "Name"}, gui.GetValue("esp.overlay.enemy.weapon") + 1) - 1)
  566.  
  567.                 ui.Label("Weapon fiter")
  568.                 gui.SetValue("esp.overlay.enemy.weaponfilter", ui.Combo("enemy.weaponfilter", {"Active", "Active + Nades", "All"}, gui.GetValue("esp.overlay.enemy.weaponfilter") + 1) - 1)
  569.  
  570.                 gui.SetValue("esp.overlay.enemy.ammo", ui.Checkbox("Ammo", gui.GetValue("esp.overlay.enemy.ammo")))
  571.  
  572.                 gui.SetValue("esp.overlay.enemy.money", ui.Checkbox("Money", gui.GetValue("esp.overlay.enemy.money")))
  573.  
  574.                 gui.SetValue("esp.overlay.enemy.barrel", ui.Checkbox("Barrel", gui.GetValue("esp.overlay.enemy.barrel")))
  575.  
  576.                 gui.SetValue("esp.overlay.enemy.dormant", ui.Checkbox("Dormant", gui.GetValue("esp.overlay.enemy.dormant")))
  577.  
  578.                 ui.Label("----------------Weapon----------------")
  579.  
  580.                 ui.Label("Box")
  581.                 gui.SetValue("esp.overlay.weapon.box", ui.Combo("weapon.box", {"Off", "Outlined", "Normal"}, gui.GetValue("esp.overlay.weapon.box") + 1) - 1)
  582.  
  583.                 ui.Label("Name")
  584.                 gui.SetValue("esp.overlay.weapon.name", ui.Combo("weapon.name", {"Off", "Icon", "Name"}, gui.GetValue("esp.overlay.weapon.name") + 1) - 1)
  585.  
  586.                 gui.SetValue("esp.overlay.weapon.ammo", ui.Checkbox("Ammo", gui.GetValue("esp.overlay.weapon.ammo")))
  587.  
  588.                 gui.SetValue("esp.overlay.weapon.defuser", ui.Checkbox("Defuser", gui.GetValue("esp.overlay.weapon.defuser")))
  589.  
  590.                 gui.SetValue("esp.overlay.weapon.c4timer", ui.Checkbox("C4 timer", gui.GetValue("esp.overlay.weapon.c4timer")))
  591.  
  592.                 gui.SetValue("esp.overlay.weapon.dzitems", ui.Checkbox("Danger zone items", gui.GetValue("esp.overlay.weapon.dzitems")))
  593.  
  594.                 gui.SetValue("esp.overlay.weapon.dzturret", ui.Checkbox("Danger zone turret", gui.GetValue("esp.overlay.weapon.dzturret")))
  595.  
  596.             ui.EndGroup()
  597.             end
  598.  
  599.             if ui.BeginGroup("esp.world", "World", 295, 25, 250, 160) then
  600.  
  601.                 gui.SetValue("esp.world.dmgindicator", ui.Checkbox("Damage indicator", gui.GetValue("esp.world.dmgindicator")))
  602.  
  603.                 gui.SetValue("esp.world.sounds", ui.Checkbox("Sounds", gui.GetValue("esp.world.sounds")))
  604.  
  605.                 gui.SetValue("esp.world.materials.walls", ui.Checkbox("Materials walls", gui.GetValue("esp.world.materials.walls")))
  606.  
  607.                 gui.SetValue("esp.world.materials.staticprops", ui.Checkbox("Materials static prope", gui.GetValue("esp.world.materials.staticprops")))
  608.  
  609.                 ui.Label("Skybox")
  610.                 gui.SetValue("esp.world.materials.skybox", ui.Combo("materials.skybox", {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"}, gui.GetValue("esp.world.materials.skybox") + 1) - 1)
  611.  
  612.             ui.EndGroup()
  613.             end
  614.  
  615.             if ui.BeginGroup("esp.local", "Local", 295, 210, 250, 465) then
  616.  
  617.                 gui.SetValue("esp.local.thirdperson", ui.Checkbox("Third person enable", gui.GetValue("esp.local.thirdperson")))
  618.  
  619.                 gui.SetValue("esp.local.thirdpersondist",ui.Slider("Third person distance", 0, 500, "", "0", "500", false, gui.GetValue("esp.local.thirdpersondist")))
  620.  
  621.                 gui.SetValue("esp.local.fov",ui.Slider("View fov", 50, 120, "", "50", "120", false, gui.GetValue("esp.local.fov")))
  622.  
  623.                 gui.SetValue("esp.local.viewmodelfov",ui.Slider("Viewmodel fov", 40, 90, "", "40", "90", false, gui.GetValue("esp.local.viewmodelfov")))
  624.  
  625.                 gui.SetValue("esp.local.smoothghost", ui.Checkbox("Smooth ghost model", gui.GetValue("esp.local.smoothghost")))
  626.  
  627.                 ui.Label("Out of view")
  628.                 gui.SetValue("esp.local.outofview", ui.Combo("local.outofview", {"Off", "Arrow", "Arrow + Info"}, gui.GetValue("esp.local.outofview") + 1) - 1)
  629.  
  630.                 gui.SetValue("esp.other.crosshair", ui.Checkbox("Crosshair", gui.GetValue("esp.other.crosshair")))
  631.  
  632.                 ui.Label("Crosshair recoil")
  633.                 gui.SetValue("esp.other.recoilcrosshair", ui.Combo("recoilcrosshair", {"Off", "Line", "Fade"}, gui.GetValue("esp.other.recoilcrosshair") + 1) - 1)
  634.  
  635.             ui.EndGroup()
  636.             end      
  637.  
  638.         ui.EndTab()
  639.         end
  640.  
  641.         if ui.BeginTab( "settings", ui.Icons.settings ) then
  642.            
  643.             if ui.BeginGroup("misc.general", "General", 25, 25, 250, 650) then
  644.  
  645.                 gui.SetValue("misc.showspec", ui.Checkbox("Show spectators", gui.GetValue("misc.showspec")))
  646.  
  647.                 gui.SetValue("misc.rankreveal", ui.Checkbox("Show ranks", gui.GetValue("misc.rankreveal")))
  648.  
  649.                 gui.SetValue("misc.autoaccept", ui.Checkbox("Auto-accept match", gui.GetValue("misc.autoaccept")))
  650.  
  651.                 gui.SetValue("misc.fastduck", ui.Checkbox("Fast duck", gui.GetValue("misc.fastduck")))
  652.  
  653.                 gui.SetValue("misc.slidewalk", ui.Checkbox("Slide walk", gui.GetValue("misc.slidewalk")))
  654.  
  655.                 gui.SetValue("misc.autothrow", ui.Checkbox("Auto throw", gui.GetValue("misc.autothrow")))
  656.  
  657.                 gui.SetValue("misc.autothrowgrenade",ui.Slider("Grenade distance", 0, 10, "", "0", "10", false, gui.GetValue("misc.autothrowgrenade")))
  658.  
  659.                 gui.SetValue("misc.autothrowincendiary",ui.Slider("Incendiary distance", 0, 10, "", "0", "10", false, gui.GetValue("misc.autothrowincendiary")))
  660.  
  661.                 gui.SetValue("misc.speedburst.enable", ui.Checkbox("Speed burst", gui.GetValue("misc.speedburst.enable")))
  662.  
  663.                 gui.SetValue("misc.speedburst.key", ui.Bind("speedburst.key", false, gui.GetValue("misc.speedburst.key")))
  664.  
  665.                 gui.SetValue("misc.speedburst.indicator", ui.Checkbox("Speed burst indicator", gui.GetValue("misc.speedburst.indicator")))
  666.  
  667.                 gui.SetValue("misc.log.purchases", ui.Checkbox("Log purchases", gui.GetValue("misc.log.purchases")))
  668.  
  669.                 gui.SetValue("misc.log.console", ui.Checkbox("Log console", gui.GetValue("misc.log.console")))
  670.  
  671.                 ui.Label("Steal name")
  672.                 gui.SetValue("misc.stealname", ui.Bind("misc.stealname", false, gui.GetValue("misc.stealname")))
  673.  
  674.                 gui.SetValue("misc.invisiblename", ui.Checkbox("Invisible name", gui.GetValue("misc.invisiblename")))
  675.  
  676.                 gui.SetValue("misc.chatspam", ui.Checkbox("Chat spam", gui.GetValue("misc.chatspam")))
  677.  
  678.                 gui.SetValue("misc.clantag", ui.Checkbox("Clantag changer", gui.GetValue("misc.clantag")))
  679.  
  680.                 ui.Label("Open menu key")
  681.                 window_bkey, window_bact, window_bdet = ui.Bind("Openmenukey", false, window_bkey, window_bact, window_bdet)
  682.  
  683.             ui.EndGroup()
  684.             end  
  685.  
  686.             if ui.BeginGroup("misc.restrictions", "Restrictions", 295, 25, 250, 200) then
  687.  
  688.                 gui.SetValue("misc.antiuntrusted", ui.Checkbox("Anti-untrusted", gui.GetValue("misc.antiuntrusted")))
  689.  
  690.                 gui.SetValue("misc.bypasspure", ui.Checkbox("Bypass sv_pure", gui.GetValue("misc.bypasspure")))
  691.  
  692.                 gui.SetValue("misc.bypasscheats", ui.Checkbox("Bypass sv_cheats", gui.GetValue("misc.bypasscheats")))
  693.  
  694.             ui.EndGroup()
  695.             end
  696.  
  697.             if ui.BeginGroup("misc.movement", "Movement", 295, 250, 250, 425) then
  698.  
  699.                 gui.SetValue("misc.strafe.enable", ui.Checkbox("Strafe enable", gui.GetValue("misc.strafe.enable")))
  700.  
  701.                 gui.SetValue("misc.strafe.air", ui.Checkbox("Air strafe", gui.GetValue("misc.strafe.air")))
  702.  
  703.                 gui.SetValue("misc.bypasscheats", ui.Checkbox("Bypass sv_cheats", gui.GetValue("misc.bypasscheats")))
  704.  
  705.                 ui.Label("Mode")
  706.                 gui.SetValue("misc.strafe.mode", ui.Combo("misc.strafe.mode", {"Silent", "Normal", "Sideways", "W-Only", "Mouse"}, gui.GetValue("misc.strafe.mode") + 1) - 1)
  707.  
  708.                 ui.Label("Circle strafe ")
  709.                 gui.SetValue("misc.strafe.circle", ui.Bind("misc.strafe.circle", false, gui.GetValue("misc.strafe.circle")))
  710.  
  711.                 ui.Label("Snake strafe")
  712.                 gui.SetValue("misc.strafe.snake", ui.Bind("misc.strafe.snake", false, gui.GetValue("misc.strafe.snake")))
  713.                
  714.                 gui.SetValue("misc.strafe.retrack",ui.Slider("Retrack speed", 0, 8, "", "0", "8", false, gui.GetValue("misc.strafe.retrack")))
  715.  
  716.                 ui.Label("Auto jump")
  717.                 gui.SetValue("misc.autojump", ui.Combo("misc.autojump", {"Off", "Perfect", "Legit"}, gui.GetValue("misc.autojump") + 1) - 1)
  718.  
  719.                 ui.Label("Edge jump")
  720.                 gui.SetValue("misc.edgejump", ui.Bind("misc.edgejump", false, gui.GetValue("misc.edgejump")))
  721.  
  722.                 ui.Label("Auto jump-bug")
  723.                 gui.SetValue("misc.autojumpbug", ui.Bind("misc.autojumpbug", false, gui.GetValue("misc.autojumpbug")))
  724.  
  725.                 gui.SetValue("misc.duckjump", ui.Checkbox("Duck jump", gui.GetValue("misc.duckjump")))
  726.  
  727.             ui.EndGroup()
  728.             end
  729.  
  730.         ui.EndTab()
  731.         end
  732.  
  733.         if ui.BeginTab( "skinchanger", ui.Icons.skinchanger ) then
  734.            
  735.             if ui.BeginGroup("esp.skins", "Skins", 25, 25, 510, 150) then
  736.  
  737.                 ui.Label("Skin option is not currently supported", true)
  738.  
  739.             ui.EndGroup()
  740.             end
  741.  
  742.         ui.EndTab()
  743.         end
  744.  
  745.         if ui.BeginTab( "playerlist", ui.Icons.playerlist ) then
  746.            
  747.             if ui.BeginGroup("misc.playerlist", "Playerlist", 25, 25, 510, 150) then
  748.            
  749.             gui.SetValue("misc.playerlist", ui.Checkbox("Player list", gui.GetValue("misc.playerlist")))
  750.  
  751.             ui.EndGroup()
  752.             end
  753.  
  754.             if ui.BeginGroup("misc.Credits", "Credits", 25, 200, 510, 150) then
  755.            
  756.                 ui.Label("Creator (Discord: Uglych#1515)", true)
  757.  
  758.                 ui.Label("Fixed and updated by naz (Discord: naz#6660)", true)
  759.  
  760.             ui.EndGroup()
  761.             end
  762.            
  763.         ui.EndTab()
  764.         end
  765.  
  766.     ui.EndWindow()
  767.     end
  768.  
  769. end
  770.  
  771. callbacks.Register("Draw", function()
  772.     local function Round(num, numDecimalPlaces)
  773.         local mult = 10^(numDecimalPlaces or 0)
  774.         return math.floor(num * mult + 0.5) / mult
  775.     end
  776.  
  777.     local function Getserver()
  778.         if (engine.GetServerIP() == "loopback") then return "Local Server"
  779.         elseif (engine.GetServerIP() == nil) then return "Main Menu"
  780.         else return engine.GetServerIP();        
  781.         end
  782.     end
  783.  
  784.     local userName = client.GetConVar("name")
  785.  
  786.     function draw.Rect(x,y,w,h)
  787.         draw.FilledRect(x,y, x + w, y + h)
  788.     end
  789.  
  790.     local r, g, b, a = gui.GetValue("theme.header.bg")
  791.     local Localplayer, LocalplayerIndex, LocalplayerVALID = entities.GetLocalPlayer(), client.GetLocalPlayerIndex(), false;
  792.     if (Localplayer ~= nil) then LocalplayerVALID = true; end
  793.  
  794.     local Latency = LocalplayerVALID and
  795.         tostring(entities.GetPlayerResources():GetPropInt("m_iPing", LocalplayerIndex))
  796.         or "0";
  797.  
  798.     local Velocity = LocalplayerVALID and
  799.         Round(math.sqrt(Localplayer:GetPropFloat("localdata", "m_vecVelocity[0]") ^ 2 + Localplayer:GetPropFloat("localdata", "m_vecVelocity[1]") ^ 2), 0)
  800.         or "0";
  801.     if Velocity == 1 then
  802.         Velocity = 0
  803.     end
  804.  
  805.     nxzTextSize = draw.GetTextSize("Sense")
  806.     nxzAATextSize = draw.GetTextSize("SenseUI")
  807.     betaTextSize = draw.GetTextSize(" beta")
  808.     fullStringSize = draw.GetTextSize(" | " .. userName .. " | Latency: " .. Latency .. "ms" .. " | Velocity: " .. Velocity .. " | " .. Getserver())
  809.     draw.Color(5,5,5,255)
  810.     draw.Rect(5, 5, fullStringSize + nxzAATextSize + 22, 31)
  811.     draw.Color(60,60,60,255)
  812.     draw.Rect(6, 6, fullStringSize + nxzAATextSize + 20, 29)
  813.     draw.Color(40,40,40,255)
  814.     draw.Rect(7, 7, fullStringSize + nxzAATextSize + 18, 26)
  815.     draw.Color(60,60,60,255)
  816.     draw.Rect(9, 9, fullStringSize + nxzAATextSize + 14, 22)
  817.     draw.Color(17,17,17,255)
  818.     draw.Rect(10, 10, fullStringSize + nxzAATextSize + 12, 20)
  819.     draw.Color(r, g, b)
  820.     draw.Line(10, 10, fullStringSize + nxzAATextSize + 22, 10)
  821.     draw.Color(255, 255, 255)
  822.     draw.TextShadow(15, 14, "Sense")
  823.     draw.Color(r, g, b)
  824.     draw.TextShadow(16 + nxzTextSize, 14, "UI")
  825.     draw.Color(255, 255, 255)
  826.     fullString = draw.TextShadow(16 + nxzAATextSize, 14, " | " .. userName .. " | Latency: " .. Latency .. "ms" .. " | Velocity: " .. Velocity .. " | " .. Getserver())
  827. end)
  828.    
  829. callbacks.Register( "Draw", "suitest", draw_callback )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement