Guest User

C++ Hacks -- SilentkillerTM

a guest
May 29th, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 173.92 KB | None | 0 0
  1. --[[
  2.  
  3.         _______________________________________________________________________________________________
  4.         _##############_######_________##########_##############_######__________######_##############_
  5.         _##############_######_________##########_##############_##############__######_##############_
  6.         _##############_######_________##########_##############_##############__######_##############_
  7.         _######_________######___________######___######_________##############__######_____######_____
  8.         _######_________######___________######___##############_######__######__######_____######_____
  9.         _######_________######___________######___##############_######__######__######_____######_____
  10.         _######_________######___________######___##############_######__######__######_____######_____
  11.         _######_________######___________######___######_________######__##############_____######_____
  12.         _##############_##############_##########_##############_######__##############_____######_____
  13.         _##############_##############_##########_##############_######__##############_____######_____
  14.         _##############_##############_##########_##############_######__________######_____######_____
  15.         _______________________________________________________________________________________________
  16.         ____________________________________________________________________________________________________________________________________________
  17.         _##############_##############_##############_##########_##############_##############_##############_######__________######_##############_
  18.         _##############_##############_##############_##########_##############_##############_##############_##############__######_##############_
  19.         _##############_##############_##############_##########_##############_##############_##############_##############__######_##############_
  20.         _######__######_######_________######___________######___######_____________######_____######__######_##############__######_____######_____
  21.         _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
  22.         _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
  23.         _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
  24.         _######__######_________######_________######___######___________######_____######_____######__######_######__##############_____######_____
  25.         _######__######_##############_##############_##########_##############_____######_____######__######_######__##############_____######_____
  26.         _######__######_##############_##############_##########_##############_____######_____######__######_######__##############_____######_____
  27.         _######__######_##############_##############_##########_##############_____######_____######__######_######__________######_____######_____
  28.         ____________________________________________________________________________________________________________________________________________
  29.  
  30.         _________________________________________________
  31.         _######__######_########__________##############_
  32.         _######__######_########__________##############_
  33.         _######__######_########__________##############_
  34.         _######__######___######__________######__######_
  35.         _######__######___######__________######__######_
  36.         _######__######___######__________######__######_
  37.         _######__######___######__________######__######_
  38.         _##############___######__________######__######_
  39.         _##############_##########_######_##############_
  40.         ___##########___##########_######_##############_
  41.         _____######_____##########_######_##############_
  42.         _________________________________________________
  43.  
  44. ]]
  45.  
  46. chat.AddText(Color(255, 120, 0), "Client Assistant v1.0 made by Classified and Apollo.")
  47. chat.AddText(Color(255, 120, 0), "Fuck script kitties. If you copy and claim this shit, I'll file a copyright claim and sue you.")
  48. chat.AddText(Color(255, 120, 0), "Type cl_menu in console to open the menu.")
  49.  
  50. local derma = derma
  51. local surface = surface
  52. local vgui = vgui
  53. local input = input
  54. local util = util
  55. local cam = cam
  56. local render = render
  57. local math = math
  58. local draw = draw
  59. local team = team
  60. local LocalPlayer = LocalPlayer
  61. local draw = draw
  62. local player = player
  63. local pairs = pairs
  64. local table = table
  65. local RunConsoleCommand = RunConsoleCommand
  66. local ents = ents
  67. local ScrH = ScrH
  68. local ScrW = ScrW
  69.  
  70. local cl_assistant = {}
  71.  
  72. local rageaimbot = 0
  73. local asfriends = 0
  74. local mcolor = Color(0, 255, 255)
  75. local hud = 1
  76. local sbx = 0
  77. local drpesp64 = 0
  78. local mu = 0
  79. local prophunt = 0
  80. local tttespspecs = 0
  81. local ateams = 0
  82. local noadmins = 0
  83. local aimprop = 0
  84.  
  85. surface.CreateFont("ClFont", {
  86.         font = "CenterPrintText",
  87.         size = 12,
  88.         weight = 800,
  89.         blursize = 0,
  90.         scanlines = 0,
  91.         antialias = false,
  92.         underline = false,
  93.         italic = false,
  94.         strikeout = false,
  95.         symbol = false,
  96.         rotary = false,
  97.         shadow = false,
  98.         additive = false,
  99.         outline = false
  100. })
  101.  
  102. cl_assistant.Propkill = {}
  103. cl_assistant.Propkill.Vars = {}
  104. cl_assistant.Propkill.Vars["PropOnKey_Key"] = CreateClientConVar("cl_propkillkey", "KEY_E", true, false)
  105.  
  106. cl_assistant.Aimbot = {}
  107. cl_assistant.Aimbot.Vars = {}
  108. cl_assistant.Aimbot.Vars["AimOnKey_Key"] = CreateClientConVar("cl_aimkey", "KEY_F", true, false)
  109.  
  110. cl_assistant.Spam = {}
  111. cl_assistant.Spam.Vars = {}
  112. cl_assistant.Spam.Vars["SpamOnKey_Key"] = CreateClientConVar("cl_servercrashkey", "KEY_U", true, false)
  113.  
  114. cl_assistant.Speedhack = {}
  115. cl_assistant.Speedhack.Vars = {}
  116. cl_assistant.Speedhack.Vars["SpeedOnKey_Key"] = CreateClientConVar("cl_speedkey", "MOUSE_5", true, false)
  117.  
  118. file.CreateDir("cl_settings")
  119.  
  120. cl_assistant.Keys = {
  121.         [0] = "KEY_NONE",
  122.         [1] = "KEY_0",
  123.         [2] = "KEY_1",
  124.         [3] = "KEY_2",
  125.         [4] = "KEY_3",
  126.         [5] = "KEY_4",
  127.         [6] = "KEY_5",
  128.         [7] = "KEY_6",
  129.         [8] = "KEY_7",
  130.         [9] = "KEY_8",
  131.         [10] = "KEY_9",
  132.         [11] = "KEY_A",
  133.         [12] = "KEY_B",
  134.         [13] = "KEY_C",
  135.         [14] = "KEY_D",
  136.         [15] = "KEY_E",
  137.         [16] = "KEY_F",
  138.         [17] = "KEY_G",
  139.         [18] = "KEY_H",
  140.         [19] = "KEY_I",
  141.         [20] = "KEY_J",
  142.         [21] = "KEY_K",
  143.         [22] = "KEY_L",
  144.         [23] = "KEY_M",
  145.         [24] = "KEY_N",
  146.         [25] = "KEY_O",
  147.         [26] = "KEY_P",
  148.         [27] = "KEY_Q",
  149.         [28] = "KEY_R",
  150.         [29] = "KEY_S",
  151.         [30] = "KEY_T",
  152.         [31] = "KEY_U",
  153.         [32] = "KEY_V",
  154.         [33] = "KEY_W",
  155.         [34] = "KEY_X",
  156.         [35] = "KEY_Y",
  157.         [36] = "KEY_Z",
  158.         [37] = "KEY_PAD_0",
  159.         [38] = "KEY_PAD_1",
  160.         [39] = "KEY_PAD_2",
  161.         [40] = "KEY_PAD_3",
  162.         [41] = "KEY_PAD_4",
  163.         [42] = "KEY_PAD_5",
  164.         [43] = "KEY_PAD_6",
  165.         [44] = "KEY_PAD_7",
  166.         [45] = "KEY_PAD_8",
  167.         [46] = "KEY_PAD_9",
  168.         [47] = "KEY_PAD_DIVIDE",
  169.         [48] = "KEY_PAD_MULTIPLY",
  170.         [49] = "KEY_PAD_MINUS",
  171.         [50] = "KEY_PAD_PLUS",
  172.         [51] = "KEY_PAD_ENTER",
  173.         [52] = "KEY_PAD_DECIMAL",
  174.         [53] = "KEY_LBRACKET",
  175.         [54] = "KEY_RBRACKET",
  176.         [55] = "KEY_SEMICOLON",
  177.         [56] = "KEY_APOSTROPHE",
  178.         [57] = "KEY_BACKQUOTE",
  179.         [58] = "KEY_COMMA",
  180.         [59] = "KEY_PERIOD",
  181.         [60] = "KEY_SLASH",
  182.         [61] = "KEY_BACKSLASH",
  183.         [62] = "KEY_MINUS",
  184.         [63] = "KEY_EQUAL",
  185.         [64] = "KEY_ENTER",
  186.         [65] = "KEY_SPACE",
  187.         [66] = "KEY_BACKSPACE",
  188.         [67] = "KEY_TAB",
  189.         [68] = "KEY_CAPSLOCK",
  190.         [69] = "KEY_NUMLOCK",
  191.         [70] = "KEY_ESCAPE",
  192.         [71] = "KEY_SCROLLLOCK",
  193.         [72] = "KEY_INSERT",
  194.         [73] = "KEY_DELETE",
  195.         [74] = "KEY_HOME",
  196.         [75] = "KEY_END",
  197.         [76] = "KEY_PAGEUP",
  198.         [77] = "KEY_PAGEDOWN",
  199.         [78] = "KEY_BREAK",
  200.         [79] = "KEY_LSHIFT",
  201.         [80] = "KEY_RSHIFT",
  202.         [81] = "KEY_LALT",
  203.         [82] = "KEY_RALT",
  204.         [83] = "KEY_LCONTROL",
  205.         [84] = "KEY_RCONTROL",
  206.         [85] = "KEY_LWIN",
  207.         [86] = "KEY_RWIN",
  208.         [87] = "KEY_APP",
  209.         [88] = "KEY_UP",
  210.         [89] = "KEY_LEFT",
  211.         [90] = "KEY_DOWN",
  212.         [91] = "KEY_RIGHT",
  213.         [92] = "KEY_F1",
  214.         [93] = "KEY_F2",
  215.         [94] = "KEY_F3",
  216.         [95] = "KEY_F4",
  217.         [96] = "KEY_F5",
  218.         [97] = "KEY_F6",
  219.         [98] = "KEY_F7",
  220.         [99] = "KEY_F8",
  221.         [100] = "KEY_F9",
  222.         [101] = "KEY_F10",
  223.         [102] = "KEY_F11",
  224.         [103] = "KEY_F12",
  225.         [107] = "KEY_XBUTTON_UP",
  226.         [108] = "KEY_XBUTTON_DOWN",
  227.         [109] = "KEY_XBUTTON_LEFT",
  228.         [110] = "KEY_XBUTTON_RIGHT",
  229.         [111] = "KEY_XBUTTON_START",
  230.         [112] = "KEY_XBUTTON_BACK",
  231.         [113] = "KEY_XBUTTON_STICK1",
  232.         [114] = "KEY_XBUTTON_STICK2",
  233.         [115] = "KEY_XBUTTON_A",
  234.         [116] = "KEY_XBUTTON_B",
  235.         [117] = "KEY_XBUTTON_X",
  236.         [118] = "KEY_XBUTTON_Y",
  237.         [119] = "KEY_XBUTTON_BLACK",
  238.         [120] = "KEY_XBUTTON_WHITE",
  239.         [121] = "KEY_XBUTTON_LTRIGGER",
  240.         [122] = "KEY_XBUTTON_RTRIGGER",
  241.         [123] = "KEY_XSTICK1_UP",
  242.         [124] = "KEY_XSTICK1_DOWN",
  243.         [125] = "KEY_XSTICK1_LEFT",
  244.         [126] = "KEY_XSTICK1_RIGHT",
  245.         [127] = "KEY_XSTICK2_UP",
  246.         [128] = "KEY_XSTICK2_DOWN",
  247.         [129] = "KEY_XSTICK2_LEFT",
  248.         [130] = "KEY_XSTICK2_RIGHT"
  249. }
  250.  
  251. cl_assistant.MouseKeys = {
  252.         [107] = "MOUSE_LEFT",
  253.         [108] = "MOUSE_RIGHT",
  254.         [109] = "MOUSE_MIDDLE",
  255.         [110] = "MOUSE_4",
  256.         [111] = "MOUSE_5"
  257. }
  258.  
  259. local allbones = "ValveBiped.Bip01_Head1" or "ValveBiped.Bip01_Neck1" or "ValveBiped.Bip01_Spine4" or "ValveBiped.Bip01_Spine2" or "ValveBiped.Bip01_Spine1" or "ValveBiped.Bip01_Spine" or "ValveBiped.Bip01_R_UpperArm" or "ValveBiped.Bip01_R_Forearm" or "ValveBiped.Bip01_R_Hand" or "ValveBiped.Bip01_L_UpperArm" or "ValveBiped.Bip01_L_Forearm" or "ValveBiped.Bip01_L_Hand" or "ValveBiped.Bip01_R_Thigh" or "ValveBiped.Bip01_R_Calf" or "ValveBiped.Bip01_R_Foot" or "ValveBiped.Bip01_R_Toe0" or "ValveBiped.Bip01_L_Thigh" or "ValveBiped.Bip01_L_Calf" or "ValveBiped.Bip01_L_Foot" or "ValveBiped.Bip01_L_Toe0"
  260.  
  261. cl_assistant.KeyPressed = function(key)
  262.         for k = 107, 111 do
  263.                 if key == cl_assistant.MouseKeys[k] then
  264.                         if input.IsMouseDown(k) then
  265.                                 return true
  266.                         else
  267.                                 return false
  268.                         end
  269.                 end
  270.         end
  271.  
  272.         for k = 0, 130 do
  273.                 if key == cl_assistant.Keys[k] then
  274.                         if input.IsKeyDown(k) then
  275.                                 return true
  276.                         else
  277.                                 return false
  278.                         end
  279.                 end
  280.         end
  281.  
  282.         return false
  283. end
  284.  
  285. if !file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
  286.         dpcolor1 = Color(0, 255, 27)
  287.  
  288.         file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
  289.  
  290.         dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
  291. else
  292.         dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
  293. end
  294.  
  295. if !file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
  296.         gcolor1 = Color(220, 0, 255)
  297.  
  298.         file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
  299.  
  300.         gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
  301. else
  302.         gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
  303. end
  304.  
  305. if !file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
  306.         fndcolor1 = Color(0, 127, 31)
  307.  
  308.         file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
  309.  
  310.         fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
  311. else
  312.         fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
  313. end
  314.  
  315. if !file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
  316.         distcolor1 = Color(0, 63, 255)
  317.  
  318.         file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
  319.  
  320.         distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
  321. else
  322.         distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
  323. end
  324.  
  325. if !file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
  326.         rpcolor1 = Color(127, 0, 255)
  327.  
  328.         file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
  329.  
  330.         rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
  331. else
  332.         rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
  333. end
  334.  
  335. if !file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
  336.         murcolor1 = Color(127, 0, 255)
  337.  
  338.         file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
  339.  
  340.         murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
  341. else
  342.         murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
  343. end
  344.  
  345. if !file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
  346.         wepcolor1 = Color(255, 93, 0)
  347.  
  348.         file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
  349.  
  350.         wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
  351. else
  352.         wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
  353. end
  354.  
  355. if !file.Exists("cl_settings/cl_fov.txt", "DATA") then
  356.         file.Write("cl_settings/cl_fov.txt", 6)
  357.  
  358.         fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
  359. else
  360.         fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
  361. end
  362.  
  363. if !file.Exists("cl_settings/cl_csize.txt", "DATA") then
  364.         file.Write("cl_settings/cl_csize.txt", 8)
  365.  
  366.         csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
  367. else
  368.         csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
  369. end
  370.  
  371. if !file.Exists("cl_settings/cl_escale.txt", "DATA") then
  372.         file.Write("cl_settings/cl_escale.txt", 3600)
  373.  
  374.         escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
  375. else
  376.         escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
  377. end
  378.  
  379. if !file.Exists("cl_settings/cl_sscale.txt", "DATA") then
  380.         file.Write("cl_settings/cl_sscale.txt", 6)
  381.  
  382.         sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
  383. else
  384.         sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
  385. end
  386.  
  387. if !file.Exists("cl_settings/cl_esscale.txt", "DATA") then
  388.         file.Write("cl_settings/cl_esscale.txt", 8)
  389.  
  390.         esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
  391. else
  392.         esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
  393. end
  394.  
  395. if !file.Exists("cl_settings/cl_props.txt", "DATA") then
  396.         propspam = "models/props_c17/Lockers001a.mdl"
  397.  
  398.         file.Write("cl_settings/cl_props.txt", propspam)
  399.  
  400.         propspam = file.Read("cl_settings/cl_props.txt", "DATA")
  401. else
  402.         propspam = file.Read("cl_settings/cl_props.txt", "DATA")
  403. end
  404.  
  405. if !file.Exists("cl_settings/cl_spammsg.txt", "DATA") then
  406.         file.Write("cl_settings/cl_spammsg.txt", "Anonymous did America a favor. Join 4chan today!")
  407.  
  408.         spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
  409. else
  410.         spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
  411. end
  412.  
  413. if !file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
  414.         scolor = Color(182, 182, 182)
  415.  
  416.         file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
  417.  
  418.         acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
  419. else
  420.         acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
  421. end
  422.  
  423. if !file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
  424.         fcolor = Color(0, 255, 255)
  425.  
  426.         file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
  427.  
  428.         mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
  429. else
  430.         mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
  431. end
  432.  
  433. local function gamemodes()
  434.         if(string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town") or string.find(gmod.GetGamemode().Name, "DarkRP") or string.find(gmod.GetGamemode().Name, "Murder")) then
  435.                 hud = 0
  436.         else
  437.                 hud = 1
  438.         end
  439. end
  440.  
  441. hook.Add("Think", "gamemodes", gamemodes)
  442.  
  443. local function gamemodes2()
  444.         if(string.find(gmod.GetGamemode().Name, "DarkRP")) then
  445.                 drpesp64 = 1
  446.         else
  447.                 drpesp64 = 0
  448.         end
  449. end
  450.  
  451. hook.Add("Think", "gamemodes2", gamemodes2)
  452.  
  453. local function gamemodes3()
  454.         if(string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town")) then
  455.                 tttespspecs = 1
  456.         else
  457.                 tttespspecs = 0
  458.         end
  459. end
  460.  
  461. hook.Add("Think", "gamemodes3", gamemodes3)
  462.  
  463. local function gamemodes4()
  464.         if(string.find(gmod.GetGamemode().Name, "Sandbox")) then
  465.                 sbx = 1
  466.         else
  467.                 sbx = 0
  468.         end
  469. end
  470.  
  471. hook.Add("Think", "gamemodes4", gamemodes4)
  472.  
  473. local function gamemodes5()
  474.         if(string.find(gmod.GetGamemode().Name, "Murder")) then
  475.                 mu = 1
  476.         else
  477.                 mu = 0
  478.         end
  479. end
  480.  
  481. hook.Add("Think", "gamemodes5", gamemodes5)
  482.  
  483. local function gamemodes6()
  484.         if(string.find(gmod.GetGamemode().Name, "Prop Hunt")) then
  485.                 prophunt = 1
  486.         else
  487.                 prophunt = 0
  488.         end
  489. end
  490.  
  491. hook.Add("Think", "gamemodes6", gamemodes6)
  492.  
  493. CreateClientConVar("cl_hud", 1, true, false)
  494. function HUDHide(cahud)
  495.         if tobool(GetConVarNumber("cl_hud")) and hud == 1 then
  496.                 for k, v in pairs({"CHudHealth", "CHudBattery","CHudAmmo", "CHudSecondaryAmmo"}) do
  497.                         if cahud == v then return false end
  498.                 end
  499.         end
  500. end
  501.  
  502. hook.Add("HUDShouldDraw", "HUDHide", HUDHide)
  503.  
  504. local fontCreated = false
  505.  
  506. CreateClientConVar("cl_hud_radar", 0, true, false)
  507.  
  508. function CAHUD()
  509.         if tobool(GetConVarNumber("cl_hud")) and hud == 1 then
  510.                 local ply = LocalPlayer()
  511.                 local HP = LocalPlayer():Health()
  512.  
  513.                 if HP < 0 then
  514.                         HP = 0
  515.                 end
  516.  
  517.                 local AR = LocalPlayer():Armor()
  518.                 local active_weapon = ply:GetActiveWeapon()
  519.                 local ammo_clip = (not IsValid(active_weapon)) and -1 or (active_weapon.Clip1 and active_weapon:Clip1() or 0)
  520.                 local ammo_inv = (not IsValid(active_weapon)) and -1 or (active_weapon.Ammo1 and active_weapon:Ammo1() or 0)
  521.                 local ammo_max = (not IsValid(active_weapon)) and -1 or ((active_weapon.Primary and active_weapon.Primary.ClipSize) or 0)
  522.  
  523.                 local MainFontData = {
  524.                 font = "CenterPrintText",
  525.                 size = 28,
  526.                 weight = 800,
  527.                 blursize = 0,
  528.                 scanlines = 0,
  529.                 antialias = false,
  530.                 underline = false,
  531.                 italic = false,
  532.                 strikeout = false,
  533.                 symbol = false,
  534.                 rotary = false,
  535.                 shadow = false,
  536.                 additive = false,
  537.                 outline = false }
  538.  
  539.                 if(fontCreated == false) then
  540.                         surface.CreateFont("MainFont", MainFontData)
  541.                         fontCreated = true
  542.                 end
  543.  
  544.                 if tobool(GetConVarNumber("cl_hud_radar")) then
  545.                         local x, y = 12, 12
  546.                         local w, h = 188, 188
  547.  
  548.                         draw.RoundedBox(4, 6, 6, 200, 200, Color(0, 0, 0, 200))
  549.  
  550.                         local CamData = {}
  551.  
  552.                         CamData.angles = Angle(90, LocalPlayer():EyeAngles().yaw, 0)
  553.                         CamData.origin = Vector(LocalPlayer():GetPos().X, LocalPlayer():GetPos().Y, LocalPlayer():GetPos().Z + 750)
  554.                         CamData.x = x
  555.                         CamData.fov = 90
  556.                         CamData.y = y
  557.                         CamData.drawviewmodel = false
  558.                         CamData.drawviewer = false
  559.                         CamData.w = w
  560.                         CamData.h = h
  561.                         render.RenderView(CamData)
  562.  
  563.                         local me_radar = Material("icon16/bullet_yellow.png")
  564.  
  565.                         surface.SetMaterial(me_radar)
  566.                         surface.SetDrawColor(255, 255, 255, 255)
  567.                         surface.DrawTexturedRect(x + w / 2 - 8, y + h / 2 - 8, 16, 16)
  568.                 end
  569.  
  570.                 draw.RoundedBox(4, 0, ScrH() - 56, 614, 56, Color(0, 0, 0, 150))
  571.                 draw.RoundedBox(0, 107, ScrH() - 28, 200, 12, Color(0, 0, 0, 225))
  572.                 draw.RoundedBox(0, 382, ScrH() - 28, 200, 12, Color(0, 0, 0, 225))
  573.                 draw.RoundedBox(0, 107, ScrH() - 28, math.Clamp(HP, 0, 100) * 2, 12, Color(244, 244, 164, 125))
  574.                 draw.RoundedBox(0, 382, ScrH() - 28, math.Clamp(AR, 0, 100) * 2, 12, Color(244, 244, 164, 125))
  575.  
  576.                 surface.SetTextColor(255, 255, 125, 255)
  577.                 surface.SetTextPos(32, ScrH() - 40)
  578.                 surface.SetFont("MainFont")
  579.                 surface.DrawText("+"..HP)
  580.  
  581.                 surface.SetTextColor(255, 255, 125, 255)
  582.                 surface.SetTextPos(307, ScrH() - 40)
  583.                 surface.SetFont("MainFont")
  584.                 surface.DrawText("&"..AR)
  585.  
  586.                 if ammo_clip != -1 then
  587.                         draw.RoundedBox(4, ScrW() - 264, ScrH() - 56, 264, 56, Color(0, 0, 0, 150))
  588.  
  589.                         surface.SetTextColor(255, 255, 125, 255)
  590.                         surface.SetTextPos(ScrW() - 181, ScrH() - 55)
  591.                         surface.SetFont("MainFont")
  592.                         surface.DrawText(ammo_clip.." / "..ammo_inv)
  593.  
  594.                         surface.SetDrawColor(0, 0, 0, 225)
  595.                         surface.DrawRect(ScrW() - 232, ScrH() - 28, 200, 12)
  596.                         surface.SetDrawColor(244, 244, 164, 125)
  597.                         surface.DrawRect(ScrW() - 232, ScrH() - 28, 200 * (ammo_clip / ammo_max), 12)
  598.                 end
  599.  
  600.                 if !tobool(GetConVarNumber("cl_crosshair")) then
  601.                         if !LocalPlayer():KeyDown(IN_ATTACK2) and !LocalPlayer():KeyDown(IN_SPEED) then
  602.                                 if LocalPlayer():KeyDown(IN_FORWARD) or LocalPlayer():KeyDown(IN_BACK) or LocalPlayer():KeyDown(IN_MOVELEFT) or LocalPlayer():KeyDown(IN_MOVERIGHT) then
  603.                                         surface.SetDrawColor(acolor)
  604.  
  605.                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 30, ScrW()/2 - 1, ScrH()/2 - 24)
  606.                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 + 30, ScrW()/2 - 1, ScrH()/2 + 24)
  607.                                         surface.DrawLine(ScrW()/2 - 33, ScrH()/2, ScrW()/2 - 27, ScrH()/2)
  608.                                         surface.DrawLine(ScrW()/2 + 31, ScrH()/2, ScrW()/2 + 25, ScrH()/2)
  609.  
  610.                                         surface.SetDrawColor(0, 0, 0, 225)
  611.  
  612.                                         surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 31, 3, 9)
  613.                                         surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 + 23, 3, 9)
  614.                                         surface.DrawOutlinedRect(ScrW()/2 - 34, ScrH()/2 - 1, 9, 3)
  615.                                         surface.DrawOutlinedRect(ScrW()/2 + 24, ScrH()/2 - 1, 9, 3)
  616.                                 else
  617.                                         surface.SetDrawColor(acolor)
  618.  
  619.                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 14, ScrW()/2 - 1, ScrH()/2 - 8)
  620.                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 + 14, ScrW()/2 - 1, ScrH()/2 + 8)
  621.                                         surface.DrawLine(ScrW()/2 - 17, ScrH()/2, ScrW()/2 - 11, ScrH()/2)
  622.                                         surface.DrawLine(ScrW()/2 + 15, ScrH()/2, ScrW()/2 + 9, ScrH()/2)
  623.  
  624.                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2, ScrW()/2, ScrH()/2)
  625.  
  626.                                         surface.SetDrawColor(0, 0, 0, 225)
  627.  
  628.                                         surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 15, 3, 9)
  629.                                         surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 + 7, 3, 9)
  630.                                         surface.DrawOutlinedRect(ScrW()/2 - 18, ScrH()/2 - 1, 9, 3)
  631.                                         surface.DrawOutlinedRect(ScrW()/2 + 8, ScrH()/2 - 1, 9, 3)
  632.  
  633.                                         surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 1, 3, 3)
  634.                                 end
  635.                         end
  636.                 end
  637.         end
  638. end
  639.  
  640. hook.Add("HUDPaint", "CAHUD", CAHUD)
  641.  
  642. concommand.Add("cl_getadmins", function()
  643.         for k, v in pairs(player.GetAll()) do
  644.                 if v:IsPlayer() and v != nil then
  645.                         if v:IsAdmin() or v:IsSuperAdmin() or v:IsUserGroup("moderator") or v:IsUserGroup("mod") or v:IsUserGroup("MOD") or v:IsUserGroup("vip-mod") or v:IsUserGroup("VIP-MOD") or v:IsUserGroup("vip-MOD") or v:IsUserGroup("donator") or v:IsUserGroup("vip") or v:IsUserGroup("VIP") then
  646.                                 chat.AddText(Color(255, 120, 0), "Name: "..v:Nick().." Rank: "..v:GetUserGroup())
  647.                         end
  648.                 end
  649.         end
  650. end)
  651.  
  652. CreateClientConVar("cl_esp", 0, true, false)
  653.  
  654. CreateClientConVar("cl_esp_showteams", 0, true, false)
  655. CreateClientConVar("cl_esp_weapons", 0, true, false)
  656. CreateClientConVar("cl_esp_showfriends", 0, true, false)
  657. CreateClientConVar("cl_esp_distance", 0, true, false)
  658. CreateClientConVar("cl_esp_drawplayer", 0, true, false)
  659. CreateClientConVar("cl_drp_teams", 0, true, false)
  660. CreateClientConVar("cl_tracers", 0, true, false)
  661. CreateClientConVar("cl_mu_ents", 0, true, false)
  662. CreateClientConVar("cl_ttt_ents", 0, true, false)
  663.  
  664. local function coordinates(ent)
  665.         local min, max = ent:OBBMins(), ent:OBBMaxs()
  666.         local corners = {
  667.                 Vector(min.x, min.y, min.z),
  668.                 Vector(min.x, min.y, max.z),
  669.                 Vector(min.x, max.y, min.z),
  670.                 Vector(min.x, max.y, max.z),
  671.                 Vector(max.x, min.y, min.z),
  672.                 Vector(max.x, min.y, max.z),
  673.                 Vector(max.x, max.y, min.z),
  674.                 Vector(max.x, max.y, max.z)
  675.         }
  676.  
  677.         local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
  678.  
  679.         for _, corner in pairs(corners) do
  680.                 local onScreen = ent:LocalToWorld(corner):ToScreen()
  681.  
  682.                 minX, minY = math.min(minX, onScreen.x), math.min(minY, onScreen.y)
  683.                 maxX, maxY = math.max(maxX, onScreen.x), math.max(maxY, onScreen.y)
  684.         end
  685.  
  686.         return minX, minY, maxX, maxY
  687. end
  688.  
  689. local function cl_esp()
  690.         if tobool(GetConVarNumber("cl_esp")) then
  691.                 for k, v in pairs(player.GetAll()) do
  692.                         if(v != LocalPlayer() and v:Alive() and (v:Health() > 0) and v:IsPlayer()) then
  693.                                 local pos = (v:GetShootPos() + Vector(0, 0, 30)):ToScreen()
  694.                                 local plyhp = v:Health()
  695.                                 local plyam = v:Armor()
  696.                                 local plynick = v:Nick()
  697.                                 local weapon = v:GetActiveWeapon()
  698.                                 local distance = v:GetPos():Distance(LocalPlayer():GetPos())
  699.                                 local distance = math.Round(distance)
  700.                                 local group = v:GetUserGroup()
  701.  
  702.                                 if weapon and weapon.GetPrintName then
  703.                                         weapon = weapon:GetPrintName() or "none"
  704.                                 else
  705.                                         weapon = "none"
  706.                                 end
  707.  
  708.                                 if v:Team() != TEAM_SPECTATOR and specs != 1 then
  709.                                         if(distance <= escale) then
  710.                                                 local x1, y1, x2, y2 = coordinates(v)
  711.  
  712.                                                 surface.SetDrawColor(dpcolor)
  713.                                                 surface.DrawLine(x1, y1, math.min(x1 + 5, x2), y1)
  714.                                                 surface.DrawLine(x1, y1, x1, math.min(y1 + 5, y2))
  715.                                                 surface.DrawLine(x2, y1, math.max(x2 - 5, x1), y1)
  716.                                                 surface.DrawLine(x2, y1, x2, math.min(y1 + 5, y2))
  717.                                                 surface.DrawLine(x1, y2, math.min(x1 + 5, x2), y2)
  718.                                                 surface.DrawLine(x1, y2, x1, math.max(y2 - 5, y1))
  719.                                                 surface.DrawLine(x2, y2, math.max(x2 - 5, x1), y2)
  720.                                                 surface.DrawLine(x2, y2, x2, math.max(y2 - 5, y1))
  721.  
  722.                                                 draw.SimpleTextOutlined("Name: "..plynick, "Default", pos.x, pos.y, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
  723.                                                 draw.SimpleTextOutlined("Health: "..plyhp, "Default", pos.x, pos.y + 15, Color(255, 0, 0, 255), 1, 1, 1, Color(255, 255, 255, 255))
  724.                                                 draw.SimpleTextOutlined("Armor: "..plyam, "Default", pos.x, pos.y + 30, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
  725.  
  726.                                                 if tobool(GetConVarNumber("cl_esp_showteams")) then
  727.                                                         draw.SimpleTextOutlined("Rank: "..group, "Default", pos.x, pos.y + 45, gcolor, 1, 1, 1, Color(255, 255, 255, 255))
  728.                                                 end
  729.  
  730.                                                 if tobool(GetConVarNumber("cl_esp_weapons")) and v:Alive() then
  731.                                                         draw.SimpleTextOutlined("Weapon: "..weapon, "Default", pos.x, pos.y + 60, wepcolor, 1, 1, 1, Color(255, 255, 255, 255))
  732.                                                 end
  733.  
  734.                                                 if tobool(GetConVarNumber("cl_esp_showfriends")) then
  735.                                                         if v:GetFriendStatus() == "friend" then
  736.                                                                 draw.SimpleTextOutlined("Steam Friend", "Default", pos.x, pos.y - 15, fndcolor, 1, 1, 1, Color(255, 255, 255, 255))
  737.                                                         end
  738.                                                 end
  739.  
  740.                                                 if tobool(GetConVarNumber("cl_esp_distance")) then
  741.                                                         draw.SimpleTextOutlined("Distance: "..distance.." ft.", "Default", pos.x, pos.y + 75, distcolor, 1, 1, 1, Color(255, 255, 255, 255))
  742.                                                 end
  743.  
  744.                                                 if tobool(GetConVarNumber("cl_esp_drawplayer")) and !cl_assistant.Visible(v) then
  745.                                                         cam.Start3D()
  746.                                                                 local col = dpcolor
  747.  
  748.                                                                 cam.IgnoreZ(true)
  749.                                                                 render.MaterialOverride(Material("models/debug/debugwhite"))
  750.                                                                 render.SuppressEngineLighting(true)
  751.                                                                 render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  752.  
  753.                                                                 v:DrawModel()
  754.  
  755.                                                                 render.SetColorModulation(1, 1, 1)
  756.                                                                 render.SuppressEngineLighting(false)
  757.                                                                 render.MaterialOverride(0)
  758.                                                                 cam.IgnoreZ(false)
  759.                                                         cam.End3D()
  760.                                                 end
  761.  
  762.                                                 if tobool(GetConVarNumber("cl_drp_teams")) and drpesp64 == 1 then
  763.                                                         draw.SimpleTextOutlined("Team: "..team.GetName(v:Team()), "Default", pos.x, pos.y + 90, rpcolor, 1, 1, 1, Color(255, 255, 255, 255))
  764.                                                 end
  765.  
  766.                                                 if tobool(GetConVarNumber("cl_tracers")) then
  767.                                                         local pos3 = (v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1"))):ToScreen()
  768.  
  769.                                                         if(v:GetFriendStatus() == "friend") then
  770.                                                                 surface.SetDrawColor(0, 0, 255)
  771.                                                                 surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
  772.                                                         end
  773.  
  774.                                                         if(v:GetFriendStatus() == "none") then
  775.                                                                 surface.SetDrawColor(255, 0, 0)
  776.                                                                 surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
  777.                                                         end
  778.                                                 end
  779.  
  780.                                                 if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
  781.                                                         if v:HasWeapon("weapon_mu_magnum") then
  782.                                                                 draw.SimpleTextOutlined("Bystander with a gun", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  783.                                                         end
  784.  
  785.                                                         if v:HasWeapon("weapon_mu_knife") then
  786.                                                                 draw.SimpleTextOutlined("Murderer", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  787.                                                         end
  788.  
  789.                                                         if !v:HasWeapon("weapon_mu_knife") and !v:HasWeapon("weapon_mu_magnum") then
  790.                                                                 draw.SimpleTextOutlined("Bystander", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  791.                                                         end
  792.                                                 end
  793.  
  794.                                                 if tobool(GetConVarNumber("cl_ttt_ents")) and tttespspecs == 1 then
  795.                                                         ttt_t_weps = "AMMO_C4" or "AMMO_KNIFE" or "AMMO_TELEPORT" or "AMMO_FLARE" or "AMMO_PHAMMER" or "AMMO_POLTER" or "AMMO_RADIO" or "AMMO_SIPISTOL" or "AMMO_DECOY"
  796.                                                         ttt_d_weps = "AMMO_BINOCULARS" or "AMMO_CSE" or "AMMO_DEFUSER" or "AMMO_HEALTHSTATION" or "AMMO_STUN" or "AMMO_WTESTER"
  797.                                                 end
  798.                                         end
  799.                                 else
  800.                                         if v:Team() == TEAM_SPECTATOR and specs == 1 then
  801.                                                 if(distance <= escale) then
  802.                                                         local x1, y1, x2, y2 = coordinates(v)
  803.  
  804.                                                         surface.SetDrawColor(dpcolor)
  805.                                                         surface.DrawLine(x1, y1, math.min(x1 + 5, x2), y1)
  806.                                                         surface.DrawLine(x1, y1, x1, math.min(y1 + 5, y2))
  807.                                                         surface.DrawLine(x2, y1, math.max(x2 - 5, x1), y1)
  808.                                                         surface.DrawLine(x2, y1, x2, math.min(y1 + 5, y2))
  809.                                                         surface.DrawLine(x1, y2, math.min(x1 + 5, x2), y2)
  810.                                                         surface.DrawLine(x1, y2, x1, math.max(y2 - 5, y1))
  811.                                                         surface.DrawLine(x2, y2, math.max(x2 - 5, x1), y2)
  812.                                                         surface.DrawLine(x2, y2, x2, math.max(y2 - 5, y1))
  813.  
  814.                                                         draw.SimpleTextOutlined("Name: "..plynick, "Default", pos.x, pos.y, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
  815.                                                         draw.SimpleTextOutlined("Health: "..plyhp, "Default", pos.x, pos.y + 15, Color(255, 0, 0, 255), 1, 1, 1, Color(255, 255, 255, 255))
  816.                                                         draw.SimpleTextOutlined("Armor: "..plyam, "Default", pos.x, pos.y + 30, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
  817.  
  818.                                                         if tobool(GetConVarNumber("cl_esp_showteams")) then
  819.                                                                 draw.SimpleTextOutlined("Rank: "..group, "Default", pos.x, pos.y + 45, gcolor, 1, 1, 1, Color(255, 255, 255, 255))
  820.                                                         end
  821.  
  822.                                                         if tobool(GetConVarNumber("cl_esp_weapons")) and v:Alive() then
  823.                                                                 draw.SimpleTextOutlined("Weapon: "..weapon, "Default", pos.x, pos.y + 60, wepcolor, 1, 1, 1, Color(255, 255, 255, 255))
  824.                                                         end
  825.  
  826.                                                         if tobool(GetConVarNumber("cl_esp_showfriends")) then
  827.                                                                 if v:GetFriendStatus() == "friend" then
  828.                                                                         draw.SimpleTextOutlined("Steam Friend", "Default", pos.x, pos.y - 15, fndcolor, 1, 1, 1, Color(255, 255, 255, 255))
  829.                                                                 end
  830.                                                         end
  831.  
  832.                                                         if tobool(GetConVarNumber("cl_esp_distance")) then
  833.                                                                 draw.SimpleTextOutlined("Distance: "..distance.." ft.", "Default", pos.x, pos.y + 75, distcolor, 1, 1, 1, Color(255, 255, 255, 255))
  834.                                                         end
  835.  
  836.                                                         if tobool(GetConVarNumber("cl_esp_drawplayer")) and !cl_assistant.Visible(v) then
  837.                                                                 cam.Start3D()
  838.                                                                         local col = dpcolor
  839.  
  840.                                                                         cam.IgnoreZ(true)
  841.                                                                         render.MaterialOverride(Material("models/debug/debugwhite"))
  842.                                                                         render.SuppressEngineLighting(true)
  843.                                                                         render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  844.  
  845.                                                                         v:DrawModel()
  846.  
  847.                                                                         render.SetColorModulation(1, 1, 1)
  848.                                                                         render.SuppressEngineLighting(false)
  849.                                                                         render.MaterialOverride(0)
  850.                                                                         cam.IgnoreZ(false)
  851.                                                                 cam.End3D()
  852.                                                         end
  853.  
  854.                                                         if tobool(GetConVarNumber("cl_drp_teams")) and drpesp64 == 1 then
  855.                                                                 draw.SimpleTextOutlined("Team: "..team.GetName(v:Team()), "Default", pos.x, pos.y + 90, rpcolor, 1, 1, 1, Color(255, 255, 255, 255))
  856.                                                         end
  857.  
  858.                                                         if tobool(GetConVarNumber("cl_tracers")) then
  859.                                                                 local pos3 = (v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1"))):ToScreen()
  860.  
  861.                                                                 if(v:GetFriendStatus() == "friend") then
  862.                                                                         surface.SetDrawColor(0, 0, 255)
  863.                                                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
  864.                                                                 end
  865.  
  866.                                                                 if(v:GetFriendStatus() == "none") then
  867.                                                                         surface.SetDrawColor(255, 0, 0)
  868.                                                                         surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
  869.                                                                 end
  870.                                                         end
  871.  
  872.                                                         if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
  873.                                                                 if v:HasWeapon("weapon_mu_magnum") then
  874.                                                                         draw.SimpleTextOutlined("Bystander with a gun", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  875.                                                                 end
  876.  
  877.                                                                 if v:HasWeapon("weapon_mu_knife") then
  878.                                                                         draw.SimpleTextOutlined("Murderer", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  879.                                                                 end
  880.  
  881.                                                                 if !v:HasWeapon("weapon_mu_knife") and !v:HasWeapon("weapon_mu_magnum") then
  882.                                                                         draw.SimpleTextOutlined("Bystander", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
  883.                                                                 end
  884.                                                         end
  885.  
  886.                                                         if tobool(GetConVarNumber("cl_ttt_ents")) and tttespspecs == 1 then
  887.                                                                 ttt_t_weps = "AMMO_C4" or "AMMO_KNIFE" or "AMMO_TELEPORT" or "AMMO_FLARE" or "AMMO_PHAMMER" or "AMMO_POLTER" or "AMMO_RADIO" or "AMMO_SIPISTOL" or "AMMO_DECOY"
  888.                                                                 ttt_d_weps = "AMMO_BINOCULARS" or "AMMO_CSE" or "AMMO_DEFUSER" or "AMMO_HEALTHSTATION" or "AMMO_STUN" or "AMMO_WTESTER"
  889.                                                         end
  890.                                                 end
  891.                                         else
  892.                                                 if v:Team() == TEAM_SPECTATOR and specs != 1 then
  893.                                                         v = nil
  894.                                                 end
  895.                                         end
  896.                                 end
  897.                         end
  898.                 end
  899.         end
  900. end
  901.  
  902. hook.Add("HUDPaint", "cl_esp", cl_esp)
  903.  
  904. CreateClientConVar("cl_ateams", 0, true, false)
  905. local function cl_ateams()
  906.         if tobool(GetConVarNumber("cl_ateams")) then
  907.                 ateams = 1
  908.         else
  909.                 ateams = 0
  910.         end
  911. end
  912.  
  913. hook.Add("Think", "cl_ateams", cl_ateams)
  914.  
  915. local function cl_mu_entities_2()
  916.         if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
  917.                 for k, v in pairs(ents.GetAll()) do
  918.                         if v:GetClass() == "weapon_mu_knife" then
  919.                                 cam.Start3D()
  920.                                         local col = dpcolor
  921.  
  922.                                         cam.IgnoreZ(true)
  923.                                         render.MaterialOverride(Material("models/debug/debugwhite"))
  924.                                         render.SuppressEngineLighting(true)
  925.                                         render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  926.  
  927.                                         v:DrawModel()
  928.  
  929.                                         render.SetColorModulation(1, 1, 1)
  930.                                         render.SuppressEngineLighting(false)
  931.                                         render.MaterialOverride(0)
  932.                                         cam.IgnoreZ(false)
  933.                                 cam.End3D()
  934.                         end
  935.  
  936.                         if v:GetClass() == "weapon_mu_magnum" then
  937.                                 cam.Start3D()
  938.                                         local col = dpcolor
  939.  
  940.                                         cam.IgnoreZ(true)
  941.                                         render.MaterialOverride(Material("models/debug/debugwhite"))
  942.                                         render.SuppressEngineLighting(true)
  943.                                         render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  944.  
  945.                                         v:DrawModel()
  946.  
  947.                                         render.SetColorModulation(1, 1, 1)
  948.                                         render.SuppressEngineLighting(false)
  949.                                         render.MaterialOverride(0)
  950.                                         cam.IgnoreZ(false)
  951.                                 cam.End3D()
  952.                         end
  953.  
  954.                         if v:GetClass() == "mu_loot" then
  955.                                 cam.Start3D()
  956.                                         local col = dpcolor
  957.  
  958.                                         cam.IgnoreZ(true)
  959.                                         render.MaterialOverride(Material("models/debug/debugwhite"))
  960.                                         render.SuppressEngineLighting(true)
  961.                                         render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  962.  
  963.                                         v:DrawModel()
  964.  
  965.                                         render.SetColorModulation(1, 1, 1)
  966.                                         render.SuppressEngineLighting(false)
  967.                                         render.MaterialOverride(0)
  968.                                         cam.IgnoreZ(false)
  969.                                 cam.End3D()
  970.                         end
  971.                 end
  972.         end
  973. end
  974.  
  975. hook.Add("HUDPaint", "cl_mu_entities_2", cl_mu_entities_2)
  976.  
  977. CreateClientConVar("cl_esp_drpents", 0, true, false)
  978. local function cl_esp_drpents()
  979.         if tobool(GetConVarNumber("cl_esp_drpents")) then
  980.                 for k, v in pairs(ents.GetAll()) do
  981.                         if(v:GetClass() == "spawned_money" or v:GetClass() == "spawned_shipment" or v:GetClass() == "spawned_ammo" or v:GetClass() == "spawned_weapon" or v:GetClass() == "money_printer" or v:GetClass() == "gunlab" or v:GetClass() == "drug" or v:GetClass() == "drug_lab") then
  982.                                 cam.Start3D()
  983.                                         local col = mcolor
  984.  
  985.                                         cam.IgnoreZ(true)
  986.                                         render.MaterialOverride(Material("models/debug/debugwhite"))
  987.                                         render.SuppressEngineLighting(true)
  988.                                         render.SetColorModulation(col.r/255, col.g/255, col.b/255)
  989.  
  990.                                         v:DrawModel()
  991.  
  992.                                         render.SetColorModulation(1, 1, 1)
  993.                                         render.SuppressEngineLighting(false)
  994.                                         render.MaterialOverride(0)
  995.                                         cam.IgnoreZ(false)
  996.                                 cam.End3D()
  997.                         end
  998.                 end
  999.         end
  1000. end
  1001.  
  1002. hook.Add("HUDPaint", "cl_esp_drpents", cl_esp_drpents)
  1003.  
  1004. function cl_assistant.GetShootPos(ent)
  1005.         local eyes = ent:LookupAttachment("eyes");
  1006.         if(eyes != 0) then
  1007.                 eyes = ent:GetAttachment(eyes);
  1008.  
  1009.                 if(eyes and eyes.Pos) then
  1010.                         return eyes.Pos, eyes.Ang;
  1011.                 end
  1012.         end
  1013. end
  1014.  
  1015. function cl_assistant.Visible(ent)
  1016.         local pos = LocalPlayer():GetShootPos()
  1017.         local ang = LocalPlayer():GetAimVector()
  1018.         local trace = {start = LocalPlayer():GetShootPos(), endpos = cl_assistant.GetShootPos(ent), filter = {LocalPlayer(), ent}, mask = 1174421507};
  1019.         local tr = util.TraceLine(trace);
  1020.  
  1021.         return(tr.Fraction == 1);
  1022. end
  1023.  
  1024. CreateClientConVar("cl_bhop", 0, true, false)
  1025. local function cl_bhop()
  1026.         if tobool(GetConVarNumber("cl_bhop")) then
  1027.                 if LocalPlayer():IsOnGround() and input.IsKeyDown(KEY_SPACE) then
  1028.                         RunConsoleCommand("+jump")
  1029.                 else
  1030.                         RunConsoleCommand("-jump")
  1031.                 end
  1032.         end
  1033. end
  1034.  
  1035. hook.Add("CreateMove", "cl_bhop", cl_bhop)
  1036.  
  1037. CreateClientConVar("cl_easypropkill", 0, true, false)
  1038. local function cl_easypropkill(cmd)
  1039.     if tobool(GetConVarNumber("cl_easypropkill")) then
  1040.         if cl_assistant.KeyPressed(cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString()) then
  1041.             cmd:SetMouseWheel(1)
  1042.         end
  1043.     end
  1044. end
  1045.  
  1046. hook.Add("CreateMove", "cl_easypropkill", cl_easypropkill)
  1047.  
  1048. CreateClientConVar("cl_servercrash", 0, true, false)
  1049. local function cl_servercrash(cmd)
  1050.     if tobool(GetConVarNumber("cl_servercrash")) then
  1051.         if cl_assistant.KeyPressed(cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString()) then
  1052.                         LocalPlayer():ConCommand("gm_spawn "..propspam)
  1053.         end
  1054.     end
  1055. end
  1056.  
  1057. hook.Add("CreateMove", "cl_servercrash", cl_servercrash)
  1058.  
  1059. CreateClientConVar("cl_norecoil", 0, true, false)
  1060. local function cl_norecoil()
  1061.         if tobool(GetConVarNumber("cl_norecoil")) then
  1062.                 weapon = LocalPlayer():GetActiveWeapon()
  1063.  
  1064.                 if !IsValid(weapon) then
  1065.                         return
  1066.         end
  1067.  
  1068.                 if weapon.Primary then
  1069.                         if weapon.Primary.Recoil then
  1070.                                 weapon.Primary.Recoil = 0
  1071.                         end
  1072.  
  1073.                         if weapon.Primary.IronAccuracy then
  1074.                                 weapon.Primary.IronAccuracy = 0
  1075.                                 weapon.IronAccuracy = 0
  1076.                         end
  1077.  
  1078.                         if weapon.Primary.KickUp then
  1079.                                 weapon.Primary.KickUp = 0
  1080.                                 weapon.Primary.KickDown = 0
  1081.                                 weapon.Primary.KickHorizontal = 0
  1082.                         end
  1083.         end
  1084.         end
  1085. end
  1086.  
  1087. hook.Add("Think", "cl_norecoil", cl_norecoil)
  1088.  
  1089. CreateClientConVar("cl_nospread", 0, true, false)
  1090. local function cl_nospread()
  1091.         if tobool(GetConVarNumber("cl_nospread")) then
  1092.                 weapon = LocalPlayer():GetActiveWeapon()
  1093.  
  1094.                 if !IsValid(weapon) then
  1095.                         return
  1096.         end
  1097.  
  1098.                 if weapon.Primary then
  1099.                         if weapon.Primary.Spread then
  1100.                                 weapon.Primary.Spread = 0
  1101.                         end
  1102.  
  1103.                         if weapon.Primary.Cone then
  1104.                                 weapon.Primary.Cone = 0
  1105.                         end
  1106.         end
  1107.         end
  1108. end
  1109.  
  1110. hook.Add("Think", "cl_nospread", cl_nospread)
  1111.  
  1112. CreateClientConVar("cl_aimbot_friendsnotarget", 0, true, false)
  1113. local function cl_aimbot_friendsnotarget()
  1114.         if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
  1115.                 asfriends = 1
  1116.         else
  1117.                 asfriends = 0
  1118.         end
  1119. end
  1120.  
  1121. hook.Add("Think", "cl_aimbot_friendsnotarget", cl_aimbot_friendsnotarget)
  1122.  
  1123. local attacking = false
  1124.  
  1125. CreateClientConVar("cl_autofire", 0, true, false)
  1126. local function cl_autofire(cmd)
  1127.         if tobool(GetConVarNumber("cl_autofire")) then
  1128.                 if !input.IsMouseDown(MOUSE_LEFT) then return end
  1129.  
  1130.                 attacking = !attacking
  1131.  
  1132.                 if attacking then
  1133.                         cmd:SetButtons(IN_ATTACK)
  1134.                 else
  1135.                         cmd:SetButtons(0)
  1136.                 end
  1137.         end
  1138. end
  1139.  
  1140. hook.Add("CreateMove", "cl_autofire", cl_autofire)
  1141.  
  1142. CreateClientConVar("cl_speed", 0, true, false)
  1143. local function cl_speed()
  1144.         if(tobool(GetConVarNumber("cl_speed")) and cl_assistant.KeyPressed(cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString())) then
  1145.                 LocalPlayer():ConCommand("host_framerate "..sscale)
  1146.                 LocalPlayer():ConCommand("rate 25000")
  1147.                 LocalPlayer():ConCommand("cl_cmdrate 66")
  1148.                 LocalPlayer():ConCommand("cl_updaterate 66")
  1149.         else
  1150.                 LocalPlayer():ConCommand("host_framerate 0")
  1151.                 LocalPlayer():ConCommand("rate 100000")
  1152.                 LocalPlayer():ConCommand("cl_cmdrate 30")
  1153.                 LocalPlayer():ConCommand("cl_updaterate 30")
  1154.         end
  1155. end
  1156.  
  1157. hook.Add("Think", "cl_speed", cl_speed)
  1158.  
  1159. CreateClientConVar("cl_ttt_spectatorstarget", 0, true, false)
  1160. local function cl_ttt_spectatorstarget()
  1161.         if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) and tttespspecs == 1 then
  1162.                 specs = 1
  1163.         else
  1164.                 specs = 0
  1165.         end
  1166. end
  1167.  
  1168. hook.Add("Think", "cl_ttt_spectatorstarget", cl_ttt_spectatorstarget)
  1169.  
  1170. hitsounds = {"player/headshot1.wav", "player/headshot2.wav", "player/kevlar1.wav", "player/kevlar2.wav", "player/kevlar3.wav", "player/kevlar4.wav", "player/kevlar5.wav"}
  1171.  
  1172. CreateClientConVar("cl_hitmarkers", 0, true, false)
  1173. local function cl_hitmarkers(ply, hitgroup, dmginfo)
  1174.         if tobool(GetConVarNumber("cl_hitmarkers")) and hud == 1 then
  1175.                 if dmginfo:GetAttacker():IsPlayer() and dmginfo:GetAttacker() == LocalPlayer() then
  1176.                         LocalPlayer():ConCommand("cl_drawmark 1")
  1177.  
  1178.                         timer.Simple(0.83, function() LocalPlayer():ConCommand("cl_drawmark 0") end)
  1179.  
  1180.                         hitsnd = table.Random(hitsounds)
  1181.  
  1182.                         timer.Simple(0.1, function() surface.PlaySound(hitsnd) end)
  1183.                 end
  1184.         end
  1185. end
  1186.  
  1187. hook.Add("ScalePlayerDamage", "cl_hitmarkers", cl_hitmarkers)
  1188.  
  1189. CreateClientConVar("cl_drawmark", 0, false, false)
  1190. local function cl_drawmark()
  1191.         if tobool(GetConVarNumber("cl_drawmark")) and hud == 1 and tobool(GetConVarNumber("cl_hitmarkers")) then
  1192.                 surface.SetDrawColor(Color(244, 244, 164, 225))
  1193.  
  1194.                 surface.DrawLine(ScrW()/2 - 12, ScrH()/2 - 12, ScrW()/2 - 6, ScrH()/2 - 6)
  1195.                 surface.DrawLine(ScrW()/2 + 12, ScrH()/2 + 12, ScrW()/2 + 6, ScrH()/2 + 6)
  1196.                 surface.DrawLine(ScrW()/2 - 12, ScrH()/2 + 12, ScrW()/2 - 6, ScrH()/2 + 6)
  1197.                 surface.DrawLine(ScrW()/2 + 12, ScrH()/2 - 12, ScrW()/2 + 6, ScrH()/2 - 6)
  1198.         end
  1199. end
  1200.  
  1201. hook.Add("HUDPaint", "cl_drawmark", cl_drawmark)
  1202.  
  1203. CreateClientConVar("cl_aim_prop", 0, true, false)
  1204. local function cl_aim_prop()
  1205.         if tobool(GetConVarNumber("cl_aim_prop")) and prophunt == 1 then
  1206.                 aimprop = 1
  1207.         else
  1208.                 aimprop = 0
  1209.         end
  1210. end
  1211.  
  1212. hook.Add("Think", "cl_aim_prop", cl_aim_prop)
  1213.  
  1214. concommand.Add("cl_menu_color", function()
  1215.         local basesp = vgui.Create("DFrame")
  1216.  
  1217.         local tcopy1 = vgui.Create("DLabel")
  1218.         tcopy1:SetParent(basesp)
  1219.         tcopy1:SetText("Copyright © ApolloGaming and ClassifiedGamingUS")
  1220.         tcopy1:SetWide(256)
  1221.         tcopy1:SetColor(mcolor)
  1222.         tcopy1:SetPos(108, 376)
  1223.  
  1224.         basesp:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
  1225.         basesp:SetSize(600, 400)
  1226.         basesp:SetVisible(true)
  1227.         basesp:SetTitle("Client Assistant Color Menu")
  1228.         basesp:SetDraggable(true)
  1229.         basesp:ShowCloseButton(false)
  1230.         basesp:MakePopup()
  1231.  
  1232.         local bex1 = vgui.Create("DButton")
  1233.         bex1:SetParent(basesp)
  1234.         bex1:SetPos(576, 0)
  1235.         bex1:SetSize(24, 24)
  1236.         bex1:SetText("X")
  1237.         bex1:SetColor(mcolor)
  1238.         bex1.DoClick = function()
  1239.                 basesp:Close()
  1240.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  1241.         end
  1242.        
  1243.         local back = vgui.Create("DButton")
  1244.         back:SetParent(basesp)
  1245.         back:SetPos(536, 0)
  1246.         back:SetSize(34, 24)
  1247.         back:SetText("<<")
  1248.         back:SetColor(mcolor)
  1249.         back.DoClick = function()
  1250.                 basesp:Close()
  1251.                 LocalPlayer():ConCommand("cl_menu")
  1252.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  1253.         end
  1254.        
  1255.         function bex1:Paint(w, h)
  1256.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  1257.                 surface.SetDrawColor(mcolor)
  1258.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1259.         end
  1260.        
  1261.         function back:Paint(w, h)
  1262.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  1263.                 surface.SetDrawColor(mcolor)
  1264.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1265.         end
  1266.  
  1267.         function basesp:Paint(w, h)
  1268.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  1269.                 surface.SetDrawColor(mcolor)
  1270.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1271.         end
  1272.  
  1273.         local pbase = vgui.Create("DScrollPanel")
  1274.         pbase:SetParent(basesp)
  1275.         pbase:SetSize(552, 328)
  1276.         pbase:SetPos(24, 48)
  1277.         function pbase:Paint(w, h)
  1278.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  1279.                 surface.SetDrawColor(mcolor)
  1280.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1281.         end
  1282.  
  1283.         local tdp = vgui.Create("DLabel")
  1284.         tdp:SetParent(pbase)
  1285.         tdp:SetText("Draw Player-ESP")
  1286.         tdp:SetWide(96)
  1287.         tdp:SetPos(12, 6)
  1288.  
  1289.         local mixer_dp = vgui.Create("DRGBPicker")
  1290.         mixer_dp:SetPos(12, 30)
  1291.         mixer_dp:SetSize(48, 96)
  1292.         mixer_dp:SetParent(pbase)
  1293.         mixer_dp.OnChange = function()
  1294.                 cdpcolor = mixer_dp:GetRGB()
  1295.                 mixer_dp:SetRGB(cdpcolor)
  1296.  
  1297.                 if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
  1298.                         file.Delete("cl_settings/cl_dpcolor.txt")
  1299.  
  1300.                         dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
  1301.  
  1302.                         file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
  1303.  
  1304.                         dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
  1305.                 else
  1306.                         dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
  1307.  
  1308.                         file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
  1309.  
  1310.                         dpcolor = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
  1311.                 end
  1312.         end
  1313.  
  1314.         local res1 = vgui.Create("DButton")
  1315.         res1:SetParent(pbase)
  1316.         function res1:Paint(w, h)
  1317.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1318.                 surface.SetDrawColor(mcolor)
  1319.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1320.         end
  1321.         res1:SetText("Reset")
  1322.         res1:SetColor(Color(255, 255, 255))
  1323.         res1:SetSize(48, 24)
  1324.         res1:SetPos(12, 132)
  1325.         res1.DoClick = function()
  1326.                 cdpcolor = Color(0, 255, 27)
  1327.  
  1328.                 if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
  1329.                         file.Delete("cl_settings/cl_dpcolor.txt")
  1330.  
  1331.                         dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
  1332.  
  1333.                         file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
  1334.  
  1335.                         dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
  1336.                 else
  1337.                         dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
  1338.  
  1339.                         file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
  1340.  
  1341.                         dpcolor = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
  1342.                 end
  1343.         end
  1344.  
  1345.         local tgrp = vgui.Create("DLabel")
  1346.         tgrp:SetParent(pbase)
  1347.         tgrp:SetText("Group-ESP")
  1348.         tgrp:SetWide(96)
  1349.         tgrp:SetPos(108, 6)
  1350.  
  1351.         local mixer_grp = vgui.Create("DRGBPicker")
  1352.         mixer_grp:SetPos(108, 30)
  1353.         mixer_grp:SetSize(48, 96)
  1354.         mixer_grp:SetParent(pbase)
  1355.         mixer_grp.OnChange = function()
  1356.                 cgcolor = mixer_grp:GetRGB()
  1357.                 mixer_grp:SetRGB(cgcolor)
  1358.  
  1359.                 if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
  1360.                         file.Delete("cl_settings/cl_gcolor.txt")
  1361.  
  1362.                         gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
  1363.  
  1364.                         file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
  1365.  
  1366.                         gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
  1367.                 else
  1368.                         gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
  1369.  
  1370.                         file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
  1371.  
  1372.                         gcolor = file.Read("cl_settings/cl_gcolor.txt", "DATA")
  1373.                 end
  1374.         end
  1375.  
  1376.         local res2 = vgui.Create("DButton")
  1377.         res2:SetParent(pbase)
  1378.         function res2:Paint(w, h)
  1379.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1380.                 surface.SetDrawColor(mcolor)
  1381.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1382.         end
  1383.         res2:SetText("Reset")
  1384.         res2:SetColor(Color(255, 255, 255))
  1385.         res2:SetSize(48, 24)
  1386.         res2:SetPos(108, 132)
  1387.         res2.DoClick = function()
  1388.                 cgcolor = Color(220, 0, 255)
  1389.  
  1390.                 if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
  1391.                         file.Delete("cl_settings/cl_gcolor.txt")
  1392.  
  1393.                         gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
  1394.  
  1395.                         file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
  1396.  
  1397.                         gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
  1398.                 else
  1399.                         gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
  1400.  
  1401.                         file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
  1402.  
  1403.                         gcolor = file.Read("cl_settings/cl_gcolor.txt", "DATA")
  1404.                 end
  1405.         end
  1406.  
  1407.         local tef = vgui.Create("DLabel")
  1408.         tef:SetParent(pbase)
  1409.         tef:SetText("Friends-ESP")
  1410.         tef:SetWide(204)
  1411.         tef:SetPos(204, 6)
  1412.  
  1413.         local mixer_ef = vgui.Create("DRGBPicker")
  1414.         mixer_ef:SetPos(204, 30)
  1415.         mixer_ef:SetSize(48, 96)
  1416.         mixer_ef:SetParent(pbase)
  1417.         mixer_ef.OnChange = function()
  1418.                 cfcolor = mixer_ef:GetRGB()
  1419.                 mixer_ef:SetRGB(cfcolor)
  1420.  
  1421.                 if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
  1422.                         file.Delete("cl_settings/cl_fndcolor.txt")
  1423.  
  1424.                         fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
  1425.  
  1426.                         file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
  1427.  
  1428.                         fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
  1429.                 else
  1430.                         fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
  1431.  
  1432.                         file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
  1433.  
  1434.                         fndcolor = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
  1435.                 end
  1436.         end
  1437.  
  1438.         local res3 = vgui.Create("DButton")
  1439.         res3:SetParent(pbase)
  1440.         function res3:Paint(w, h)
  1441.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1442.                 surface.SetDrawColor(mcolor)
  1443.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1444.         end
  1445.         res3:SetText("Reset")
  1446.         res3:SetColor(Color(255, 255, 255))
  1447.         res3:SetSize(48, 24)
  1448.         res3:SetPos(204, 132)
  1449.         res3.DoClick = function()
  1450.                 cfcolor = Color(0, 127, 31)
  1451.  
  1452.                 if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
  1453.                         file.Delete("cl_settings/cl_fndcolor.txt")
  1454.  
  1455.                         fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
  1456.  
  1457.                         file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
  1458.  
  1459.                         fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
  1460.                 else
  1461.                         fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
  1462.  
  1463.                         file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
  1464.  
  1465.                         fndcolor = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
  1466.                 end
  1467.         end
  1468.  
  1469.         local tdis = vgui.Create("DLabel")
  1470.         tdis:SetParent(pbase)
  1471.         tdis:SetText("Distance-ESP")
  1472.         tdis:SetWide(96)
  1473.         tdis:SetPos(300, 6)
  1474.  
  1475.         local mixer_dis = vgui.Create("DRGBPicker")
  1476.         mixer_dis:SetPos(300, 30)
  1477.         mixer_dis:SetSize(48, 96)
  1478.         mixer_dis:SetParent(pbase)
  1479.         mixer_dis.OnChange = function()
  1480.                 cdiscolor = mixer_dis:GetRGB()
  1481.                 mixer_dis:SetRGB(cdiscolor)
  1482.  
  1483.                 if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
  1484.                         file.Delete("cl_settings/cl_distcolor.txt")
  1485.  
  1486.                         distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
  1487.  
  1488.                         file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
  1489.  
  1490.                         distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
  1491.                 else
  1492.                         distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
  1493.  
  1494.                         file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
  1495.  
  1496.                         distcolor = file.Read("cl_settings/cl_distcolor.txt", "DATA")
  1497.                 end
  1498.         end
  1499.  
  1500.         local res4 = vgui.Create("DButton")
  1501.         res4:SetParent(pbase)
  1502.         function res4:Paint(w, h)
  1503.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1504.                 surface.SetDrawColor(mcolor)
  1505.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1506.         end
  1507.         res4:SetText("Reset")
  1508.         res4:SetColor(Color(255, 255, 255))
  1509.         res4:SetSize(48, 24)
  1510.         res4:SetPos(300, 132)
  1511.         res4.DoClick = function()
  1512.                 cdiscolor = Color(0, 63, 255)
  1513.  
  1514.                 if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
  1515.                         file.Delete("cl_settings/cl_distcolor.txt")
  1516.  
  1517.                         distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
  1518.  
  1519.                         file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
  1520.  
  1521.                         distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
  1522.                 else
  1523.                         distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
  1524.  
  1525.                         file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
  1526.  
  1527.                         distcolor = file.Read("cl_settings/cl_distcolor.txt", "DATA")
  1528.                 end
  1529.         end
  1530.  
  1531.         local tdrpt = vgui.Create("DLabel")
  1532.         tdrpt:SetParent(pbase)
  1533.         tdrpt:SetText("DarkRP-ESP")
  1534.         tdrpt:SetWide(96)
  1535.         tdrpt:SetPos(396, 6)
  1536.  
  1537.         local drpt = vgui.Create("DRGBPicker")
  1538.         drpt:SetPos(396, 30)
  1539.         drpt:SetSize(48, 96)
  1540.         drpt:SetParent(pbase)
  1541.         drpt.OnChange = function()
  1542.                 cdrptcolor = drpt:GetRGB()
  1543.                 drpt:SetRGB(cdrptcolor)
  1544.  
  1545.                 if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
  1546.                         file.Delete("cl_settings/cl_rpcolor.txt")
  1547.  
  1548.                         rpcolor1 = Color(cdrptcolor.r, cdrptcolor.g, cdrptcolor.b)
  1549.  
  1550.                         file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
  1551.  
  1552.                         rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
  1553.                 else
  1554.                         rpcolor1 = Color(cdrptcolor.r, cdrptcolor.g, cdrptcolor.b)
  1555.  
  1556.                         file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
  1557.  
  1558.                         rpcolor = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
  1559.                 end
  1560.         end
  1561.  
  1562.         local res5 = vgui.Create("DButton")
  1563.         res5:SetParent(pbase)
  1564.         function res5:Paint(w, h)
  1565.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1566.                 surface.SetDrawColor(mcolor)
  1567.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1568.         end
  1569.         res5:SetText("Reset")
  1570.         res5:SetColor(Color(255, 255, 255))
  1571.         res5:SetSize(48, 24)
  1572.         res5:SetPos(396, 132)
  1573.         res5.DoClick = function()
  1574.                 crptcolor = Color(127, 0, 255)
  1575.  
  1576.                 if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
  1577.                         file.Delete("cl_settings/cl_rpcolor.txt")
  1578.  
  1579.                         rpcolor1 = Color(crptcolor.r, crptcolor.g, crptcolor.b)
  1580.  
  1581.                         file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
  1582.  
  1583.                         rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
  1584.                 else
  1585.                         rpcolor1 = Color(crptcolor.r, crptcolor.g, crptcolor.b)
  1586.  
  1587.                         file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
  1588.  
  1589.                         rpcolor = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
  1590.                 end
  1591.         end
  1592.  
  1593.         local tmur = vgui.Create("DLabel")
  1594.         tmur:SetParent(pbase)
  1595.         tmur:SetText("Murder-ESP")
  1596.         tmur:SetWide(96)
  1597.         tmur:SetPos(204, 166)
  1598.  
  1599.         local mixer_mur = vgui.Create("DRGBPicker")
  1600.         mixer_mur:SetPos(204, 196)
  1601.         mixer_mur:SetSize(48, 96)
  1602.         mixer_mur:SetParent(pbase)
  1603.         mixer_mur.OnChange = function()
  1604.                 cmurcolor = mixer_mur:GetRGB()
  1605.                 mixer_mur:SetRGB(cmurcolor)
  1606.  
  1607.                 if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
  1608.                         file.Delete("cl_settings/cl_murcolor.txt")
  1609.  
  1610.                         murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
  1611.  
  1612.                         file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
  1613.  
  1614.                         murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
  1615.                 else
  1616.                         murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
  1617.  
  1618.                         file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
  1619.  
  1620.                         murcolor = file.Read("cl_settings/cl_murcolor.txt", "DATA")
  1621.                 end
  1622.         end
  1623.  
  1624.         local res6 = vgui.Create("DButton")
  1625.         res6:SetParent(pbase)
  1626.         function res6:Paint(w, h)
  1627.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1628.                 surface.SetDrawColor(mcolor)
  1629.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1630.         end
  1631.         res6:SetText("Reset")
  1632.         res6:SetColor(Color(255, 255, 255))
  1633.         res6:SetSize(48, 24)
  1634.         res6:SetPos(204, 298)
  1635.         res6.DoClick = function()
  1636.                 cmurcolor = Color(127, 0, 255)
  1637.  
  1638.                 if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
  1639.                         file.Delete("cl_settings/cl_murcolor.txt")
  1640.  
  1641.                         murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
  1642.  
  1643.                         file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
  1644.  
  1645.                         murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
  1646.                 else
  1647.                         murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
  1648.  
  1649.                         file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
  1650.  
  1651.                         murcolor = file.Read("cl_settings/cl_murcolor.txt", "DATA")
  1652.                 end
  1653.         end
  1654.  
  1655.         local twep = vgui.Create("DLabel")
  1656.         twep:SetParent(pbase)
  1657.         twep:SetText("WEP-ESP")
  1658.         twep:SetWide(96)
  1659.         twep:SetPos(12, 166)
  1660.  
  1661.         local mixer_wep = vgui.Create("DRGBPicker")
  1662.         mixer_wep:SetPos(12, 196)
  1663.         mixer_wep:SetSize(48, 96)
  1664.         mixer_wep:SetParent(pbase)
  1665.         mixer_wep.OnChange = function()
  1666.                 cwepcolor = mixer_wep:GetRGB()
  1667.                 mixer_wep:SetRGB(cwepcolor)
  1668.  
  1669.                 if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
  1670.                         file.Delete("cl_settings/cl_wepcolor.txt")
  1671.  
  1672.                         wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
  1673.  
  1674.                         file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
  1675.  
  1676.                         wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
  1677.                 else
  1678.                         wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
  1679.  
  1680.                         file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
  1681.  
  1682.                         wepcolor = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
  1683.                 end
  1684.         end
  1685.  
  1686.         local res7 = vgui.Create("DButton")
  1687.         res7:SetParent(pbase)
  1688.         function res7:Paint(w, h)
  1689.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1690.                 surface.SetDrawColor(mcolor)
  1691.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1692.         end
  1693.         res7:SetText("Reset")
  1694.         res7:SetColor(Color(255, 255, 255))
  1695.         res7:SetSize(48, 24)
  1696.         res7:SetPos(12, 298)
  1697.         res7.DoClick = function()
  1698.                 cwepcolor = Color(255, 93, 0)
  1699.  
  1700.                 if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
  1701.                         file.Delete("cl_settings/cl_wepcolor.txt")
  1702.  
  1703.                         wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
  1704.  
  1705.                         file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
  1706.  
  1707.                         wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
  1708.                 else
  1709.                         wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
  1710.  
  1711.                         file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
  1712.  
  1713.                         wepcolor = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
  1714.                 end
  1715.         end
  1716.  
  1717.         local t33 = vgui.Create("DLabel")
  1718.         t33:SetParent(pbase)
  1719.         t33:SetText("Crosshair")
  1720.         t33:SetWide(96)
  1721.         t33:SetPos(108, 166)
  1722.  
  1723.         local Mixer2 = vgui.Create("DRGBPicker")
  1724.         Mixer2:SetPos(108, 196)
  1725.         Mixer2:SetSize(48, 96)
  1726.         Mixer2:SetParent(pbase)
  1727.         Mixer2.OnChange = function()
  1728.                 ccolor = Mixer2:GetRGB()
  1729.                 Mixer2:SetRGB(ccolor)
  1730.  
  1731.                 if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
  1732.                         file.Delete("cl_settings/cl_ccolor.txt")
  1733.  
  1734.                         scolor = Color(ccolor.r, ccolor.g, ccolor.b)
  1735.  
  1736.                         file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
  1737.  
  1738.                         acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
  1739.                 else
  1740.                         scolor = Color(ccolor.r, ccolor.g, ccolor.b)
  1741.  
  1742.                         file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
  1743.  
  1744.                         acolor = file.Read("cl_settings/cl_ccolor.txt", "DATA")
  1745.                 end
  1746.         end
  1747.  
  1748.         local res8 = vgui.Create("DButton")
  1749.         res8:SetParent(pbase)
  1750.         function res8:Paint(w, h)
  1751.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  1752.                 surface.SetDrawColor(mcolor)
  1753.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  1754.         end
  1755.         res8:SetText("Reset")
  1756.         res8:SetColor(Color(255, 255, 255))
  1757.         res8:SetSize(48, 24)
  1758.         res8:SetPos(108, 298)
  1759.         res8.DoClick = function()
  1760.                 ccolor = Color(182, 182, 182)
  1761.  
  1762.                 if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
  1763.                         file.Delete("cl_settings/cl_ccolor.txt")
  1764.  
  1765.                         scolor = Color(ccolor.r, ccolor.g, ccolor.b)
  1766.  
  1767.                         file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
  1768.  
  1769.                         acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
  1770.                 else
  1771.                         scolor = Color(ccolor.r, ccolor.g, ccolor.b)
  1772.  
  1773.                         file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
  1774.  
  1775.                         acolor = file.Read("cl_settings/cl_ccolor.txt", "DATA")
  1776.                 end
  1777.         end
  1778.        
  1779.        
  1780.         local tmc = vgui.Create("DLabel")
  1781.         tmc:SetParent(pbase)
  1782.         tmc:SetText("Type the RGBA, Example: 255 255 255 255")
  1783.         tmc:SetWide(496)
  1784.         tmc:SetPos(6, 356)
  1785.        
  1786.         local tmc = vgui.Create("DLabel")
  1787.         tmc:SetParent(pbase)
  1788.         tmc:SetText("Crosshair")
  1789.         tmc:SetWide(96)
  1790.         tmc:SetPos(6, 400)
  1791.  
  1792.         local TextEntry18 = vgui.Create("DTextEntry")
  1793.         TextEntry18:SetParent(pbase)
  1794.         TextEntry18:SetText(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
  1795.         TextEntry18:SetPos(131, 400)
  1796.         TextEntry18:SetTall(24)
  1797.         TextEntry18:SetWide(200)
  1798.         TextEntry18:SetEnterAllowed(true)
  1799.         TextEntry18.OnEnter = function()
  1800.                 tmc = TextEntry18:GetValue()
  1801.                 acolor = string.ToColor(TextEntry18:GetValue())
  1802.                
  1803.                 if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
  1804.                         file.Delete("cl_settings/cl_ccolor.txt")
  1805.                         file.Write("cl_settings/cl_ccolor.txt", tmc)
  1806.  
  1807.                         tmc = file.Read("cl_settings/cl_ccolor.txt", "DATA")
  1808.                 else
  1809.                         file.Write("cl_settings/cl_ccolor.txt", tmc)
  1810.  
  1811.                         tmc = file.Read("cl_settings/cl_ccolor.txt", "DATA")
  1812.                 end
  1813.         end
  1814.        
  1815.         local twe = vgui.Create("DLabel")
  1816.         twe:SetParent(pbase)
  1817.         twe:SetText("WEP-ESP")
  1818.         twe:SetWide(96)
  1819.         twe:SetPos(6, 444)
  1820.  
  1821.         local TextEntry1258 = vgui.Create("DTextEntry")
  1822.         TextEntry1258:SetParent(pbase)
  1823.         TextEntry1258:SetPos(131, 444)
  1824.         TextEntry1258:SetText(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
  1825.         TextEntry1258:SetTall(24)
  1826.         TextEntry1258:SetWide(200)
  1827.         TextEntry1258:SetEnterAllowed(true)
  1828.         TextEntry1258.OnEnter = function()
  1829.                 twe = TextEntry1258:GetValue()
  1830.                 wepcolor = string.ToColor(TextEntry1258:GetValue())
  1831.                
  1832.                 if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
  1833.                         file.Delete("cl_settings/cl_wepcolor.txt")
  1834.                         file.Write("cl_settings/cl_wepcolor.txt", twe)
  1835.  
  1836.                         twe = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
  1837.                 else
  1838.                         file.Write("cl_settings/cl_wepcolor.txt", twe)
  1839.  
  1840.                         twe = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
  1841.                 end
  1842.         end
  1843.        
  1844.         local tme = vgui.Create("DLabel")
  1845.         tme:SetParent(pbase)
  1846.         tme:SetText("Murder-ESP")
  1847.         tme:SetWide(96)
  1848.         tme:SetPos(6, 488)
  1849.  
  1850.         local TextEntry815 = vgui.Create("DTextEntry")
  1851.         TextEntry815:SetParent(pbase)
  1852.         TextEntry815:SetPos(131, 488)
  1853.         TextEntry815:SetTall(24)
  1854.         TextEntry815:SetWide(200)
  1855.         TextEntry815:SetText(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
  1856.         TextEntry815:SetEnterAllowed(true)
  1857.         TextEntry815.OnEnter = function()
  1858.                 tme = TextEntry815:GetValue()
  1859.                 murcolor = string.ToColor(TextEntry815:GetValue())
  1860.                
  1861.                 if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
  1862.                         file.Delete("cl_settings/cl_murcolor.txt")
  1863.                         file.Write("cl_settings/cl_murcolor.txt", tme)
  1864.  
  1865.                         tme = file.Read("cl_settings/cl_murcolor.txt", "DATA")
  1866.                 else
  1867.                         file.Write("cl_settings/cl_murcolor.txt", tme)
  1868.  
  1869.                         tme = file.Read("cl_settings/cl_murcolor.txt", "DATA")
  1870.                 end
  1871.         end
  1872.        
  1873.         local tdrpe = vgui.Create("DLabel")
  1874.         tdrpe:SetParent(pbase)
  1875.         tdrpe:SetText("DarkRP-ESP")
  1876.         tdrpe:SetWide(96)
  1877.         tdrpe:SetPos(6, 532)
  1878.  
  1879.         local TextEntry88= vgui.Create("DTextEntry")
  1880.         TextEntry88:SetParent(pbase)
  1881.         TextEntry88:SetPos(131, 532)
  1882.         TextEntry88:SetTall(24)
  1883.         TextEntry88:SetText(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
  1884.         TextEntry88:SetWide(200)
  1885.         TextEntry88:SetEnterAllowed(true)
  1886.         TextEntry88.OnEnter = function()
  1887.                 tdrpe = TextEntry88:GetValue()
  1888.                 rpcolor = string.ToColor(TextEntry88:GetValue())
  1889.                
  1890.                 if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
  1891.                         file.Delete("cl_settings/cl_rpcolor.txt")
  1892.                         file.Write("cl_settings/cl_rpcolor.txt", tdrpe)
  1893.  
  1894.                         tdrpe = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
  1895.                 else
  1896.                         file.Write("cl_settings/cl_rpcolor.txt", tdrpe)
  1897.  
  1898.                         tdrpe = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
  1899.                 end
  1900.         end
  1901.        
  1902.         local tde = vgui.Create("DLabel")
  1903.         tde:SetParent(pbase)
  1904.         tde:SetText("Distance-ESP")
  1905.         tde:SetWide(96)
  1906.         tde:SetPos(6, 576)
  1907.  
  1908.         local TextEntry876 = vgui.Create("DTextEntry")
  1909.         TextEntry876:SetParent(pbase)
  1910.         TextEntry876:SetPos(131, 576)
  1911.         TextEntry876:SetText(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
  1912.         TextEntry876:SetTall(24)
  1913.         TextEntry876:SetWide(200)
  1914.         TextEntry876:SetEnterAllowed(true)
  1915.         TextEntry876.OnEnter = function()
  1916.                 tde = TextEntry876:GetValue()
  1917.                 discolor = string.ToColor(TextEntry876:GetValue())
  1918.  
  1919.                 if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
  1920.                         file.Delete("cl_settings/cl_distcolor.txt")
  1921.                         file.Write("cl_settings/cl_distcolor.txt", tde)
  1922.  
  1923.                         tde = file.Read("cl_settings/cl_distcolor.txt", "DATA")
  1924.                 else
  1925.                         file.Write("cl_settings/cl_distcolor.txt", tde)
  1926.  
  1927.                         tde = file.Read("cl_settings/cl_distcolor.txt", "DATA")
  1928.                 end
  1929.         end
  1930.        
  1931.         local tfe = vgui.Create("DLabel")
  1932.         tfe:SetParent(pbase)
  1933.         tfe:SetText("Friends-ESP")
  1934.         tfe:SetWide(96)
  1935.         tfe:SetPos(6, 620)
  1936.  
  1937.         local TextEntry8121111 = vgui.Create("DTextEntry")
  1938.         TextEntry8121111:SetParent(pbase)
  1939.         TextEntry8121111:SetPos(131, 620)
  1940.         TextEntry8121111:SetTall(24)
  1941.         TextEntry8121111:SetText(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
  1942.         TextEntry8121111:SetWide(200)
  1943.         TextEntry8121111:SetEnterAllowed(true)
  1944.         TextEntry8121111.OnEnter = function()
  1945.                 tfe = TextEntry8121111:GetValue()
  1946.                 fndcolor = string.ToColor(TextEntry8121111:GetValue())
  1947.  
  1948.                 if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
  1949.                         file.Delete("cl_settings/cl_fndcolor.txt")
  1950.                         file.Write("cl_settings/cl_fndcolor.txt", tfe)
  1951.  
  1952.                         tfe = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
  1953.                 else
  1954.                         file.Write("cl_settings/cl_fndcolor.txt", tfe)
  1955.  
  1956.                         tfe = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
  1957.                 end
  1958.         end
  1959.        
  1960.         local tge = vgui.Create("DLabel")
  1961.         tge:SetParent(pbase)
  1962.         tge:SetText("Group-ESP")
  1963.         tge:SetWide(96)
  1964.         tge:SetPos(6, 664)
  1965.  
  1966.         local TextEntry874 = vgui.Create("DTextEntry")
  1967.         TextEntry874:SetParent(pbase)
  1968.         TextEntry874:SetPos(131, 664)
  1969.         TextEntry874:SetTall(24)
  1970.         TextEntry874:SetWide(200)
  1971.         TextEntry874:SetText(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
  1972.         TextEntry874:SetEnterAllowed(true)
  1973.         TextEntry874.OnEnter = function()
  1974.                 tge = TextEntry874:GetValue()
  1975.                 gcolor = string.ToColor(TextEntry874:GetValue())
  1976.  
  1977.                 if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
  1978.                         file.Delete("cl_settings/cl_gcolor.txt")
  1979.                         file.Write("cl_settings/cl_gcolor.txt", tge)
  1980.  
  1981.                         tge = file.Read("cl_settings/cl_gcolor.txt", "DATA")
  1982.                 else
  1983.                         file.Write("cl_settings/cl_gcolor.txt", tge)
  1984.  
  1985.                         tge = file.Read("cl_settings/cl_gcolor.txt", "DATA")
  1986.                 end
  1987.         end
  1988.        
  1989.         local tdpe = vgui.Create("DLabel")
  1990.         tdpe:SetParent(pbase)
  1991.         tdpe:SetText("Draw Player-ESP")
  1992.         tdpe:SetWide(96)
  1993.         tdpe:SetPos(6, 708)
  1994.  
  1995.         local TextEntry268 = vgui.Create("DTextEntry")
  1996.         TextEntry268:SetParent(pbase)
  1997.         TextEntry268:SetPos(131, 708)
  1998.         TextEntry268:SetTall(24)
  1999.         TextEntry268:SetText(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
  2000.         TextEntry268:SetWide(200)
  2001.         TextEntry268:SetEnterAllowed(true)
  2002.         TextEntry268.OnEnter = function()
  2003.                 tdpe = TextEntry268:GetValue()
  2004.                 dpcolor = string.ToColor(TextEntry268:GetValue())
  2005.  
  2006.                 if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
  2007.                         file.Delete("cl_settings/cl_dpcolor.txt")
  2008.                         file.Write("cl_settings/cl_dpcolor.txt", tdpe)
  2009.  
  2010.                         tdpe = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
  2011.                 else
  2012.                         file.Write("cl_settings/cl_dpcolor.txt", tdpe)
  2013.  
  2014.                         tdpe = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
  2015.                 end
  2016.         end
  2017. end)
  2018.  
  2019. concommand.Add("cl_readme", function()
  2020.         local base2 = vgui.Create("DFrame")
  2021.  
  2022.         base2:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
  2023.         base2:SetSize(600, 400)
  2024.         base2:SetVisible(true)
  2025.         base2:SetTitle("Client Assistant - Terms of agreement")
  2026.         base2:SetDraggable(false)
  2027.         base2:ShowCloseButton(false)
  2028.         base2:MakePopup()
  2029.  
  2030.         function base2:Paint(w, h)
  2031.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  2032.                 surface.SetDrawColor(mcolor)
  2033.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2034.         end
  2035.  
  2036.         local accept = vgui.Create("DButton")
  2037.         accept:SetParent(base2)
  2038.         accept:SetPos(230, 362)
  2039.         accept:SetSize(64, 32)
  2040.         accept:SetText("Accept")
  2041.         accept:SetColor(mcolor)
  2042.         accept.DoClick = function()
  2043.                 base2:Close()
  2044.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2045.                 chat.AddText(Color(255, 120, 0), "[Client Assistant] You have accepted the terms of agreement.")
  2046.         end
  2047.  
  2048.         function accept:Paint(w, h)
  2049.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  2050.                 surface.SetDrawColor(mcolor)
  2051.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2052.         end
  2053.  
  2054.         local decline = vgui.Create("DButton")
  2055.         decline:SetParent(base2)
  2056.         decline:SetPos(306, 362)
  2057.         decline:SetSize(64, 32)
  2058.         decline:SetText("Decline")
  2059.         decline:SetColor(mcolor)
  2060.         decline.DoClick = function()
  2061.                 base2:Close()
  2062.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2063.                 chat.AddText(Color(255, 120, 0), "[Client Assistant] You have declined the terms of agreement. Proceeding to kick.")
  2064.                 timer.Simple(3, function() LocalPlayer():ConCommand("disconnect") end)
  2065.         end
  2066.  
  2067.         function decline:Paint(w, h)
  2068.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  2069.                 surface.SetDrawColor(mcolor)
  2070.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2071.         end
  2072.  
  2073.         local termpanel = vgui.Create("DPanel")
  2074.         termpanel:SetParent(base2)
  2075.         termpanel:SetSize(552, 308)
  2076.         termpanel:SetPos(24, 48)
  2077.         termpanel:SetVisible(true)
  2078.         function termpanel:Paint(w, h)
  2079.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  2080.                 surface.SetDrawColor(mcolor)
  2081.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2082.         end
  2083.  
  2084.         local termtext = vgui.Create("DLabel")
  2085.         termtext:SetParent(termpanel)
  2086.         termtext:SetSize(540, 294)
  2087.         termtext:SetPos(6, 6)
  2088.         termtext:SetVisible(true)
  2089.         termtext:SetWrap(true)
  2090.         termtext:SetText("By accepting to the terms of agreement, you are agreeing that you may not copy, sell, or even edit this file. We are not held responsible if you get banned. If you agree to the terms and you copy/sell/edit this file, you will be found, and will have a fine for copyright; You may be even sued. If you do not accept the agreements, you are not allowed to do anything with this file.")
  2091. end)
  2092.  
  2093. LocalPlayer():ConCommand("cl_readme")
  2094.  
  2095. concommand.Add("cl_menu", function()
  2096.         local base = vgui.Create("DFrame")
  2097.  
  2098.         local paimbot = vgui.Create("DScrollPanel")
  2099.         paimbot:SetParent(base)
  2100.         paimbot:SetSize(468, 328)
  2101.         paimbot:SetPos(108, 48)
  2102.         function paimbot:Paint(w, h)
  2103.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  2104.                 surface.SetDrawColor(mcolor)
  2105.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2106.         end
  2107.  
  2108.         local pesp = vgui.Create("DScrollPanel")
  2109.         pesp:SetParent(base)
  2110.         pesp:SetSize(468, 328)
  2111.         pesp:SetPos(108, 48)
  2112.         function pesp:Paint(w, h)
  2113.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  2114.                 surface.SetDrawColor(mcolor)
  2115.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2116.         end
  2117.  
  2118.         local pmisc = vgui.Create("DScrollPanel")
  2119.         pmisc:SetParent(base)
  2120.         pmisc:SetSize(468, 328)
  2121.         pmisc:SetPos(108, 48)
  2122.         function pmisc:Paint(w, h)
  2123.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  2124.                 surface.SetDrawColor(mcolor)
  2125.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2126.         end
  2127.  
  2128.         local poptions = vgui.Create("DScrollPanel")
  2129.         poptions:SetParent(base)
  2130.         poptions:SetSize(468, 328)
  2131.         poptions:SetPos(108, 48)
  2132.         function poptions:Paint(w, h)
  2133.                 draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
  2134.                 surface.SetDrawColor(mcolor)
  2135.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2136.         end
  2137.  
  2138.         paimbot:SetVisible(true)
  2139.         pesp:SetVisible(false)
  2140.         pmisc:SetVisible(false)
  2141.         poptions:SetVisible(false)
  2142.  
  2143.         local taimbot = vgui.Create("DButton")
  2144.         taimbot:SetText("Aimbot")
  2145.         taimbot:SetParent(base)
  2146.         taimbot:SetColor(Color(255, 255, 255))
  2147.         taimbot:SetPos(24, 48)
  2148.         taimbot:SetSize(78, 48)
  2149.         taimbot:SetVisible(true)
  2150.         function taimbot:Paint(w, h)
  2151.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2152.                 surface.SetDrawColor(mcolor)
  2153.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2154.         end
  2155.         taimbot.DoClick = function()
  2156.                 paimbot:SetVisible(true)
  2157.                 pesp:SetVisible(false)
  2158.                 pmisc:SetVisible(false)
  2159.                 poptions:SetVisible(false)
  2160.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2161.         end
  2162.  
  2163.         local tesp = vgui.Create("DButton")
  2164.         tesp:SetText("ESP")
  2165.         tesp:SetParent(base)
  2166.         tesp:SetColor(Color(255, 255, 255))
  2167.         tesp:SetPos(24, 102)
  2168.         tesp:SetSize(78, 48)
  2169.         tesp:SetVisible(true)
  2170.         function tesp:Paint(w, h)
  2171.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2172.                 surface.SetDrawColor(mcolor)
  2173.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2174.         end
  2175.         tesp.DoClick = function()
  2176.                 paimbot:SetVisible(false)
  2177.                 pesp:SetVisible(true)
  2178.                 pmisc:SetVisible(false)
  2179.                 poptions:SetVisible(false)
  2180.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2181.         end
  2182.  
  2183.         local tmisc = vgui.Create("DButton")
  2184.         tmisc:SetText("Misc")
  2185.         tmisc:SetParent(base)
  2186.         tmisc:SetColor(Color(255, 255, 255))
  2187.         tmisc:SetPos(24, 156)
  2188.         tmisc:SetSize(78, 48)
  2189.         tmisc:SetVisible(true)
  2190.         function tmisc:Paint(w, h)
  2191.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2192.                 surface.SetDrawColor(mcolor)
  2193.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2194.         end
  2195.         tmisc.DoClick = function()
  2196.                 paimbot:SetVisible(false)
  2197.                 pesp:SetVisible(false)
  2198.                 pmisc:SetVisible(true)
  2199.                 poptions:SetVisible(false)
  2200.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2201.         end
  2202.  
  2203.         local toptions = vgui.Create("DButton")
  2204.         toptions:SetText("Options")
  2205.         toptions:SetParent(base)
  2206.         toptions:SetColor(Color(255, 255, 255))
  2207.         toptions:SetPos(24, 210)
  2208.         toptions:SetSize(78, 48)
  2209.         toptions:SetVisible(true)
  2210.         function toptions:Paint(w, h)
  2211.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2212.                 surface.SetDrawColor(mcolor)
  2213.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2214.         end
  2215.         toptions.DoClick = function()
  2216.                 paimbot:SetVisible(false)
  2217.                 pesp:SetVisible(false)
  2218.                 pmisc:SetVisible(false)
  2219.                 poptions:SetVisible(true)
  2220.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2221.         end
  2222.  
  2223.         local admins = vgui.Create("DButton")
  2224.         admins:SetText("Admins")
  2225.         admins:SetParent(base)
  2226.         admins:SetColor(Color(255, 255, 255))
  2227.         admins:SetPos(24, 264)
  2228.         admins:SetSize(78, 48)
  2229.         admins:SetVisible(true)
  2230.         function admins:Paint(w, h)
  2231.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2232.                 surface.SetDrawColor(mcolor)
  2233.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2234.         end
  2235.         admins.DoClick = function()
  2236.                 LocalPlayer():ConCommand("cl_getadmins")
  2237.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2238.         end
  2239.  
  2240.         local b1 = vgui.Create("DButton")
  2241.         local b2 = vgui.Create("DButton")
  2242.         local b3 = vgui.Create("DButton")
  2243.         local b4 = vgui.Create("DButton")
  2244.         local b5 = vgui.Create("DButton")
  2245.         local b6 = vgui.Create("DButton")
  2246.         local b7 = vgui.Create("DButton")
  2247.         local b8 = vgui.Create("DButton")
  2248.         local b9 = vgui.Create("DButton")
  2249.         local b10 = vgui.Create("DButton")
  2250.         local b11 = vgui.Create("DButton")
  2251.         local b12 = vgui.Create("DButton")
  2252.         local b13 = vgui.Create("DButton")
  2253.         local b14 = vgui.Create("DButton")
  2254.         local b15 = vgui.Create("DButton")
  2255.         local b16 = vgui.Create("DButton")
  2256.         local b17 = vgui.Create("DButton")
  2257.         local b18 = vgui.Create("DButton")
  2258.         local b19 = vgui.Create("DButton")
  2259.         local b20 = vgui.Create("DButton")
  2260.         local b21 = vgui.Create("DButton")
  2261.         local b22 = vgui.Create("DButton")
  2262.         local b23 = vgui.Create("DButton")
  2263.         local b24 = vgui.Create("DButton")
  2264.         local b25 = vgui.Create("DButton")
  2265.         local b26 = vgui.Create("DButton")
  2266.         local b27 = vgui.Create("DButton")
  2267.         local b28 = vgui.Create("DButton")
  2268.         local b29 = vgui.Create("DButton")
  2269.         local b30 = vgui.Create("DButton")
  2270.         local b31 = vgui.Create("DButton")
  2271.         local b32 = vgui.Create("DButton")
  2272.         local b33 = vgui.Create("DButton")
  2273.         local b34 = vgui.Create("DButton")
  2274.         local b35 = vgui.Create("DButton")
  2275.         local b36 = vgui.Create("DButton")
  2276.         local b37 = vgui.Create("DButton")
  2277.         local b38 = vgui.Create("DButton")
  2278.         local b39 = vgui.Create("DButton")
  2279.  
  2280.         local t1 = vgui.Create("DLabel")
  2281.         local t2 = vgui.Create("DLabel")
  2282.         local t3 = vgui.Create("DLabel")
  2283.         local t4 = vgui.Create("DLabel")
  2284.         local t5 = vgui.Create("DLabel")
  2285.         local t6 = vgui.Create("DLabel")
  2286.         local t7 = vgui.Create("DLabel")
  2287.         local t8 = vgui.Create("DLabel")
  2288.         local t9 = vgui.Create("DLabel")
  2289.         local t10 = vgui.Create("DLabel")
  2290.         local t11 = vgui.Create("DLabel")
  2291.         local t12 = vgui.Create("DLabel")
  2292.         local t13 = vgui.Create("DLabel")
  2293.         local t14 = vgui.Create("DLabel")
  2294.         local t15 = vgui.Create("DLabel")
  2295.         local t16 = vgui.Create("DLabel")
  2296.         local t17 = vgui.Create("DLabel")
  2297.         local t18 = vgui.Create("DLabel")
  2298.         local t19 = vgui.Create("DLabel")
  2299.         local t20 = vgui.Create("DLabel")
  2300.         local t21 = vgui.Create("DLabel")
  2301.         local t22 = vgui.Create("DLabel")
  2302.         local t23 = vgui.Create("DLabel")
  2303.         local t24 = vgui.Create("DLabel")
  2304.         local t25 = vgui.Create("DLabel")
  2305.         local t26 = vgui.Create("DLabel")
  2306.         local t27 = vgui.Create("DLabel")
  2307.         local t28 = vgui.Create("DLabel")
  2308.         local t29 = vgui.Create("DLabel")
  2309.         local t30 = vgui.Create("DLabel")
  2310.         local t31 = vgui.Create("DLabel")
  2311.         local t32 = vgui.Create("DLabel")
  2312.         local t33 = vgui.Create("DLabel")
  2313.         local t34 = vgui.Create("DLabel")
  2314.         local t35 = vgui.Create("DLabel")
  2315.         local t36 = vgui.Create("DLabel")
  2316.         local t37 = vgui.Create("DLabel")
  2317.         local t38 = vgui.Create("DLabel")
  2318.         local t39 = vgui.Create("DLabel")
  2319.         local t40 = vgui.Create("DLabel")
  2320.         local t41 = vgui.Create("DLabel")
  2321.         local t42 = vgui.Create("DLabel")
  2322.         local t43 = vgui.Create("DLabel")
  2323.         local t44 = vgui.Create("DLabel")
  2324.  
  2325.         t18:SetParent(base)
  2326.         t18:SetText("Copyright © ApolloGaming and ClassifiedGamingUS")
  2327.         t18:SetWide(256)
  2328.         t18:SetColor(mcolor)
  2329.         t18:SetPos(108, 376)
  2330.  
  2331.         base:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
  2332.         base:SetSize(600, 400)
  2333.         base:SetVisible(true)
  2334.         base:SetTitle("Client Assistant Menu")
  2335.         base:SetDraggable(false)
  2336.         base:ShowCloseButton(false)
  2337.         base:MakePopup()
  2338.  
  2339.         b16:SetParent(base)
  2340.         b16:SetPos(576, 0)
  2341.         b16:SetSize(24, 24)
  2342.         b16:SetText("X")
  2343.         b16:SetColor(mcolor)
  2344.         b16.DoClick = function()
  2345.                 base:Close()
  2346.                 surface.PlaySound("ambient/levels/canals/drip4.wav")
  2347.         end
  2348.  
  2349.         function b16:Paint(w, h)
  2350.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  2351.                 surface.SetDrawColor(mcolor)
  2352.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2353.         end
  2354.  
  2355.         function base:Paint(w, h)
  2356.                 draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
  2357.                 surface.SetDrawColor(mcolor)
  2358.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2359.         end
  2360.  
  2361.         t1:SetParent(pesp)
  2362.         t1:SetText("ESP")
  2363.         t1:SetPos(6, 6)
  2364.  
  2365.         b1:SetParent(pesp)
  2366.         function b1:Paint(w, h)
  2367.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2368.                 surface.SetDrawColor(mcolor)
  2369.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2370.         end
  2371.         if tobool(GetConVarNumber("cl_esp")) then
  2372.                 b1:SetText("On")
  2373.                 b1:SetColor(Color(0, 161, 255, 255))
  2374.         else
  2375.                 b1:SetText("Off")
  2376.                 b1:SetColor(Color(255, 0, 0, 255))
  2377.         end
  2378.         b1:SetSize(48, 24)
  2379.         b1:SetPos(399, 6)
  2380.         b1.DoClick = function()
  2381.                 if tobool(GetConVarNumber("cl_esp")) then
  2382.                         LocalPlayer():ConCommand("cl_esp 0")
  2383.                         b1:SetText("Off")
  2384.                         b1:SetColor(Color(255, 0, 0, 255))
  2385.                 else
  2386.                         LocalPlayer():ConCommand("cl_esp 1")
  2387.                         b1:SetText("On")
  2388.                         b1:SetColor(Color(0, 161, 255, 255))
  2389.                 end
  2390.         end
  2391.  
  2392.         t2:SetParent(pmisc)
  2393.         t2:SetText("Crosshairs")
  2394.         t2:SetPos(6, 6)
  2395.  
  2396.         b2:SetParent(pmisc)
  2397.         function b2:Paint(w, h)
  2398.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2399.                 surface.SetDrawColor(mcolor)
  2400.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2401.         end
  2402.         if tobool(GetConVarNumber("cl_crosshair")) then
  2403.                 b2:SetText("On")
  2404.                 b2:SetColor(Color(0, 161, 255, 255))
  2405.         else
  2406.                 b2:SetText("Off")
  2407.                 b2:SetColor(Color(255, 0, 0, 255))
  2408.         end
  2409.         b2:SetSize(48, 24)
  2410.         b2:SetPos(399, 6)
  2411.         b2.DoClick = function()
  2412.                 if tobool(GetConVarNumber("cl_crosshair")) then
  2413.                         LocalPlayer():ConCommand("cl_crosshair 0")
  2414.                         b2:SetText("Off")
  2415.                         b2:SetColor(Color(255, 0, 0, 255))
  2416.                 else
  2417.                         LocalPlayer():ConCommand("cl_crosshair 1")
  2418.                         b2:SetText("On")
  2419.                         b2:SetColor(Color(0, 161, 255, 255))
  2420.                 end
  2421.         end
  2422.  
  2423.         t3:SetParent(pesp)
  2424.         t3:SetText("ESP-Draw-Players")
  2425.         t3:SetWide(96)
  2426.         t3:SetPos(6, 36)
  2427.  
  2428.         b3:SetParent(pesp)
  2429.         function b3:Paint(w, h)
  2430.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2431.                 surface.SetDrawColor(mcolor)
  2432.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2433.         end
  2434.         if tobool(GetConVarNumber("cl_esp_drawplayer")) then
  2435.                 b3:SetText("On")
  2436.                 b3:SetColor(Color(0, 161, 255, 255))
  2437.         else
  2438.                 b3:SetText("Off")
  2439.                 b3:SetColor(Color(255, 0, 0, 255))
  2440.         end
  2441.         b3:SetSize(48, 24)
  2442.         b3:SetPos(399, 36)
  2443.         b3.DoClick = function()
  2444.                 if tobool(GetConVarNumber("cl_esp_drawplayer")) then
  2445.                         LocalPlayer():ConCommand("cl_esp_drawplayer 0")
  2446.                         b3:SetText("Off")
  2447.                         b3:SetColor(Color(255, 0, 0, 255))
  2448.                 else
  2449.                         LocalPlayer():ConCommand("cl_esp_drawplayer 1")
  2450.                         b3:SetText("On")
  2451.                         b3:SetColor(Color(0, 161, 255, 255))
  2452.                 end
  2453.         end
  2454.  
  2455.         t4:SetParent(paimbot)
  2456.         t4:SetText("Aimbot")
  2457.         t4:SetPos(6, 6)
  2458.  
  2459.         b4:SetParent(paimbot)
  2460.         function b4:Paint(w, h)
  2461.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2462.                 surface.SetDrawColor(mcolor)
  2463.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2464.         end
  2465.         if tobool(GetConVarNumber("cl_aimbot")) then
  2466.                 b4:SetText("On")
  2467.                 b4:SetColor(Color(0, 161, 255, 255))
  2468.         else
  2469.                 b4:SetText("Off")
  2470.                 b4:SetColor(Color(255, 0, 0, 255))
  2471.         end
  2472.         b4:SetSize(48, 24)
  2473.         b4:SetPos(399, 6)
  2474.         b4.DoClick = function()
  2475.                 if tobool(GetConVarNumber("cl_aimbot")) then
  2476.                         LocalPlayer():ConCommand("cl_aimbot 0")
  2477.                         b4:SetText("Off")
  2478.                         b4:SetColor(Color(255, 0, 0, 255))
  2479.                 else
  2480.                         LocalPlayer():ConCommand("cl_aimbot 1")
  2481.                         b4:SetText("On")
  2482.                         b4:SetColor(Color(0, 161, 255, 255))
  2483.                         chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString().."' to lock on to enemies with aimbot.")
  2484.                 end
  2485.         end
  2486.  
  2487.         t5:SetParent(paimbot)
  2488.         t5:SetText("Triggerbot")
  2489.         t5:SetPos(6, 36)
  2490.  
  2491.         b5:SetParent(paimbot)
  2492.         function b5:Paint(w, h)
  2493.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2494.                 surface.SetDrawColor(mcolor)
  2495.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2496.         end
  2497.         if tobool(GetConVarNumber("cl_triggerbot")) then
  2498.                 b5:SetText("On")
  2499.                 b5:SetColor(Color(0, 161, 255, 255))
  2500.         else
  2501.                 b5:SetText("Off")
  2502.                 b5:SetColor(Color(255, 0, 0, 255))
  2503.         end
  2504.         b5:SetSize(48, 24)
  2505.         b5:SetPos(399, 36)
  2506.         b5.DoClick = function()
  2507.                 if tobool(GetConVarNumber("cl_triggerbot")) then
  2508.                         LocalPlayer():ConCommand("cl_triggerbot 0")
  2509.                         b5:SetText("Off")
  2510.                         b5:SetColor(Color(255, 0, 0, 255))
  2511.                 else
  2512.                         LocalPlayer():ConCommand("cl_triggerbot 1")
  2513.                         b5:SetText("On")
  2514.                         b5:SetColor(Color(0, 161, 255, 255))
  2515.                 end
  2516.         end
  2517.  
  2518.         t6:SetParent(pmisc)
  2519.         t6:SetText("Bhop")
  2520.         t6:SetPos(6, 36)
  2521.  
  2522.         b6:SetParent(pmisc)
  2523.         function b6:Paint(w, h)
  2524.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2525.                 surface.SetDrawColor(mcolor)
  2526.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2527.         end
  2528.         if tobool(GetConVarNumber("cl_bhop")) then
  2529.                 b6:SetText("On")
  2530.                 b6:SetColor(Color(0, 161, 255, 255))
  2531.         else
  2532.                 b6:SetText("Off")
  2533.                 b6:SetColor(Color(255, 0, 0, 255))
  2534.         end
  2535.         b6:SetSize(48, 24)
  2536.         b6:SetPos(399, 36)
  2537.         b6.DoClick = function()
  2538.                 if tobool(GetConVarNumber("cl_bhop")) then
  2539.                         LocalPlayer():ConCommand("cl_bhop 0")
  2540.                         b6:SetText("Off")
  2541.                         b6:SetColor(Color(255, 0, 0, 255))
  2542.                 else
  2543.                         LocalPlayer():ConCommand("cl_bhop 1")
  2544.                         b6:SetText("On")
  2545.                         b6:SetColor(Color(0, 161, 255, 255))
  2546.                 end
  2547.         end
  2548.  
  2549.         t7:SetParent(pmisc)
  2550.         t7:SetText("Norecoil")
  2551.         t7:SetPos(6, 66)
  2552.  
  2553.         b7:SetParent(pmisc)
  2554.         function b7:Paint(w, h)
  2555.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2556.                 surface.SetDrawColor(mcolor)
  2557.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2558.         end
  2559.         if tobool(GetConVarNumber("cl_norecoil")) then
  2560.                 b7:SetText("On")
  2561.                 b7:SetColor(Color(0, 161, 255, 255))
  2562.         else
  2563.                 b7:SetText("Off")
  2564.                 b7:SetColor(Color(255, 0, 0, 255))
  2565.         end
  2566.         b7:SetSize(48, 24)
  2567.         b7:SetPos(399, 66)
  2568.         b7.DoClick = function()
  2569.                 if tobool(GetConVarNumber("cl_norecoil")) then
  2570.                         LocalPlayer():ConCommand("cl_norecoil 0")
  2571.                         b7:SetText("Off")
  2572.                         b7:SetColor(Color(255, 0, 0, 255))
  2573.                 else
  2574.                         LocalPlayer():ConCommand("cl_norecoil 1")
  2575.                         b7:SetText("On")
  2576.                         b7:SetColor(Color(0, 161, 255, 255))
  2577.                 end
  2578.         end
  2579.  
  2580.         t11:SetParent(pesp)
  2581.         t11:SetText("ESP-Groups")
  2582.         t11:SetPos(6, 66)
  2583.  
  2584.         b9:SetParent(pesp)
  2585.         function b9:Paint(w, h)
  2586.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2587.                 surface.SetDrawColor(mcolor)
  2588.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2589.         end
  2590.         if tobool(GetConVarNumber("cl_esp_showteams")) then
  2591.                 b9:SetText("On")
  2592.                 b9:SetColor(Color(0, 161, 255, 255))
  2593.         else
  2594.                 b9:SetText("Off")
  2595.                 b9:SetColor(Color(255, 0, 0, 255))
  2596.         end
  2597.         b9:SetSize(48, 24)
  2598.         b9:SetPos(399, 66)
  2599.         b9.DoClick = function()
  2600.                 if tobool(GetConVarNumber("cl_esp_showteams")) then
  2601.                         LocalPlayer():ConCommand("cl_esp_showteams 0")
  2602.                         b9:SetText("Off")
  2603.                         b9:SetColor(Color(255, 0, 0, 255))
  2604.                 else
  2605.                         LocalPlayer():ConCommand("cl_esp_showteams 1")
  2606.                         b9:SetText("On")
  2607.                         b9:SetColor(Color(0, 161, 255, 255))
  2608.                 end
  2609.         end
  2610.  
  2611.         t12:SetParent(pesp)
  2612.         t12:SetText("ESP-Friends")
  2613.         t12:SetPos(6, 96)
  2614.  
  2615.         b10:SetParent(pesp)
  2616.         function b10:Paint(w, h)
  2617.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2618.                 surface.SetDrawColor(mcolor)
  2619.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2620.         end
  2621.         if tobool(GetConVarNumber("cl_esp_showfriends")) then
  2622.                 b10:SetText("On")
  2623.                 b10:SetColor(Color(0, 161, 255, 255))
  2624.         else
  2625.                 b10:SetText("Off")
  2626.                 b10:SetColor(Color(255, 0, 0, 255))
  2627.         end
  2628.         b10:SetSize(48, 24)
  2629.         b10:SetPos(399, 96)
  2630.         b10.DoClick = function()
  2631.                 if tobool(GetConVarNumber("cl_esp_showfriends")) then
  2632.                         LocalPlayer():ConCommand("cl_esp_showfriends 0")
  2633.                         b10:SetText("Off")
  2634.                         b10:SetColor(Color(255, 0, 0, 255))
  2635.                 else
  2636.                         LocalPlayer():ConCommand("cl_esp_showfriends 1")
  2637.                         b10:SetText("On")
  2638.                         b10:SetColor(Color(0, 161, 255, 255))
  2639.                 end
  2640.         end
  2641.  
  2642.         t13:SetParent(pesp)
  2643.         t13:SetText("Tracers")
  2644.         t13:SetPos(6, 126)
  2645.  
  2646.         b11:SetParent(pesp)
  2647.         function b11:Paint(w, h)
  2648.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2649.                 surface.SetDrawColor(mcolor)
  2650.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2651.         end
  2652.         if tobool(GetConVarNumber("cl_tracers")) then
  2653.                 b11:SetText("On")
  2654.                 b11:SetColor(Color(0, 161, 255, 255))
  2655.         else
  2656.                 b11:SetText("Off")
  2657.                 b11:SetColor(Color(255, 0, 0, 255))
  2658.         end
  2659.         b11:SetSize(48, 24)
  2660.         b11:SetPos(399, 126)
  2661.         b11.DoClick = function()
  2662.                 if tobool(GetConVarNumber("cl_tracers")) then
  2663.                         LocalPlayer():ConCommand("cl_tracers 0")
  2664.                         b11:SetText("Off")
  2665.                         b11:SetColor(Color(255, 0, 0, 255))
  2666.                 else
  2667.                         LocalPlayer():ConCommand("cl_tracers 1")
  2668.                         b11:SetText("On")
  2669.                         b11:SetColor(Color(0, 161, 255, 255))
  2670.                 end
  2671.         end
  2672.  
  2673.         t17:SetParent(pesp)
  2674.         t17:SetText("ESP-Weps")
  2675.         t17:SetPos(6, 156)
  2676.  
  2677.         b15:SetParent(pesp)
  2678.         function b15:Paint(w, h)
  2679.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2680.                 surface.SetDrawColor(mcolor)
  2681.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2682.         end
  2683.         if tobool(GetConVarNumber("cl_esp_weapons")) then
  2684.                 b15:SetText("On")
  2685.                 b15:SetColor(Color(0, 161, 255, 255))
  2686.         else
  2687.                 b15:SetText("Off")
  2688.                 b15:SetColor(Color(255, 0, 0, 255))
  2689.         end
  2690.         b15:SetSize(48, 24)
  2691.         b15:SetPos(399, 156)
  2692.         b15.DoClick = function()
  2693.                 if tobool(GetConVarNumber("cl_esp_weapons")) then
  2694.                         LocalPlayer():ConCommand("cl_esp_weapons 0")
  2695.                         b15:SetText("Off")
  2696.                         b15:SetColor(Color(255, 0, 0, 255))
  2697.                 else
  2698.                         LocalPlayer():ConCommand("cl_esp_weapons 1")
  2699.                         b15:SetText("On")
  2700.                         b15:SetColor(Color(0, 161, 255, 255))
  2701.                 end
  2702.         end
  2703.  
  2704.         t19:SetParent(pesp)
  2705.         t19:SetText("ESP-Distance")
  2706.         t19:SetPos(6, 186)
  2707.  
  2708.         b17:SetParent(pesp)
  2709.         function b17:Paint(w, h)
  2710.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2711.                 surface.SetDrawColor(mcolor)
  2712.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2713.         end
  2714.         if tobool(GetConVarNumber("cl_esp_distance")) then
  2715.                 b17:SetText("On")
  2716.                 b17:SetColor(Color(0, 161, 255, 255))
  2717.         else
  2718.                 b17:SetText("Off")
  2719.                 b17:SetColor(Color(255, 0, 0, 255))
  2720.         end
  2721.         b17:SetSize(48, 24)
  2722.         b17:SetPos(399, 186)
  2723.         b17.DoClick = function()
  2724.                 if tobool(GetConVarNumber("cl_esp_distance")) then
  2725.                         LocalPlayer():ConCommand("cl_esp_distance 0")
  2726.                         b17:SetText("Off")
  2727.                         b17:SetColor(Color(255, 0, 0, 255))
  2728.                 else
  2729.                         LocalPlayer():ConCommand("cl_esp_distance 1")
  2730.                         b17:SetText("On")
  2731.                         b17:SetColor(Color(0, 161, 255, 255))
  2732.                 end
  2733.         end
  2734.  
  2735.         t24:SetParent(pesp)
  2736.         t24:SetText("DarkRP-Teams")
  2737.         t24:SetWide(96)
  2738.         t24:SetPos(6, 216)
  2739.  
  2740.         b20:SetParent(pesp)
  2741.         function b20:Paint(w, h)
  2742.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2743.                 surface.SetDrawColor(mcolor)
  2744.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2745.         end
  2746.         if tobool(GetConVarNumber("cl_drp_teams")) then
  2747.                 b20:SetText("On")
  2748.                 b20:SetColor(Color(0, 161, 255, 255))
  2749.         else
  2750.                 b20:SetText("Off")
  2751.                 b20:SetColor(Color(255, 0, 0, 255))
  2752.         end
  2753.         b20:SetSize(48, 24)
  2754.         b20:SetPos(399, 216)
  2755.         b20.DoClick = function()
  2756.                 if tobool(GetConVarNumber("cl_drp_teams")) then
  2757.                         LocalPlayer():ConCommand("cl_drp_teams 0")
  2758.                         b20:SetText("Off")
  2759.                         b20:SetColor(Color(255, 0, 0, 255))
  2760.                 else
  2761.                         LocalPlayer():ConCommand("cl_drp_teams 1")
  2762.                         b20:SetText("On")
  2763.                         b20:SetColor(Color(0, 161, 255, 255))
  2764.                 end
  2765.         end
  2766.  
  2767.         t31:SetParent(pesp)
  2768.         t31:SetText("Murder-ESP")
  2769.         t31:SetWide(96)
  2770.         t31:SetPos(6, 246)
  2771.  
  2772.         b26:SetParent(pesp)
  2773.         function b26:Paint(w, h)
  2774.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2775.                 surface.SetDrawColor(mcolor)
  2776.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2777.         end
  2778.         if tobool(GetConVarNumber("cl_mu_ents")) then
  2779.                 b26:SetText("On")
  2780.                 b26:SetColor(Color(0, 161, 255, 255))
  2781.         else
  2782.                 b26:SetText("Off")
  2783.                 b26:SetColor(Color(255, 0, 0, 255))
  2784.         end
  2785.         b26:SetSize(48, 24)
  2786.         b26:SetPos(399, 246)
  2787.         b26.DoClick = function()
  2788.                 if tobool(GetConVarNumber("cl_mu_ents")) then
  2789.                         LocalPlayer():ConCommand("cl_mu_ents 0")
  2790.                         b26:SetText("Off")
  2791.                         b26:SetColor(Color(255, 0, 0, 255))
  2792.                 else
  2793.                         LocalPlayer():ConCommand("cl_mu_ents 1")
  2794.                         b26:SetText("On")
  2795.                         b26:SetColor(Color(0, 161, 255, 255))
  2796.                 end
  2797.         end
  2798.  
  2799.         t32:SetParent(pesp)
  2800.         t32:SetText("TTT-ESP")
  2801.         t32:SetWide(96)
  2802.         t32:SetPos(6, 276)
  2803.  
  2804.         b27:SetParent(pesp)
  2805.         function b27:Paint(w, h)
  2806.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2807.                 surface.SetDrawColor(mcolor)
  2808.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2809.         end
  2810.         if tobool(GetConVarNumber("cl_ttt_ents")) then
  2811.                 b27:SetText("On")
  2812.                 b27:SetColor(Color(0, 161, 255, 255))
  2813.         else
  2814.                 b27:SetText("Off")
  2815.                 b27:SetColor(Color(255, 0, 0, 255))
  2816.         end
  2817.         b27:SetSize(48, 24)
  2818.         b27:SetPos(399, 276)
  2819.         b27.DoClick = function()
  2820.                 if tobool(GetConVarNumber("cl_ttt_ents")) then
  2821.                         LocalPlayer():ConCommand("cl_ttt_ents 0")
  2822.                         b27:SetText("Off")
  2823.                         b27:SetColor(Color(255, 0, 0, 255))
  2824.                 else
  2825.                         LocalPlayer():ConCommand("cl_ttt_ents 1")
  2826.                         b27:SetText("On")
  2827.                         b27:SetColor(Color(0, 161, 255, 255))
  2828.                         chat.AddText(Color(255, 120, 0), "[Client Assistant] Feature for TTT-ESP coming soon.")
  2829.                 end
  2830.         end
  2831.  
  2832.         t14:SetParent(paimbot)
  2833.         t14:SetText("Aimbot-Friends")
  2834.         t14:SetWide(96)
  2835.         t14:SetPos(6, 66)
  2836.  
  2837.         b12:SetParent(paimbot)
  2838.         function b12:Paint(w, h)
  2839.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2840.                 surface.SetDrawColor(mcolor)
  2841.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2842.         end
  2843.         if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
  2844.                 b12:SetText("On")
  2845.                 b12:SetColor(Color(0, 161, 255, 255))
  2846.         else
  2847.                 b12:SetText("Off")
  2848.                 b12:SetColor(Color(255, 0, 0, 255))
  2849.         end
  2850.         b12:SetSize(48, 24)
  2851.         b12:SetPos(399, 66)
  2852.         b12.DoClick = function()
  2853.                 if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
  2854.                         LocalPlayer():ConCommand("cl_aimbot_friendsnotarget 0")
  2855.                         b12:SetText("Off")
  2856.                         b12:SetColor(Color(255, 0, 0, 255))
  2857.                 else
  2858.                         LocalPlayer():ConCommand("cl_aimbot_friendsnotarget 1")
  2859.                         b12:SetText("On")
  2860.                         b12:SetColor(Color(0, 161, 255, 255))
  2861.                 end
  2862.         end
  2863.  
  2864.         t27:SetParent(paimbot)
  2865.         t27:SetText("Aimbot-Teams")
  2866.         t27:SetWide(96)
  2867.         t27:SetPos(6, 96)
  2868.  
  2869.         b23:SetParent(paimbot)
  2870.         function b23:Paint(w, h)
  2871.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2872.                 surface.SetDrawColor(mcolor)
  2873.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2874.         end
  2875.         if tobool(GetConVarNumber("cl_ateams")) then
  2876.                 b23:SetText("On")
  2877.                 b23:SetColor(Color(0, 161, 255, 255))
  2878.         else
  2879.                 b23:SetText("Off")
  2880.                 b23:SetColor(Color(255, 0, 0, 255))
  2881.         end
  2882.         b23:SetSize(48, 24)
  2883.         b23:SetPos(399, 96)
  2884.         b23.DoClick = function()
  2885.                 if tobool(GetConVarNumber("cl_ateams")) then
  2886.                         LocalPlayer():ConCommand("cl_ateams 0")
  2887.                         b23:SetText("Off")
  2888.                         b23:SetColor(Color(255, 0, 0, 255))
  2889.                 else
  2890.                         LocalPlayer():ConCommand("cl_ateams 1")
  2891.                         b23:SetText("On")
  2892.                         b23:SetColor(Color(0, 161, 255, 255))
  2893.                 end
  2894.         end
  2895.  
  2896.         t15:SetParent(pmisc)
  2897.         t15:SetText("Nospread")
  2898.         t15:SetPos(6, 96)
  2899.  
  2900.         b13:SetParent(pmisc)
  2901.         function b13:Paint(w, h)
  2902.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2903.                 surface.SetDrawColor(mcolor)
  2904.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2905.         end
  2906.         if tobool(GetConVarNumber("cl_nospread")) then
  2907.                 b13:SetText("On")
  2908.                 b13:SetColor(Color(0, 161, 255, 255))
  2909.         else
  2910.                 b13:SetText("Off")
  2911.                 b13:SetColor(Color(255, 0, 0, 255))
  2912.         end
  2913.         b13:SetSize(48, 24)
  2914.         b13:SetPos(399, 96)
  2915.         b13.DoClick = function()
  2916.                 if tobool(GetConVarNumber("cl_nospread")) then
  2917.                         LocalPlayer():ConCommand("cl_nospread 0")
  2918.                         b13:SetText("Off")
  2919.                         b13:SetColor(Color(255, 0, 0, 255))
  2920.                 else
  2921.                         LocalPlayer():ConCommand("cl_nospread 1")
  2922.                         b13:SetText("On")
  2923.                         b13:SetColor(Color(0, 161, 255, 255))
  2924.                 end
  2925.         end
  2926.  
  2927.         t16:SetParent(pmisc)
  2928.         t16:SetText("Autofire")
  2929.         t16:SetPos(6, 126)
  2930.  
  2931.         b14:SetParent(pmisc)
  2932.         function b14:Paint(w, h)
  2933.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  2934.                 surface.SetDrawColor(mcolor)
  2935.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  2936.         end
  2937.         if tobool(GetConVarNumber("cl_autofire")) then
  2938.                 b14:SetText("On")
  2939.                 b14:SetColor(Color(0, 161, 255, 255))
  2940.         else
  2941.                 b14:SetText("Off")
  2942.                 b14:SetColor(Color(255, 0, 0, 255))
  2943.         end
  2944.         b14:SetSize(48, 24)
  2945.         b14:SetPos(399, 126)
  2946.         b14.DoClick = function()
  2947.                 if tobool(GetConVarNumber("cl_autofire")) then
  2948.                         LocalPlayer():ConCommand("cl_autofire 0")
  2949.                         b14:SetText("Off")
  2950.                         b14:SetColor(Color(255, 0, 0, 255))
  2951.                 else
  2952.                         LocalPlayer():ConCommand("cl_autofire 1")
  2953.                         b14:SetText("On")
  2954.                         b14:SetColor(Color(0, 161, 255, 255))
  2955.                 end
  2956.         end
  2957.  
  2958.         t8:SetParent(paimbot)
  2959.         t8:SetText("Aimbot FOV Scale")
  2960.         t8:SetWide(96)
  2961.         t8:SetPos(6, 186)
  2962.  
  2963.         local slider = vgui.Create("DNumSlider")
  2964.         slider:SetParent(paimbot)
  2965.         slider:SetPos(243, 186)
  2966.         slider:SetText("")
  2967.         slider:SetMinMax(6, 360)
  2968.         slider:SetVisible(true)
  2969.         slider:SetWide(228)
  2970.         slider:SetDecimals(0)
  2971.         slider:SetFGColor(0, 255, 255, 255)
  2972.         slider:SetBGColor(0, 255, 255, 255)
  2973.         slider:SetValue(fov)
  2974.         slider.OnValueChanged = function()
  2975.                 fov = tonumber(slider:GetValue())
  2976.  
  2977.                 if file.Exists("cl_settings/cl_fov.txt", "DATA") then
  2978.                         file.Delete("cl_settings/cl_fov.txt")
  2979.                         file.Write("cl_settings/cl_fov.txt", fov)
  2980.  
  2981.                         fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
  2982.                 else
  2983.                         file.Write("cl_settings/cl_fov.txt", fov)
  2984.  
  2985.                         fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
  2986.                 end
  2987.         end
  2988.  
  2989.         t9:SetParent(pmisc)
  2990.         t9:SetText("Crosshair Scale")
  2991.         t9:SetWide(96)
  2992.         t9:SetPos(6, 426)
  2993.  
  2994.         local slider1 = vgui.Create("DNumSlider")
  2995.         slider1:SetParent(pmisc)
  2996.         slider1:SetPos(243, 426)
  2997.         slider1:SetText("")
  2998.         slider1:SetMinMax(8, 100)
  2999.         slider1:SetVisible(true)
  3000.         slider1:SetWide(228)
  3001.         slider1:SetDecimals(0)
  3002.         slider1:SetFGColor(0, 255, 255, 255)
  3003.         slider1:SetBGColor(0, 255, 255, 255)
  3004.         slider1:SetValue(csize)
  3005.         slider1.OnValueChanged = function()
  3006.                 csize = tonumber(slider1:GetValue())
  3007.  
  3008.                 if file.Exists("cl_settings/cl_csize.txt", "DATA") then
  3009.                         file.Delete("cl_settings/cl_csize.txt")
  3010.                         file.Write("cl_settings/cl_csize.txt", csize)
  3011.  
  3012.                         csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
  3013.                 else
  3014.                         file.Write("cl_settings/cl_csize.txt", csize)
  3015.  
  3016.                         csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
  3017.                 end
  3018.         end
  3019.  
  3020.         t20:SetParent(pesp)
  3021.         t20:SetText("ESP-Render Scale")
  3022.         t20:SetWide(96)
  3023.         t20:SetPos(6, 336)
  3024.  
  3025.         local slider2 = vgui.Create("DNumSlider")
  3026.         slider2:SetParent(pesp)
  3027.         slider2:SetPos(229, 336)
  3028.         slider2:SetText("")
  3029.         slider2:SetMinMax(3600, 36000)
  3030.         slider2:SetVisible(true)
  3031.         slider2:SetWide(228)
  3032.         slider2:SetDecimals(0)
  3033.         slider2:SetFGColor(0, 255, 255, 255)
  3034.         slider2:SetBGColor(0, 255, 255, 255)
  3035.         slider2:SetValue(escale)
  3036.         slider2.OnValueChanged = function()
  3037.                 escale = tonumber(slider2:GetValue())
  3038.  
  3039.                 if file.Exists("cl_settings/cl_escale.txt", "DATA") then
  3040.                         file.Delete("cl_settings/cl_escale.txt")
  3041.                         file.Write("cl_settings/cl_escale.txt", escale)
  3042.  
  3043.                         escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
  3044.                 else
  3045.                         file.Write("cl_settings/cl_escale.txt", escale)
  3046.  
  3047.                         escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
  3048.                 end
  3049.         end
  3050.  
  3051.         t21:SetParent(pmisc)
  3052.         t21:SetText("Speed-Hack")
  3053.         t21:SetPos(6, 156)
  3054.  
  3055.         b18:SetParent(pmisc)
  3056.         function b18:Paint(w, h)
  3057.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3058.                 surface.SetDrawColor(mcolor)
  3059.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3060.         end
  3061.         if tobool(GetConVarNumber("cl_speed")) then
  3062.                 b18:SetText("On")
  3063.                 b18:SetColor(Color(0, 161, 255, 255))
  3064.         else
  3065.                 b18:SetText("Off")
  3066.                 b18:SetColor(Color(255, 0, 0, 255))
  3067.         end
  3068.         b18:SetSize(48, 24)
  3069.         b18:SetPos(399, 156)
  3070.         b18.DoClick = function()
  3071.                 if tobool(GetConVarNumber("cl_speed")) then
  3072.                         LocalPlayer():ConCommand("cl_speed 0")
  3073.                         b18:SetText("Off")
  3074.                         b18:SetColor(Color(255, 0, 0, 255))
  3075.                 else
  3076.                         LocalPlayer():ConCommand("cl_speed 1")
  3077.                         b18:SetText("On")
  3078.                         b18:SetColor(Color(0, 161, 255, 255))
  3079.                         chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString().."' to enable speedhack.")
  3080.                 end
  3081.         end
  3082.  
  3083.         t22:SetParent(pmisc)
  3084.         t22:SetText("Speed-Scale")
  3085.         t22:SetPos(6, 456)
  3086.  
  3087.         local slider3 = vgui.Create("DNumSlider")
  3088.         slider3:SetParent(pmisc)
  3089.         slider3:SetPos(243, 456)
  3090.         slider3:SetText("")
  3091.         slider3:SetMinMax(4, 6)
  3092.         slider3:SetVisible(true)
  3093.         slider3:SetWide(228)
  3094.         slider3:SetDecimals(0)
  3095.         slider3:SetFGColor(0, 255, 255, 255)
  3096.         slider3:SetBGColor(0, 255, 255, 255)
  3097.         slider3:SetValue(esscale)
  3098.         slider3.OnValueChanged = function()
  3099.                 esscale = tonumber(slider3:GetValue())
  3100.  
  3101.                 if esscale == 4 then
  3102.                         sscale = 6
  3103.                 end
  3104.  
  3105.                 if esscale == 5 then
  3106.                         sscale = 5
  3107.                 end
  3108.  
  3109.                 if esscale == 6 then
  3110.                         sscale = 4
  3111.                 end
  3112.  
  3113.                 if file.Exists("cl_settings/cl_sscale.txt", "DATA") then
  3114.                         file.Delete("cl_settings/cl_sscale.txt")
  3115.                         file.Write("cl_settings/cl_sscale.txt", sscale)
  3116.  
  3117.                         sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
  3118.                 else
  3119.                         file.Write("cl_settings/cl_sscale.txt", sscale)
  3120.  
  3121.                         sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
  3122.                 end
  3123.  
  3124.                 if file.Exists("cl_settings/cl_esscale.txt", "DATA") then
  3125.                         file.Delete("cl_settings/cl_esscale.txt")
  3126.                         file.Write("cl_settings/cl_esscale.txt", esscale)
  3127.  
  3128.                         esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
  3129.                 else
  3130.                         file.Write("cl_settings/cl_esscale.txt", esscale)
  3131.  
  3132.                         esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
  3133.                 end
  3134.         end
  3135.  
  3136.         t10:SetParent(pmisc)
  3137.         t10:SetText("Run Code")
  3138.         t10:SetPos(6, 336)
  3139.  
  3140.         local TextEntry = vgui.Create("DTextEntry")
  3141.         TextEntry:SetParent(pmisc)
  3142.         TextEntry:SetPos(131, 336)
  3143.         TextEntry:SetTall(24)
  3144.         TextEntry:SetWide(200)
  3145.         TextEntry:SetEnterAllowed(true)
  3146.         TextEntry:SetMultiline(true)
  3147.  
  3148.         b8:SetParent(pmisc)
  3149.         function b8:Paint(w, h)
  3150.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3151.                 surface.SetDrawColor(mcolor)
  3152.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3153.         end
  3154.         b8:SetText("Run")
  3155.         b8:SetColor(Color(255, 255, 255))
  3156.         b8:SetSize(48, 24)
  3157.         b8:SetPos(399, 336)
  3158.         b8.DoClick = function()
  3159.                 RunString(TextEntry:GetValue())
  3160.         end
  3161.  
  3162.         t23:SetParent(poptions)
  3163.         t23:SetText("Menu Color")
  3164.         t23:SetPos(6, 6)
  3165.  
  3166.         local Mixer = vgui.Create("DRGBPicker")
  3167.         Mixer:SetPos(6, 36)
  3168.         Mixer:SetSize(48, 128)
  3169.         Mixer:SetParent(poptions)
  3170.         Mixer.OnChange = function()
  3171.                 lcolor = Mixer:GetRGB()
  3172.                 b16:SetColor(lcolor)
  3173.                 t18:SetColor(lcolor)
  3174.                 b30:SetColor(lcolor)
  3175.                 b31:SetColor(lcolor)
  3176.                 b30:SetTextColor(lcolor)
  3177.                 b31:SetTextColor(lcolor)
  3178.                 b33:SetColor(lcolor)
  3179.                 b33:SetTextColor(lcolor)
  3180.                 b35:SetColor(lcolor)
  3181.                 b35:SetTextColor(lcolor)
  3182.                 b38:SetColor(lcolor)
  3183.                 Mixer:SetRGB(lcolor)
  3184.  
  3185.                 if file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
  3186.                         file.Delete("cl_settings/cl_mcolor.txt")
  3187.  
  3188.                         fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
  3189.  
  3190.                         file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
  3191.  
  3192.                         mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
  3193.                 else
  3194.                         fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
  3195.  
  3196.                         file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
  3197.  
  3198.                         mcolor = file.Read("cl_settings/cl_mcolor.txt", "DATA")
  3199.                 end
  3200.         end
  3201.  
  3202.         b19:SetParent(poptions)
  3203.         function b19:Paint(w, h)
  3204.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3205.                 surface.SetDrawColor(mcolor)
  3206.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3207.         end
  3208.         b19:SetText("Reset")
  3209.         b19:SetColor(Color(255, 255, 255))
  3210.         b19:SetSize(48, 24)
  3211.         b19:SetPos(6, 170)
  3212.         b19.DoClick = function()
  3213.                 mcolor = Color(0, 255, 255)
  3214.                 zcolor = Color(0, 255, 255)
  3215.                 b16:SetColor(zcolor)
  3216.                 t18:SetColor(zcolor)
  3217.                 b30:SetColor(zcolor)
  3218.                 b31:SetColor(zcolor)
  3219.                 b30:SetTextColor(zcolor)
  3220.                 b31:SetTextColor(zcolor)
  3221.                 b33:SetColor(zcolor)
  3222.                 b33:SetTextColor(zcolor)
  3223.                 b35:SetColor(zcolor)
  3224.                 b35:SetTextColor(zcolor)
  3225.                 b38:SetColor(zcolor)
  3226.                 Mixer:SetRGB(zcolor)
  3227.                 lcolor = Mixer:GetRGB()
  3228.  
  3229.                 if file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
  3230.                         file.Delete("cl_settings/cl_mcolor.txt")
  3231.  
  3232.                         fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
  3233.  
  3234.                         file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
  3235.  
  3236.                         mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
  3237.                 else
  3238.                         fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
  3239.  
  3240.                         file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
  3241.  
  3242.                         mcolor = file.Read("cl_settings/cl_mcolor.txt", "DATA")
  3243.                 end
  3244.         end
  3245.  
  3246.         t25:SetParent(poptions)
  3247.         t25:SetText("Client-HUD")
  3248.         t25:SetPos(6, 276)
  3249.  
  3250.         b21:SetParent(poptions)
  3251.         function b21:Paint(w, h)
  3252.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3253.                 surface.SetDrawColor(mcolor)
  3254.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3255.         end
  3256.         if tobool(GetConVarNumber("cl_hud")) then
  3257.                 b21:SetText("On")
  3258.                 b21:SetColor(Color(0, 161, 255, 255))
  3259.         else
  3260.                 b21:SetText("Off")
  3261.                 b21:SetColor(Color(255, 0, 0, 255))
  3262.         end
  3263.         b21:SetSize(48, 24)
  3264.         b21:SetPos(6, 296)
  3265.         b21.DoClick = function()
  3266.                 if tobool(GetConVarNumber("cl_hud")) then
  3267.                         LocalPlayer():ConCommand("cl_hud 0")
  3268.                         b21:SetText("Off")
  3269.                         b21:SetColor(Color(255, 0, 0, 255))
  3270.                 else
  3271.                         LocalPlayer():ConCommand("cl_hud 1")
  3272.                         b21:SetText("On")
  3273.                         b21:SetColor(Color(0, 161, 255, 255))
  3274.                 end
  3275.         end
  3276.  
  3277.         t30:SetParent(poptions)
  3278.         t30:SetText("Hud-Radar")
  3279.         t30:SetPos(6, 206)
  3280.  
  3281.         b25:SetParent(poptions)
  3282.         function b25:Paint(w, h)
  3283.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3284.                 surface.SetDrawColor(mcolor)
  3285.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3286.         end
  3287.         if tobool(GetConVarNumber("cl_hud_radar")) then
  3288.                 b25:SetText("On")
  3289.                 b25:SetColor(Color(0, 161, 255, 255))
  3290.         else
  3291.                 b25:SetText("Off")
  3292.                 b25:SetColor(Color(255, 0, 0, 255))
  3293.         end
  3294.         b25:SetSize(48, 24)
  3295.         b25:SetPos(6, 230)
  3296.         b25.DoClick = function()
  3297.                 if tobool(GetConVarNumber("cl_hud_radar")) then
  3298.                         LocalPlayer():ConCommand("cl_hud_radar 0")
  3299.                         b25:SetText("Off")
  3300.                         b25:SetColor(Color(255, 0, 0, 255))
  3301.                 else
  3302.                         LocalPlayer():ConCommand("cl_hud_radar 1")
  3303.                         b25:SetText("On")
  3304.                         b25:SetColor(Color(0, 161, 255, 255))
  3305.                 end
  3306.         end
  3307.  
  3308.         t28:SetParent(pmisc)
  3309.         t28:SetText("Spam-bot")
  3310.         t28:SetPos(6, 186)
  3311.  
  3312.         b24:SetParent(pmisc)
  3313.         function b24:Paint(w, h)
  3314.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3315.                 surface.SetDrawColor(mcolor)
  3316.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3317.         end
  3318.         if tobool(GetConVarNumber("cl_spambot")) then
  3319.                 b24:SetText("On")
  3320.                 b24:SetColor(Color(0, 161, 255, 255))
  3321.         else
  3322.                 b24:SetText("Off")
  3323.                 b24:SetColor(Color(255, 0, 0, 255))
  3324.         end
  3325.         b24:SetSize(48, 24)
  3326.         b24:SetPos(399, 186)
  3327.         b24.DoClick = function()
  3328.                 if tobool(GetConVarNumber("cl_spambot")) then
  3329.                         LocalPlayer():ConCommand("cl_spambot 0")
  3330.                         b24:SetText("Off")
  3331.                         b24:SetColor(Color(255, 0, 0, 255))
  3332.                 else
  3333.                         LocalPlayer():ConCommand("cl_spambot 1")
  3334.                         b24:SetText("On")
  3335.                         b24:SetColor(Color(0, 161, 255, 255))
  3336.                 end
  3337.         end
  3338.  
  3339.         t34:SetParent(pmisc)
  3340.         t34:SetText("Hitmarkers")
  3341.         t34:SetPos(6, 216)
  3342.  
  3343.         b29:SetParent(pmisc)
  3344.         function b29:Paint(w, h)
  3345.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3346.                 surface.SetDrawColor(mcolor)
  3347.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3348.         end
  3349.         if tobool(GetConVarNumber("cl_hitmarkers")) then
  3350.                 b29:SetText("On")
  3351.                 b29:SetColor(Color(0, 161, 255, 255))
  3352.         else
  3353.                 b29:SetText("Off")
  3354.                 b29:SetColor(Color(255, 0, 0, 255))
  3355.         end
  3356.         b29:SetSize(48, 24)
  3357.         b29:SetPos(399, 216)
  3358.         b29.DoClick = function()
  3359.                 if tobool(GetConVarNumber("cl_hitmarkers")) then
  3360.                         LocalPlayer():ConCommand("cl_hitmarkers 0")
  3361.                         b29:SetText("Off")
  3362.                         b29:SetColor(Color(255, 0, 0, 255))
  3363.                 else
  3364.                         LocalPlayer():ConCommand("cl_hitmarkers 1")
  3365.                         b29:SetText("On")
  3366.                         b29:SetColor(Color(0, 161, 255, 255))
  3367.                 end
  3368.         end
  3369.  
  3370.         t37:SetParent(pmisc)
  3371.         t37:SetText("Auto-Reload")
  3372.         t37:SetWide(96)
  3373.         t37:SetPos(6, 246)
  3374.  
  3375.         b32:SetParent(pmisc)
  3376.         function b32:Paint(w, h)
  3377.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3378.                 surface.SetDrawColor(mcolor)
  3379.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3380.         end
  3381.         if tobool(GetConVarNumber("cl_autoreload")) then
  3382.                 b32:SetText("On")
  3383.                 b32:SetColor(Color(0, 161, 255, 255))
  3384.         else
  3385.                 b32:SetText("Off")
  3386.                 b32:SetColor(Color(255, 0, 0, 255))
  3387.         end
  3388.         b32:SetSize(48, 24)
  3389.         b32:SetPos(399, 246)
  3390.         b32.DoClick = function()
  3391.                 if tobool(GetConVarNumber("cl_autoreload")) then
  3392.                         LocalPlayer():ConCommand("cl_autoreload 0")
  3393.                         b32:SetText("Off")
  3394.                         b32:SetColor(Color(255, 0, 0, 255))
  3395.                 else
  3396.                         LocalPlayer():ConCommand("cl_autoreload 1")
  3397.                         b32:SetText("On")
  3398.                         b32:SetColor(Color(0, 161, 255, 255))
  3399.                 end
  3400.         end
  3401.  
  3402.         t39:SetParent(pmisc)
  3403.         t39:SetText("Easy-Prop-Kill")
  3404.         t39:SetWide(96)
  3405.         t39:SetPos(6, 276)
  3406.  
  3407.         b34:SetParent(pmisc)
  3408.         function b34:Paint(w, h)
  3409.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3410.                 surface.SetDrawColor(mcolor)
  3411.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3412.         end
  3413.         if tobool(GetConVarNumber("cl_easypropkill")) then
  3414.                 b34:SetText("On")
  3415.                 b34:SetColor(Color(0, 161, 255, 255))
  3416.         else
  3417.                 b34:SetText("Off")
  3418.                 b34:SetColor(Color(255, 0, 0, 255))
  3419.         end
  3420.         b34:SetSize(48, 24)
  3421.         b34:SetPos(399, 276)
  3422.         b34.DoClick = function()
  3423.                 if tobool(GetConVarNumber("cl_easypropkill")) then
  3424.                         LocalPlayer():ConCommand("cl_easypropkill 0")
  3425.                         b34:SetText("Off")
  3426.                         b34:SetColor(Color(255, 0, 0, 255))
  3427.                 else
  3428.                         LocalPlayer():ConCommand("cl_easypropkill 1")
  3429.                         b34:SetText("On")
  3430.                         b34:SetColor(Color(0, 161, 255, 255))
  3431.                         chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString().."' to after picking up a prop.")
  3432.                 end
  3433.         end
  3434.  
  3435.         t41:SetParent(pmisc)
  3436.         t41:SetText("Prop Spammer")
  3437.         t41:SetWide(96)
  3438.         t41:SetPos(6, 306)
  3439.  
  3440.         b36:SetParent(pmisc)
  3441.         function b36:Paint(w, h)
  3442.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3443.                 surface.SetDrawColor(mcolor)
  3444.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3445.         end
  3446.         if tobool(GetConVarNumber("cl_servercrash")) then
  3447.                 b36:SetText("On")
  3448.                 b36:SetColor(Color(0, 161, 255, 255))
  3449.         else
  3450.                 b36:SetText("Off")
  3451.                 b36:SetColor(Color(255, 0, 0, 255))
  3452.         end
  3453.         b36:SetSize(48, 24)
  3454.         b36:SetPos(399, 306)
  3455.         b36.DoClick = function()
  3456.                 if tobool(GetConVarNumber("cl_servercrash")) then
  3457.                         LocalPlayer():ConCommand("cl_servercrash 0")
  3458.                         b36:SetText("Off")
  3459.                         b36:SetColor(Color(255, 0, 0, 255))
  3460.                 else
  3461.                         LocalPlayer():ConCommand("cl_servercrash 1")
  3462.                         b36:SetText("On")
  3463.                         b36:SetColor(Color(0, 161, 255, 255))
  3464.                         chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString().."' to crash a server.")
  3465.                 end
  3466.         end
  3467.  
  3468.         t42:SetParent(pmisc)
  3469.         t42:SetText("Prop Spam-ENT")
  3470.         t42:SetWide(96)
  3471.         t42:SetPos(6, 396)
  3472.  
  3473.         local TextEntry9 = vgui.Create("DTextEntry")
  3474.         TextEntry9:SetParent(pmisc)
  3475.         TextEntry9:SetPos(131, 396)
  3476.         TextEntry9:SetTall(24)
  3477.         TextEntry9:SetWide(200)
  3478.         TextEntry9:SetEnterAllowed(true)
  3479.         TextEntry9.OnEnter = function()
  3480.                 propspam = TextEntry9:GetValue()
  3481.  
  3482.                 if file.Exists("cl_settings/cl_props.txt", "DATA") then
  3483.                         file.Delete("cl_settings/cl_props.txt")
  3484.                         file.Write("cl_settings/cl_props.txt", propspam)
  3485.  
  3486.                         propspam = file.Read("cl_settings/cl_props.txt", "DATA")
  3487.                 else
  3488.                         file.Write("cl_settings/cl_props.txt", propspam)
  3489.  
  3490.                         propspam = file.Read("cl_settings/cl_props.txt", "DATA")
  3491.                 end
  3492.         end
  3493.  
  3494.         t29:SetParent(pmisc)
  3495.         t29:SetText("Spam-bot Text")
  3496.         t29:SetWide(96)
  3497.         t29:SetPos(6, 366)
  3498.  
  3499.         local TextEntry8 = vgui.Create("DTextEntry")
  3500.         TextEntry8:SetParent(pmisc)
  3501.         TextEntry8:SetPos(131, 366)
  3502.         TextEntry8:SetTall(24)
  3503.         TextEntry8:SetWide(200)
  3504.         TextEntry8:SetEnterAllowed(true)
  3505.         TextEntry8.OnEnter = function()
  3506.                 spammsg = TextEntry8:GetValue()
  3507.  
  3508.                 if file.Exists("cl_settings/cl_spammsg.txt", "DATA") then
  3509.                         file.Delete("cl_settings/cl_spammsg.txt")
  3510.                         file.Write("cl_settings/cl_spammsg.txt", spammsg)
  3511.  
  3512.                         spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
  3513.                 else
  3514.                         file.Write("cl_settings/cl_spammsg.txt", spammsg)
  3515.  
  3516.                         spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
  3517.                 end
  3518.         end
  3519.  
  3520.         t26:SetParent(poptions)
  3521.         t26:SetWide(120)
  3522.         t26:SetText("TTT-Spectators-Target")
  3523.         t26:SetPos(288, 6)
  3524.  
  3525.         b22:SetParent(poptions)
  3526.         function b22:Paint(w, h)
  3527.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3528.                 surface.SetDrawColor(mcolor)
  3529.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3530.         end
  3531.         if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) then
  3532.                 b22:SetText("On")
  3533.                 b22:SetColor(Color(0, 161, 255, 255))
  3534.         else
  3535.                 b22:SetText("Off")
  3536.                 b22:SetColor(Color(255, 0, 0, 255))
  3537.         end
  3538.         b22:SetSize(48, 24)
  3539.         b22:SetPos(399, 6)
  3540.         b22.DoClick = function()
  3541.                 if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) then
  3542.                         LocalPlayer():ConCommand("cl_ttt_spectatorstarget 0")
  3543.                         b22:SetText("Off")
  3544.                         b22:SetColor(Color(255, 0, 0, 255))
  3545.                 else
  3546.                         LocalPlayer():ConCommand("cl_ttt_spectatorstarget 1")
  3547.                         b22:SetText("On")
  3548.                         b22:SetColor(Color(0, 161, 255, 255))
  3549.                 end
  3550.         end
  3551.  
  3552.         t35:SetParent(poptions)
  3553.         t35:SetWide(96)
  3554.         t35:SetText("Aim-Key")
  3555.         t35:SetPos(288, 36)
  3556.  
  3557.         b30:SetParent(poptions)
  3558.         function b30:Paint(w, h)
  3559.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3560.                 surface.SetDrawColor(mcolor)
  3561.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3562.         end
  3563.         b30:SetSize(100, 24)
  3564.         b30:SetPos(347, 36)
  3565.         b30:SetText(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString())
  3566.         b30:SetColor(mcolor)
  3567.         b30.DoClick = function()
  3568.                 b30:SetText("Press A Key...")
  3569.  
  3570.                 b30.Think = function()
  3571.                         for k = 107, 111 do
  3572.                                 if input.IsMouseDown(k) then
  3573.                                         LocalPlayer():ConCommand("cl_aimkey "..cl_assistant.MouseKeys[k])
  3574.                                         b30:SetText(cl_assistant.MouseKeys[k])
  3575.                                         b30.Think = nil
  3576.                                         mouse1 = true
  3577.                                         key1 = false
  3578.                                 end
  3579.                         end
  3580.  
  3581.                         for k = 0, 130 do
  3582.                                 if input.IsKeyDown(k) then
  3583.                                         LocalPlayer():ConCommand("cl_aimkey "..cl_assistant.Keys[k])
  3584.                                         b30:SetText(cl_assistant.Keys[k])
  3585.                                         b30.Think = nil
  3586.                                         mouse1 = true
  3587.                                         key1 = true
  3588.                                 end
  3589.                         end
  3590.                 end
  3591.         end
  3592.  
  3593.         t36:SetParent(poptions)
  3594.         t36:SetWide(96)
  3595.         t36:SetText("Speed-Key")
  3596.         t36:SetPos(288, 66)
  3597.  
  3598.         b31:SetParent(poptions)
  3599.         function b31:Paint(w, h)
  3600.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3601.                 surface.SetDrawColor(mcolor)
  3602.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3603.         end
  3604.         b31:SetSize(100, 24)
  3605.         b31:SetPos(347, 66)
  3606.         b31:SetText(cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString())
  3607.         b31:SetColor(mcolor)
  3608.         b31.DoClick = function()
  3609.                 b31:SetText("Press A Key...")
  3610.  
  3611.                 b31.Think = function()
  3612.                         for k = 107, 111 do
  3613.                                 if input.IsMouseDown(k) then
  3614.                                         LocalPlayer():ConCommand("cl_speedkey "..cl_assistant.MouseKeys[k])
  3615.                                         b31:SetText(cl_assistant.MouseKeys[k])
  3616.                                         b31.Think = nil
  3617.                                 end
  3618.                         end
  3619.  
  3620.                         for k = 0, 130 do
  3621.                                 if input.IsKeyDown(k) then
  3622.                                         LocalPlayer():ConCommand("cl_speedkey "..cl_assistant.Keys[k])
  3623.                                         b31:SetText(cl_assistant.Keys[k])
  3624.                                         b31.Think = nil
  3625.                                 end
  3626.                         end
  3627.                 end
  3628.         end
  3629.  
  3630.         t38:SetParent(poptions)
  3631.         t38:SetWide(96)
  3632.         t38:SetText("PropKill-Key")
  3633.         t38:SetPos(288, 96)
  3634.  
  3635.         b33:SetParent(poptions)
  3636.         function b33:Paint(w, h)
  3637.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3638.                 surface.SetDrawColor(mcolor)
  3639.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3640.         end
  3641.         b33:SetSize(100, 24)
  3642.         b33:SetPos(347, 96)
  3643.         b33:SetText(cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString())
  3644.         b33:SetColor(mcolor)
  3645.         b33.DoClick = function()
  3646.                 b33:SetText("Press A Key...")
  3647.  
  3648.                 b33.Think = function()
  3649.                         for k = 107, 111 do
  3650.                                 if input.IsMouseDown(k) then
  3651.                                         LocalPlayer():ConCommand("cl_propkillkey "..cl_assistant.MouseKeys[k])
  3652.                                         b33:SetText(cl_assistant.MouseKeys[k])
  3653.                                         b33.Think = nil
  3654.                                 end
  3655.                         end
  3656.  
  3657.                         for k = 0, 130 do
  3658.                                 if input.IsKeyDown(k) then
  3659.                                         LocalPlayer():ConCommand("cl_propkillkey "..cl_assistant.Keys[k])
  3660.                                         b33:SetText(cl_assistant.Keys[k])
  3661.                                         b33.Think = nil
  3662.                                 end
  3663.                         end
  3664.                 end
  3665.         end
  3666.  
  3667.         t40:SetParent(poptions)
  3668.         t40:SetWide(96)
  3669.         t40:SetText("Spam Key")
  3670.         t40:SetPos(288, 126)
  3671.  
  3672.         b35:SetParent(poptions)
  3673.         function b35:Paint(w, h)
  3674.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3675.                 surface.SetDrawColor(mcolor)
  3676.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3677.         end
  3678.         b35:SetSize(100, 24)
  3679.         b35:SetPos(347, 126)
  3680.         b35:SetText(cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString())
  3681.         b35:SetColor(mcolor)
  3682.         b35.DoClick = function()
  3683.                 b35:SetText("Press A Key...")
  3684.  
  3685.                 b35.Think = function()
  3686.                         for k = 107, 111 do
  3687.                                 if input.IsMouseDown(k) then
  3688.                                         LocalPlayer():ConCommand("cl_servercrashkey "..cl_assistant.MouseKeys[k])
  3689.                                         b35:SetText(cl_assistant.MouseKeys[k])
  3690.                                         b35.Think = nil
  3691.                                 end
  3692.                         end
  3693.  
  3694.                         for k = 0, 130 do
  3695.                                 if input.IsKeyDown(k) then
  3696.                                         LocalPlayer():ConCommand("cl_servercrashkey "..cl_assistant.Keys[k])
  3697.                                         b35:SetText(cl_assistant.Keys[k])
  3698.                                         b35.Think = nil
  3699.                                 end
  3700.                         end
  3701.                 end
  3702.         end
  3703.  
  3704.         b38:SetParent(poptions)
  3705.         function b38:Paint(w, h)
  3706.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3707.                 surface.SetDrawColor(mcolor)
  3708.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3709.         end
  3710.         b38:SetText("Edit Colors")
  3711.         b38:SetColor(mcolor)
  3712.         b38:SetSize(100, 24)
  3713.         b38:SetPos(347, 156)
  3714.         b38.DoClick = function()
  3715.                 LocalPlayer():ConCommand("cl_menu_color")
  3716.                 base:Close()
  3717.         end
  3718.  
  3719.         t43:SetParent(pesp)
  3720.         t43:SetWide(96)
  3721.         t43:SetText("DarkRP-Ents")
  3722.         t43:SetPos(6, 306)
  3723.  
  3724.         b37:SetParent(pesp)
  3725.         function b37:Paint(w, h)
  3726.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3727.                 surface.SetDrawColor(mcolor)
  3728.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3729.         end
  3730.         if tobool(GetConVarNumber("cl_esp_drpents")) then
  3731.                 b37:SetText("On")
  3732.                 b37:SetColor(Color(0, 161, 255, 255))
  3733.         else
  3734.                 b37:SetText("Off")
  3735.                 b37:SetColor(Color(255, 0, 0, 255))
  3736.         end
  3737.         b37:SetSize(48, 24)
  3738.         b37:SetPos(399, 306)
  3739.         b37.DoClick = function()
  3740.                 if tobool(GetConVarNumber("cl_esp_drpents")) then
  3741.                         LocalPlayer():ConCommand("cl_esp_drpents 0")
  3742.                         b37:SetText("Off")
  3743.                         b37:SetColor(Color(255, 0, 0, 255))
  3744.                 else
  3745.                         LocalPlayer():ConCommand("cl_esp_drpents 1")
  3746.                         b37:SetText("On")
  3747.                         b37:SetColor(Color(0, 161, 255, 255))
  3748.                 end
  3749.         end
  3750.  
  3751.         t33:SetParent(paimbot)
  3752.         t33:SetWide(96)
  3753.         t33:SetText("Target-Props")
  3754.         t33:SetPos(6, 126)
  3755.  
  3756.         b28:SetParent(paimbot)
  3757.         function b28:Paint(w, h)
  3758.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3759.                 surface.SetDrawColor(mcolor)
  3760.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3761.         end
  3762.         if tobool(GetConVarNumber("cl_aim_prop")) then
  3763.                 b28:SetText("On")
  3764.                 b28:SetColor(Color(0, 161, 255, 255))
  3765.         else
  3766.                 b28:SetText("Off")
  3767.                 b28:SetColor(Color(255, 0, 0, 255))
  3768.         end
  3769.         b28:SetSize(48, 24)
  3770.         b28:SetPos(399, 126)
  3771.         b28.DoClick = function()
  3772.                 if tobool(GetConVarNumber("cl_aim_prop")) then
  3773.                         LocalPlayer():ConCommand("cl_aim_prop 0")
  3774.                         b28:SetText("Off")
  3775.                         b28:SetColor(Color(255, 0, 0, 255))
  3776.                 else
  3777.                         LocalPlayer():ConCommand("cl_aim_prop 1")
  3778.                         b28:SetText("On")
  3779.                         b28:SetColor(Color(0, 161, 255, 255))
  3780.                 end
  3781.         end
  3782.  
  3783.         t44:SetParent(paimbot)
  3784.         t44:SetWide(96)
  3785.         t44:SetText("Ragemode")
  3786.         t44:SetPos(6, 156)
  3787.  
  3788.         b39:SetParent(paimbot)
  3789.         function b39:Paint(w, h)
  3790.                 draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
  3791.                 surface.SetDrawColor(mcolor)
  3792.                 surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
  3793.         end
  3794.         if tobool(GetConVarNumber("cl_rageaimbot")) then
  3795.                 b39:SetText("On")
  3796.                 b39:SetColor(Color(0, 161, 255, 255))
  3797.         else
  3798.                 b39:SetText("Off")
  3799.                 b39:SetColor(Color(255, 0, 0, 255))
  3800.         end
  3801.         b39:SetSize(48, 24)
  3802.         b39:SetPos(399, 156)
  3803.         b39.DoClick = function()
  3804.                 if tobool(GetConVarNumber("cl_rageaimbot")) then
  3805.                         LocalPlayer():ConCommand("cl_rageaimbot 0")
  3806.                         b39:SetText("Off")
  3807.                         b39:SetColor(Color(255, 0, 0, 255))
  3808.                 else
  3809.                         LocalPlayer():ConCommand("cl_rageaimbot 1")
  3810.                         b39:SetText("On")
  3811.                         b39:SetColor(Color(0, 161, 255, 255))
  3812.                 end
  3813.         end
  3814. end)
  3815.  
  3816. CreateClientConVar("cl_crosshair", 0, true, false)
  3817. function cl_crosshair()
  3818.         if tobool(GetConVarNumber("cl_crosshair")) then
  3819.                 surface.DrawCircle(ScrW()/2 + csize/2 - csize*0.5, ScrH()/2 + csize/2 - csize*0.5, csize, acolor)
  3820.         end
  3821. end
  3822.  
  3823. hook.Add("HUDPaint", "cl_crosshair", cl_crosshair)
  3824.  
  3825. CreateClientConVar("cl_rageaimbot", 0, true, false)
  3826. local function cl_rageaimbot()
  3827.         if tobool(GetConVarNumber("cl_rageaimbot")) then
  3828.                 rageaimbot = 1
  3829.         else
  3830.                 rageaimbot = 0
  3831.         end
  3832. end
  3833.  
  3834. hook.Add("Think", "cl_rageaimbot", cl_rageaimbot)
  3835.  
  3836. CreateClientConVar("cl_aimbot", 0, true, false)
  3837. local function cl_aimbot(cmd)
  3838.         if rageaimbot == 0 then
  3839.                 if tobool(GetConVarNumber("cl_aimbot")) and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
  3840.                         for k, v in pairs(player.GetAll()) do
  3841.                                 if v != LocalPlayer() then
  3842.                                         if(v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
  3843.                                                 if(v:Team() != TEAM_SPECTATOR and specs != 1) then
  3844.                                                         local lpang = LocalPlayer():GetAngles();
  3845.                                                         local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle()
  3846.                                                         local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
  3847.                                                         local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
  3848.  
  3849.                                                         if not(ady > fov or adp > fov) and Target == nil and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
  3850.                                                                 if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  3851.                                                                         Target = nil
  3852.                                                                 else
  3853.                                                                         Target = v
  3854.                                                                 end
  3855.                                                         end
  3856.                                                 else
  3857.                                                         if v:Team() == TEAM_SPECTATOR and specs == 1 then
  3858.                                                                 local lpang = LocalPlayer():GetAngles();
  3859.                                                                 local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle()
  3860.                                                                 local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
  3861.                                                                 local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
  3862.  
  3863.                                                                 if not(ady > fov or adp > fov) and Target == nil and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
  3864.                                                                         if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  3865.                                                                                 Target = nil
  3866.                                                                         else
  3867.                                                                                 Target = v
  3868.                                                                         end
  3869.                                                                 end
  3870.                                                         else
  3871.                                                                 if v:Team() == TEAM_SPECTATOR and specs != 1 then
  3872.                                                                         v = nil
  3873.                                                                 end
  3874.                                                         end
  3875.                                                 end
  3876.                                         else
  3877.                                                 v = nil
  3878.                                         end
  3879.                                 end
  3880.                         end
  3881.                 end
  3882.         else
  3883.                 if tobool(GetConVarNumber("cl_aimbot")) then
  3884.                         for k, v in pairs(player.GetAll()) do
  3885.                                 if v != LocalPlayer() then
  3886.                                         if(v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
  3887.                                                 if(v:Team() != TEAM_SPECTATOR and specs != 1) then
  3888.  
  3889.                                                         if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  3890.                                                                 Target = nil
  3891.                                                         else
  3892.                                                                 Target = v
  3893.                                                         end
  3894.                                                 else
  3895.                                                         if v:Team() == TEAM_SPECTATOR and specs == 1 then
  3896.                                                                 if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  3897.                                                                         Target = nil
  3898.                                                                 else
  3899.                                                                         Target = v
  3900.                                                                 end
  3901.                                                         else
  3902.                                                                 if v:Team() == TEAM_SPECTATOR and specs != 1 then
  3903.                                                                         v = nil
  3904.                                                                 end
  3905.                                                         end
  3906.                                                 end
  3907.                                         else
  3908.                                                 v = nil
  3909.                                         end
  3910.                                 end
  3911.                         end
  3912.                 end
  3913.         end
  3914.  
  3915.         if rageaimbot == 0 then
  3916.                 if(Target != nil and Target:IsPlayer() and Target:Alive() and !Target:InVehicle() and cl_assistant.Visible(Target) and (Target:Health() > 0)) then
  3917.                         if(Target:Team() != TEAM_SPECTATOR and specs != 1) then
  3918.  
  3919.                         else
  3920.                                 if Target:Team() == TEAM_SPECTATOR and specs == 1 then
  3921.  
  3922.                                 else
  3923.                                         if v:Team() == TEAM_SPECTATOR and specs != 1 then
  3924.                                                 Target = nil
  3925.                                         end
  3926.                                 end
  3927.                         end
  3928.                 else
  3929.                         Target = nil
  3930.                 end
  3931.  
  3932.                 if Target != nil and cl_aimbot and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
  3933.                         if prophunt == 1 and aimprop == 1 then
  3934.                                 local angle = (Target:GetPos() - LocalPlayer():GetShootPos()):Angle()
  3935.  
  3936.                                 Target:SetAnimation(0)
  3937.                                 cmd:SetViewAngles(angle)
  3938.  
  3939.                                 if cmd:GetViewAngles() != (angle) then
  3940.                                         timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
  3941.                                 end
  3942.                         else
  3943.                                 local angle = (Target:GetBonePosition(Target:LookupBone("ValveBiped.Bip01_Head1")) - LocalPlayer():GetShootPos()):Angle()
  3944.  
  3945.                                 Target:SetAnimation(0)
  3946.                                 cmd:SetViewAngles(angle)
  3947.  
  3948.                                 if cmd:GetViewAngles() != (angle) then
  3949.                                         timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
  3950.                                 end
  3951.                         end
  3952.                 else
  3953.                         Target = nil
  3954.                 end
  3955.         else
  3956.                 if(Target != nil and Target:IsPlayer() and Target:Alive() and !Target:InVehicle() and cl_assistant.Visible(Target) and (Target:Health() > 0)) then
  3957.                         if(Target:Team() != TEAM_SPECTATOR and specs != 1) then
  3958.  
  3959.                         else
  3960.                                 if Target:Team() == TEAM_SPECTATOR and specs == 1 then
  3961.  
  3962.                                 else
  3963.                                         if v:Team() == TEAM_SPECTATOR and specs != 1 then
  3964.                                                 Target = nil
  3965.                                         end
  3966.                                 end
  3967.                         end
  3968.                 else
  3969.                         Target = nil
  3970.                 end
  3971.  
  3972.                 if Target != nil then
  3973.                         if prophunt == 1 and aimprop == 1 then
  3974.                                 local angle = (Target:GetPos() - LocalPlayer():GetShootPos()):Angle()
  3975.  
  3976.                                 Target:SetAnimation(0)
  3977.                                 cmd:SetViewAngles(angle)
  3978.  
  3979.                                 if cmd:GetViewAngles() != (angle) then
  3980.                                         timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
  3981.                                 end
  3982.                         else
  3983.                                 local angle = (Target:GetBonePosition(Target:LookupBone("ValveBiped.Bip01_Head1")) - LocalPlayer():GetShootPos()):Angle()
  3984.  
  3985.                                 Target:SetAnimation(0)
  3986.                                 cmd:SetViewAngles(angle)
  3987.  
  3988.                                 if cmd:GetViewAngles() != (angle) then
  3989.                                         timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
  3990.                                 end
  3991.                         end
  3992.                 else
  3993.                         Target = nil
  3994.                 end
  3995.         end
  3996. end
  3997.  
  3998. hook.Add("CreateMove", "cl_aimbot", cl_aimbot)
  3999.  
  4000. CreateClientConVar("cl_triggerbot", 0, true, false)
  4001. local function cl_triggerbot(cmd)
  4002.         if tobool(GetConVarNumber("cl_triggerbot")) then
  4003.                 for k, v in pairs(player.GetAll()) do
  4004.                         if(v != LocalPlayer() and v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
  4005.                                 if tobool(GetConVarNumber("cl_aimbot")) then
  4006.                                         if v:Team() != TEAM_SPECTATOR and specs != 1 then
  4007.                                                 if prophunt == 1 and aimprop == 1 then
  4008.                                                         v:SetAnimation(0)
  4009.  
  4010.                                                         if LocalPlayer():GetEyeTrace().Entity == v then
  4011.                                                                 if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  4012.                                                                         v = nil
  4013.                                                                 else
  4014.                                                                         RunConsoleCommand("+attack")
  4015.                                                                         timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  4016.                                                                 end
  4017.                                                         end
  4018.                                                 else
  4019.                                                         v:SetAnimation(0)
  4020.  
  4021.                                                         if LocalPlayer():GetEyeTrace().Entity == v then
  4022.                                                                 if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  4023.                                                                         v = nil
  4024.                                                                 else
  4025.                                                                         RunConsoleCommand("+attack")
  4026.                                                                         timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  4027.                                                                 end
  4028.                                                         end
  4029.                                                 end
  4030.                                         else
  4031.                                                 if v:Team() == TEAM_SPECTATOR and specs == 1 then      
  4032.                                                         if prophunt == 1 and aimprop == 1 then
  4033.                                                                 v:SetAnimation(0)
  4034.  
  4035.                                                                 if LocalPlayer():GetEyeTrace().Entity == v then
  4036.                                                                         if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  4037.                                                                                 v = nil
  4038.                                                                         else
  4039.                                                                                 RunConsoleCommand("+attack")
  4040.                                                                                 timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  4041.                                                                         end
  4042.                                                                 end
  4043.                                                         else
  4044.                                                                 v:SetAnimation(0)
  4045.  
  4046.                                                                 if LocalPlayer():GetEyeTrace().Entity == v then
  4047.                                                                         if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
  4048.                                                                                 v = nil
  4049.                                                                         else
  4050.                                                                                 RunConsoleCommand("+attack")
  4051.                                                                                 timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  4052.                                                                         end
  4053.                                                                 end
  4054.                                                         end
  4055.                                                 else
  4056.                                                         v = nil
  4057.                                                 end
  4058.                                         end
  4059.                                 end
  4060.                         else
  4061.                                 v = nil
  4062.                         end
  4063.                 end
  4064.         end
  4065. end
  4066.  
  4067. hook.Add("CreateMove", "cl_triggerbot", cl_triggerbot)
  4068.  
  4069. CreateClientConVar("cl_spambot", 0, true, false)
  4070. local function cl_spambot()
  4071.         if tobool(GetConVarNumber("cl_spambot")) then
  4072.                 if drpesp64 == 0 and tttespspecs == 0 then
  4073.                         LocalPlayer():ConCommand("say "..spammsg)
  4074.                 else
  4075.                         if drpesp64 == 1 then
  4076.                                 LocalPlayer():ConCommand("say /ooc "..spammsg)
  4077.                         else
  4078.                                 if tttespspecs == 1 and LocalPlayer():Alive() then
  4079.                                         LocalPlayer():ConCommand("say "..spammsg)
  4080.                                 else
  4081.                                         if tttespspecs == 1 and !LocalPlayer():Alive() then
  4082.                                                 LocalPlayer():ConCommand("say_team "..spammsg)
  4083.                                         end
  4084.                                 end
  4085.                         end
  4086.                 end
  4087.         end
  4088. end
  4089.  
  4090. hook.Add("Think", "cl_spambot", cl_spambot)
  4091.  
  4092. CreateClientConVar("cl_autoreload", 0, true, false)
  4093. local function cl_autoreload(cmd)
  4094.         if tobool(GetConVarNumber("cl_autoreload")) then
  4095.                 local active_weapon = LocalPlayer():GetActiveWeapon()
  4096.                 local ammo_clip = (not IsValid(active_weapon)) and -1 or (active_weapon.Clip1 and active_weapon:Clip1() or 0)
  4097.  
  4098.                 if ammo_clip == 0 then
  4099.                         cmd:SetButtons(cmd:GetButtons() + IN_RELOAD)
  4100.                 end
  4101.         end
  4102. end
  4103.  
  4104. hook.Add("CreateMove", "cl_autoreload", cl_autoreload)
  4105.  
  4106. --[[
  4107.         THIS HACK IS CURRENTLY THE BEST IN THE GMOD HACK INDUSTRY, IT TOOK A LOT OF TIME TO CODE, A LOT OF WORK, TRIAL AND ERROR, AND LASTLY MULTIPLE PEOPLE.
  4108.         THIS HACK WAS FIRST STARTED IN DECEMBER 12, 2014. IT WAS COMPLETED IN April 23, 2015, AND TOOK 132 DAYS TO CODE.
  4109.         THIS HACK WAS MAINLY CODED BY Classified.
  4110.         THE WORK OF THE MENU, HUD, ESP, AIMBOT, SPAMBOT, SPEEDHACK, CROSSHAIRS, OPTIONS, HITMARKERS, AUTORELOAD, BUTTON CHANGERS, COLOR CHANGERS, AND MANY OTHER FUNCTIONS WAS CODED BY Classified.
  4111.         OTHER WORK SUCH AS NORECOIL, NOSPREAD, AIMBOT-FRIENDS, PROP-SPAMMER, ADMIN-CHECKER, EASY-PROP-KILL, AND MODIFIED AIMBOT/ESP/HUD/SPEEDHACK/COLOR-CHANGER WAS CODED BY Apollo.
  4112.         IDEAS ORIGINATED FROM STEAM FRIENDS.
  4113.  
  4114.         YOU HAVE NO RIGHT TO COPY/MODIFY/REDISTRIBUTE/SELL THIS FILE.
  4115.         ALL OF THE THINGS YOU SEE HERE IN THIS HACK BELONG TO THEIR RESPECTED OWNERS.
  4116.         IF YOU DO SO FORTH WITH THE COPYING, MODIFYING, REDISTRIBUTING, OR SELLING OF THIS FILE; YOU WILL BE FOUND AND SUED FOR COPYRIGHT.
  4117.  
  4118.         HACK INFORMATION:
  4119.         DATE STARTED: 12/12/14
  4120.         DATE FINISHED: 04/23/15
  4121. ]]
Add Comment
Please, Sign In to add comment