Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- _______________________________________________________________________________________________
- _##############_######_________##########_##############_######__________######_##############_
- _##############_######_________##########_##############_##############__######_##############_
- _##############_######_________##########_##############_##############__######_##############_
- _######_________######___________######___######_________##############__######_____######_____
- _######_________######___________######___##############_######__######__######_____######_____
- _######_________######___________######___##############_######__######__######_____######_____
- _######_________######___________######___##############_######__######__######_____######_____
- _######_________######___________######___######_________######__##############_____######_____
- _##############_##############_##########_##############_######__##############_____######_____
- _##############_##############_##########_##############_######__##############_____######_____
- _##############_##############_##########_##############_######__________######_____######_____
- _______________________________________________________________________________________________
- ____________________________________________________________________________________________________________________________________________
- _##############_##############_##############_##########_##############_##############_##############_######__________######_##############_
- _##############_##############_##############_##########_##############_##############_##############_##############__######_##############_
- _##############_##############_##############_##########_##############_##############_##############_##############__######_##############_
- _######__######_######_________######___________######___######_____________######_____######__######_##############__######_____######_____
- _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
- _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
- _##############_##############_##############___######___##############_____######_____##############_######__######__######_____######_____
- _######__######_________######_________######___######___________######_____######_____######__######_######__##############_____######_____
- _######__######_##############_##############_##########_##############_____######_____######__######_######__##############_____######_____
- _######__######_##############_##############_##########_##############_____######_____######__######_######__##############_____######_____
- _######__######_##############_##############_##########_##############_____######_____######__######_######__________######_____######_____
- ____________________________________________________________________________________________________________________________________________
- _________________________________________________
- _######__######_########__________##############_
- _######__######_########__________##############_
- _######__######_########__________##############_
- _######__######___######__________######__######_
- _######__######___######__________######__######_
- _######__######___######__________######__######_
- _######__######___######__________######__######_
- _##############___######__________######__######_
- _##############_##########_######_##############_
- ___##########___##########_######_##############_
- _____######_____##########_######_##############_
- _________________________________________________
- ]]
- chat.AddText(Color(255, 120, 0), "Client Assistant v1.0 made by Classified and Apollo.")
- 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.")
- chat.AddText(Color(255, 120, 0), "Type cl_menu in console to open the menu.")
- local derma = derma
- local surface = surface
- local vgui = vgui
- local input = input
- local util = util
- local cam = cam
- local render = render
- local math = math
- local draw = draw
- local team = team
- local LocalPlayer = LocalPlayer
- local draw = draw
- local player = player
- local pairs = pairs
- local table = table
- local RunConsoleCommand = RunConsoleCommand
- local ents = ents
- local ScrH = ScrH
- local ScrW = ScrW
- local cl_assistant = {}
- local rageaimbot = 0
- local asfriends = 0
- local mcolor = Color(0, 255, 255)
- local hud = 1
- local sbx = 0
- local drpesp64 = 0
- local mu = 0
- local prophunt = 0
- local tttespspecs = 0
- local ateams = 0
- local noadmins = 0
- local aimprop = 0
- surface.CreateFont("ClFont", {
- font = "CenterPrintText",
- size = 12,
- weight = 800,
- blursize = 0,
- scanlines = 0,
- antialias = false,
- underline = false,
- italic = false,
- strikeout = false,
- symbol = false,
- rotary = false,
- shadow = false,
- additive = false,
- outline = false
- })
- cl_assistant.Propkill = {}
- cl_assistant.Propkill.Vars = {}
- cl_assistant.Propkill.Vars["PropOnKey_Key"] = CreateClientConVar("cl_propkillkey", "KEY_E", true, false)
- cl_assistant.Aimbot = {}
- cl_assistant.Aimbot.Vars = {}
- cl_assistant.Aimbot.Vars["AimOnKey_Key"] = CreateClientConVar("cl_aimkey", "KEY_F", true, false)
- cl_assistant.Spam = {}
- cl_assistant.Spam.Vars = {}
- cl_assistant.Spam.Vars["SpamOnKey_Key"] = CreateClientConVar("cl_servercrashkey", "KEY_U", true, false)
- cl_assistant.Speedhack = {}
- cl_assistant.Speedhack.Vars = {}
- cl_assistant.Speedhack.Vars["SpeedOnKey_Key"] = CreateClientConVar("cl_speedkey", "MOUSE_5", true, false)
- file.CreateDir("cl_settings")
- cl_assistant.Keys = {
- [0] = "KEY_NONE",
- [1] = "KEY_0",
- [2] = "KEY_1",
- [3] = "KEY_2",
- [4] = "KEY_3",
- [5] = "KEY_4",
- [6] = "KEY_5",
- [7] = "KEY_6",
- [8] = "KEY_7",
- [9] = "KEY_8",
- [10] = "KEY_9",
- [11] = "KEY_A",
- [12] = "KEY_B",
- [13] = "KEY_C",
- [14] = "KEY_D",
- [15] = "KEY_E",
- [16] = "KEY_F",
- [17] = "KEY_G",
- [18] = "KEY_H",
- [19] = "KEY_I",
- [20] = "KEY_J",
- [21] = "KEY_K",
- [22] = "KEY_L",
- [23] = "KEY_M",
- [24] = "KEY_N",
- [25] = "KEY_O",
- [26] = "KEY_P",
- [27] = "KEY_Q",
- [28] = "KEY_R",
- [29] = "KEY_S",
- [30] = "KEY_T",
- [31] = "KEY_U",
- [32] = "KEY_V",
- [33] = "KEY_W",
- [34] = "KEY_X",
- [35] = "KEY_Y",
- [36] = "KEY_Z",
- [37] = "KEY_PAD_0",
- [38] = "KEY_PAD_1",
- [39] = "KEY_PAD_2",
- [40] = "KEY_PAD_3",
- [41] = "KEY_PAD_4",
- [42] = "KEY_PAD_5",
- [43] = "KEY_PAD_6",
- [44] = "KEY_PAD_7",
- [45] = "KEY_PAD_8",
- [46] = "KEY_PAD_9",
- [47] = "KEY_PAD_DIVIDE",
- [48] = "KEY_PAD_MULTIPLY",
- [49] = "KEY_PAD_MINUS",
- [50] = "KEY_PAD_PLUS",
- [51] = "KEY_PAD_ENTER",
- [52] = "KEY_PAD_DECIMAL",
- [53] = "KEY_LBRACKET",
- [54] = "KEY_RBRACKET",
- [55] = "KEY_SEMICOLON",
- [56] = "KEY_APOSTROPHE",
- [57] = "KEY_BACKQUOTE",
- [58] = "KEY_COMMA",
- [59] = "KEY_PERIOD",
- [60] = "KEY_SLASH",
- [61] = "KEY_BACKSLASH",
- [62] = "KEY_MINUS",
- [63] = "KEY_EQUAL",
- [64] = "KEY_ENTER",
- [65] = "KEY_SPACE",
- [66] = "KEY_BACKSPACE",
- [67] = "KEY_TAB",
- [68] = "KEY_CAPSLOCK",
- [69] = "KEY_NUMLOCK",
- [70] = "KEY_ESCAPE",
- [71] = "KEY_SCROLLLOCK",
- [72] = "KEY_INSERT",
- [73] = "KEY_DELETE",
- [74] = "KEY_HOME",
- [75] = "KEY_END",
- [76] = "KEY_PAGEUP",
- [77] = "KEY_PAGEDOWN",
- [78] = "KEY_BREAK",
- [79] = "KEY_LSHIFT",
- [80] = "KEY_RSHIFT",
- [81] = "KEY_LALT",
- [82] = "KEY_RALT",
- [83] = "KEY_LCONTROL",
- [84] = "KEY_RCONTROL",
- [85] = "KEY_LWIN",
- [86] = "KEY_RWIN",
- [87] = "KEY_APP",
- [88] = "KEY_UP",
- [89] = "KEY_LEFT",
- [90] = "KEY_DOWN",
- [91] = "KEY_RIGHT",
- [92] = "KEY_F1",
- [93] = "KEY_F2",
- [94] = "KEY_F3",
- [95] = "KEY_F4",
- [96] = "KEY_F5",
- [97] = "KEY_F6",
- [98] = "KEY_F7",
- [99] = "KEY_F8",
- [100] = "KEY_F9",
- [101] = "KEY_F10",
- [102] = "KEY_F11",
- [103] = "KEY_F12",
- [107] = "KEY_XBUTTON_UP",
- [108] = "KEY_XBUTTON_DOWN",
- [109] = "KEY_XBUTTON_LEFT",
- [110] = "KEY_XBUTTON_RIGHT",
- [111] = "KEY_XBUTTON_START",
- [112] = "KEY_XBUTTON_BACK",
- [113] = "KEY_XBUTTON_STICK1",
- [114] = "KEY_XBUTTON_STICK2",
- [115] = "KEY_XBUTTON_A",
- [116] = "KEY_XBUTTON_B",
- [117] = "KEY_XBUTTON_X",
- [118] = "KEY_XBUTTON_Y",
- [119] = "KEY_XBUTTON_BLACK",
- [120] = "KEY_XBUTTON_WHITE",
- [121] = "KEY_XBUTTON_LTRIGGER",
- [122] = "KEY_XBUTTON_RTRIGGER",
- [123] = "KEY_XSTICK1_UP",
- [124] = "KEY_XSTICK1_DOWN",
- [125] = "KEY_XSTICK1_LEFT",
- [126] = "KEY_XSTICK1_RIGHT",
- [127] = "KEY_XSTICK2_UP",
- [128] = "KEY_XSTICK2_DOWN",
- [129] = "KEY_XSTICK2_LEFT",
- [130] = "KEY_XSTICK2_RIGHT"
- }
- cl_assistant.MouseKeys = {
- [107] = "MOUSE_LEFT",
- [108] = "MOUSE_RIGHT",
- [109] = "MOUSE_MIDDLE",
- [110] = "MOUSE_4",
- [111] = "MOUSE_5"
- }
- 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"
- cl_assistant.KeyPressed = function(key)
- for k = 107, 111 do
- if key == cl_assistant.MouseKeys[k] then
- if input.IsMouseDown(k) then
- return true
- else
- return false
- end
- end
- end
- for k = 0, 130 do
- if key == cl_assistant.Keys[k] then
- if input.IsKeyDown(k) then
- return true
- else
- return false
- end
- end
- end
- return false
- end
- if !file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
- dpcolor1 = Color(0, 255, 27)
- file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
- dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
- else
- dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
- gcolor1 = Color(220, 0, 255)
- file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
- gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
- else
- gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
- fndcolor1 = Color(0, 127, 31)
- file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
- fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
- else
- fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
- distcolor1 = Color(0, 63, 255)
- file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
- distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
- else
- distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
- rpcolor1 = Color(127, 0, 255)
- file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
- rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
- else
- rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
- murcolor1 = Color(127, 0, 255)
- file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
- murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
- else
- murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
- wepcolor1 = Color(255, 93, 0)
- file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
- wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
- else
- wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_fov.txt", "DATA") then
- file.Write("cl_settings/cl_fov.txt", 6)
- fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
- else
- fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_csize.txt", "DATA") then
- file.Write("cl_settings/cl_csize.txt", 8)
- csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
- else
- csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_escale.txt", "DATA") then
- file.Write("cl_settings/cl_escale.txt", 3600)
- escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
- else
- escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_sscale.txt", "DATA") then
- file.Write("cl_settings/cl_sscale.txt", 6)
- sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
- else
- sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_esscale.txt", "DATA") then
- file.Write("cl_settings/cl_esscale.txt", 8)
- esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
- else
- esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_props.txt", "DATA") then
- propspam = "models/props_c17/Lockers001a.mdl"
- file.Write("cl_settings/cl_props.txt", propspam)
- propspam = file.Read("cl_settings/cl_props.txt", "DATA")
- else
- propspam = file.Read("cl_settings/cl_props.txt", "DATA")
- end
- if !file.Exists("cl_settings/cl_spammsg.txt", "DATA") then
- file.Write("cl_settings/cl_spammsg.txt", "Anonymous did America a favor. Join 4chan today!")
- spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
- else
- spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
- end
- if !file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
- scolor = Color(182, 182, 182)
- file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
- acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
- else
- acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
- end
- if !file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
- fcolor = Color(0, 255, 255)
- file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
- mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
- else
- mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
- end
- local function gamemodes()
- 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
- hud = 0
- else
- hud = 1
- end
- end
- hook.Add("Think", "gamemodes", gamemodes)
- local function gamemodes2()
- if(string.find(gmod.GetGamemode().Name, "DarkRP")) then
- drpesp64 = 1
- else
- drpesp64 = 0
- end
- end
- hook.Add("Think", "gamemodes2", gamemodes2)
- local function gamemodes3()
- if(string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town")) then
- tttespspecs = 1
- else
- tttespspecs = 0
- end
- end
- hook.Add("Think", "gamemodes3", gamemodes3)
- local function gamemodes4()
- if(string.find(gmod.GetGamemode().Name, "Sandbox")) then
- sbx = 1
- else
- sbx = 0
- end
- end
- hook.Add("Think", "gamemodes4", gamemodes4)
- local function gamemodes5()
- if(string.find(gmod.GetGamemode().Name, "Murder")) then
- mu = 1
- else
- mu = 0
- end
- end
- hook.Add("Think", "gamemodes5", gamemodes5)
- local function gamemodes6()
- if(string.find(gmod.GetGamemode().Name, "Prop Hunt")) then
- prophunt = 1
- else
- prophunt = 0
- end
- end
- hook.Add("Think", "gamemodes6", gamemodes6)
- CreateClientConVar("cl_hud", 1, true, false)
- function HUDHide(cahud)
- if tobool(GetConVarNumber("cl_hud")) and hud == 1 then
- for k, v in pairs({"CHudHealth", "CHudBattery","CHudAmmo", "CHudSecondaryAmmo"}) do
- if cahud == v then return false end
- end
- end
- end
- hook.Add("HUDShouldDraw", "HUDHide", HUDHide)
- local fontCreated = false
- CreateClientConVar("cl_hud_radar", 0, true, false)
- function CAHUD()
- if tobool(GetConVarNumber("cl_hud")) and hud == 1 then
- local ply = LocalPlayer()
- local HP = LocalPlayer():Health()
- if HP < 0 then
- HP = 0
- end
- local AR = LocalPlayer():Armor()
- local active_weapon = ply:GetActiveWeapon()
- local ammo_clip = (not IsValid(active_weapon)) and -1 or (active_weapon.Clip1 and active_weapon:Clip1() or 0)
- local ammo_inv = (not IsValid(active_weapon)) and -1 or (active_weapon.Ammo1 and active_weapon:Ammo1() or 0)
- local ammo_max = (not IsValid(active_weapon)) and -1 or ((active_weapon.Primary and active_weapon.Primary.ClipSize) or 0)
- local MainFontData = {
- font = "CenterPrintText",
- size = 28,
- weight = 800,
- blursize = 0,
- scanlines = 0,
- antialias = false,
- underline = false,
- italic = false,
- strikeout = false,
- symbol = false,
- rotary = false,
- shadow = false,
- additive = false,
- outline = false }
- if(fontCreated == false) then
- surface.CreateFont("MainFont", MainFontData)
- fontCreated = true
- end
- if tobool(GetConVarNumber("cl_hud_radar")) then
- local x, y = 12, 12
- local w, h = 188, 188
- draw.RoundedBox(4, 6, 6, 200, 200, Color(0, 0, 0, 200))
- local CamData = {}
- CamData.angles = Angle(90, LocalPlayer():EyeAngles().yaw, 0)
- CamData.origin = Vector(LocalPlayer():GetPos().X, LocalPlayer():GetPos().Y, LocalPlayer():GetPos().Z + 750)
- CamData.x = x
- CamData.fov = 90
- CamData.y = y
- CamData.drawviewmodel = false
- CamData.drawviewer = false
- CamData.w = w
- CamData.h = h
- render.RenderView(CamData)
- local me_radar = Material("icon16/bullet_yellow.png")
- surface.SetMaterial(me_radar)
- surface.SetDrawColor(255, 255, 255, 255)
- surface.DrawTexturedRect(x + w / 2 - 8, y + h / 2 - 8, 16, 16)
- end
- draw.RoundedBox(4, 0, ScrH() - 56, 614, 56, Color(0, 0, 0, 150))
- draw.RoundedBox(0, 107, ScrH() - 28, 200, 12, Color(0, 0, 0, 225))
- draw.RoundedBox(0, 382, ScrH() - 28, 200, 12, Color(0, 0, 0, 225))
- draw.RoundedBox(0, 107, ScrH() - 28, math.Clamp(HP, 0, 100) * 2, 12, Color(244, 244, 164, 125))
- draw.RoundedBox(0, 382, ScrH() - 28, math.Clamp(AR, 0, 100) * 2, 12, Color(244, 244, 164, 125))
- surface.SetTextColor(255, 255, 125, 255)
- surface.SetTextPos(32, ScrH() - 40)
- surface.SetFont("MainFont")
- surface.DrawText("+"..HP)
- surface.SetTextColor(255, 255, 125, 255)
- surface.SetTextPos(307, ScrH() - 40)
- surface.SetFont("MainFont")
- surface.DrawText("&"..AR)
- if ammo_clip != -1 then
- draw.RoundedBox(4, ScrW() - 264, ScrH() - 56, 264, 56, Color(0, 0, 0, 150))
- surface.SetTextColor(255, 255, 125, 255)
- surface.SetTextPos(ScrW() - 181, ScrH() - 55)
- surface.SetFont("MainFont")
- surface.DrawText(ammo_clip.." / "..ammo_inv)
- surface.SetDrawColor(0, 0, 0, 225)
- surface.DrawRect(ScrW() - 232, ScrH() - 28, 200, 12)
- surface.SetDrawColor(244, 244, 164, 125)
- surface.DrawRect(ScrW() - 232, ScrH() - 28, 200 * (ammo_clip / ammo_max), 12)
- end
- if !tobool(GetConVarNumber("cl_crosshair")) then
- if !LocalPlayer():KeyDown(IN_ATTACK2) and !LocalPlayer():KeyDown(IN_SPEED) then
- if LocalPlayer():KeyDown(IN_FORWARD) or LocalPlayer():KeyDown(IN_BACK) or LocalPlayer():KeyDown(IN_MOVELEFT) or LocalPlayer():KeyDown(IN_MOVERIGHT) then
- surface.SetDrawColor(acolor)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 30, ScrW()/2 - 1, ScrH()/2 - 24)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 + 30, ScrW()/2 - 1, ScrH()/2 + 24)
- surface.DrawLine(ScrW()/2 - 33, ScrH()/2, ScrW()/2 - 27, ScrH()/2)
- surface.DrawLine(ScrW()/2 + 31, ScrH()/2, ScrW()/2 + 25, ScrH()/2)
- surface.SetDrawColor(0, 0, 0, 225)
- surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 31, 3, 9)
- surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 + 23, 3, 9)
- surface.DrawOutlinedRect(ScrW()/2 - 34, ScrH()/2 - 1, 9, 3)
- surface.DrawOutlinedRect(ScrW()/2 + 24, ScrH()/2 - 1, 9, 3)
- else
- surface.SetDrawColor(acolor)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 14, ScrW()/2 - 1, ScrH()/2 - 8)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 + 14, ScrW()/2 - 1, ScrH()/2 + 8)
- surface.DrawLine(ScrW()/2 - 17, ScrH()/2, ScrW()/2 - 11, ScrH()/2)
- surface.DrawLine(ScrW()/2 + 15, ScrH()/2, ScrW()/2 + 9, ScrH()/2)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2, ScrW()/2, ScrH()/2)
- surface.SetDrawColor(0, 0, 0, 225)
- surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 15, 3, 9)
- surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 + 7, 3, 9)
- surface.DrawOutlinedRect(ScrW()/2 - 18, ScrH()/2 - 1, 9, 3)
- surface.DrawOutlinedRect(ScrW()/2 + 8, ScrH()/2 - 1, 9, 3)
- surface.DrawOutlinedRect(ScrW()/2 - 2, ScrH()/2 - 1, 3, 3)
- end
- end
- end
- end
- end
- hook.Add("HUDPaint", "CAHUD", CAHUD)
- concommand.Add("cl_getadmins", function()
- for k, v in pairs(player.GetAll()) do
- if v:IsPlayer() and v != nil then
- 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
- chat.AddText(Color(255, 120, 0), "Name: "..v:Nick().." Rank: "..v:GetUserGroup())
- end
- end
- end
- end)
- CreateClientConVar("cl_esp", 0, true, false)
- CreateClientConVar("cl_esp_showteams", 0, true, false)
- CreateClientConVar("cl_esp_weapons", 0, true, false)
- CreateClientConVar("cl_esp_showfriends", 0, true, false)
- CreateClientConVar("cl_esp_distance", 0, true, false)
- CreateClientConVar("cl_esp_drawplayer", 0, true, false)
- CreateClientConVar("cl_drp_teams", 0, true, false)
- CreateClientConVar("cl_tracers", 0, true, false)
- CreateClientConVar("cl_mu_ents", 0, true, false)
- CreateClientConVar("cl_ttt_ents", 0, true, false)
- local function coordinates(ent)
- local min, max = ent:OBBMins(), ent:OBBMaxs()
- local corners = {
- Vector(min.x, min.y, min.z),
- Vector(min.x, min.y, max.z),
- Vector(min.x, max.y, min.z),
- Vector(min.x, max.y, max.z),
- Vector(max.x, min.y, min.z),
- Vector(max.x, min.y, max.z),
- Vector(max.x, max.y, min.z),
- Vector(max.x, max.y, max.z)
- }
- local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
- for _, corner in pairs(corners) do
- local onScreen = ent:LocalToWorld(corner):ToScreen()
- minX, minY = math.min(minX, onScreen.x), math.min(minY, onScreen.y)
- maxX, maxY = math.max(maxX, onScreen.x), math.max(maxY, onScreen.y)
- end
- return minX, minY, maxX, maxY
- end
- local function cl_esp()
- if tobool(GetConVarNumber("cl_esp")) then
- for k, v in pairs(player.GetAll()) do
- if(v != LocalPlayer() and v:Alive() and (v:Health() > 0) and v:IsPlayer()) then
- local pos = (v:GetShootPos() + Vector(0, 0, 30)):ToScreen()
- local plyhp = v:Health()
- local plyam = v:Armor()
- local plynick = v:Nick()
- local weapon = v:GetActiveWeapon()
- local distance = v:GetPos():Distance(LocalPlayer():GetPos())
- local distance = math.Round(distance)
- local group = v:GetUserGroup()
- if weapon and weapon.GetPrintName then
- weapon = weapon:GetPrintName() or "none"
- else
- weapon = "none"
- end
- if v:Team() != TEAM_SPECTATOR and specs != 1 then
- if(distance <= escale) then
- local x1, y1, x2, y2 = coordinates(v)
- surface.SetDrawColor(dpcolor)
- surface.DrawLine(x1, y1, math.min(x1 + 5, x2), y1)
- surface.DrawLine(x1, y1, x1, math.min(y1 + 5, y2))
- surface.DrawLine(x2, y1, math.max(x2 - 5, x1), y1)
- surface.DrawLine(x2, y1, x2, math.min(y1 + 5, y2))
- surface.DrawLine(x1, y2, math.min(x1 + 5, x2), y2)
- surface.DrawLine(x1, y2, x1, math.max(y2 - 5, y1))
- surface.DrawLine(x2, y2, math.max(x2 - 5, x1), y2)
- surface.DrawLine(x2, y2, x2, math.max(y2 - 5, y1))
- draw.SimpleTextOutlined("Name: "..plynick, "Default", pos.x, pos.y, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
- draw.SimpleTextOutlined("Health: "..plyhp, "Default", pos.x, pos.y + 15, Color(255, 0, 0, 255), 1, 1, 1, Color(255, 255, 255, 255))
- draw.SimpleTextOutlined("Armor: "..plyam, "Default", pos.x, pos.y + 30, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
- if tobool(GetConVarNumber("cl_esp_showteams")) then
- draw.SimpleTextOutlined("Rank: "..group, "Default", pos.x, pos.y + 45, gcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_weapons")) and v:Alive() then
- draw.SimpleTextOutlined("Weapon: "..weapon, "Default", pos.x, pos.y + 60, wepcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_showfriends")) then
- if v:GetFriendStatus() == "friend" then
- draw.SimpleTextOutlined("Steam Friend", "Default", pos.x, pos.y - 15, fndcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- end
- if tobool(GetConVarNumber("cl_esp_distance")) then
- draw.SimpleTextOutlined("Distance: "..distance.." ft.", "Default", pos.x, pos.y + 75, distcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_drawplayer")) and !cl_assistant.Visible(v) then
- cam.Start3D()
- local col = dpcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- if tobool(GetConVarNumber("cl_drp_teams")) and drpesp64 == 1 then
- draw.SimpleTextOutlined("Team: "..team.GetName(v:Team()), "Default", pos.x, pos.y + 90, rpcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_tracers")) then
- local pos3 = (v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1"))):ToScreen()
- if(v:GetFriendStatus() == "friend") then
- surface.SetDrawColor(0, 0, 255)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
- end
- if(v:GetFriendStatus() == "none") then
- surface.SetDrawColor(255, 0, 0)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
- end
- end
- if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
- if v:HasWeapon("weapon_mu_magnum") then
- draw.SimpleTextOutlined("Bystander with a gun", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if v:HasWeapon("weapon_mu_knife") then
- draw.SimpleTextOutlined("Murderer", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if !v:HasWeapon("weapon_mu_knife") and !v:HasWeapon("weapon_mu_magnum") then
- draw.SimpleTextOutlined("Bystander", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- end
- if tobool(GetConVarNumber("cl_ttt_ents")) and tttespspecs == 1 then
- 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"
- ttt_d_weps = "AMMO_BINOCULARS" or "AMMO_CSE" or "AMMO_DEFUSER" or "AMMO_HEALTHSTATION" or "AMMO_STUN" or "AMMO_WTESTER"
- end
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs == 1 then
- if(distance <= escale) then
- local x1, y1, x2, y2 = coordinates(v)
- surface.SetDrawColor(dpcolor)
- surface.DrawLine(x1, y1, math.min(x1 + 5, x2), y1)
- surface.DrawLine(x1, y1, x1, math.min(y1 + 5, y2))
- surface.DrawLine(x2, y1, math.max(x2 - 5, x1), y1)
- surface.DrawLine(x2, y1, x2, math.min(y1 + 5, y2))
- surface.DrawLine(x1, y2, math.min(x1 + 5, x2), y2)
- surface.DrawLine(x1, y2, x1, math.max(y2 - 5, y1))
- surface.DrawLine(x2, y2, math.max(x2 - 5, x1), y2)
- surface.DrawLine(x2, y2, x2, math.max(y2 - 5, y1))
- draw.SimpleTextOutlined("Name: "..plynick, "Default", pos.x, pos.y, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
- draw.SimpleTextOutlined("Health: "..plyhp, "Default", pos.x, pos.y + 15, Color(255, 0, 0, 255), 1, 1, 1, Color(255, 255, 255, 255))
- draw.SimpleTextOutlined("Armor: "..plyam, "Default", pos.x, pos.y + 30, Color(36, 36, 36, 255), 1, 1, 1, Color(255, 255, 255, 255))
- if tobool(GetConVarNumber("cl_esp_showteams")) then
- draw.SimpleTextOutlined("Rank: "..group, "Default", pos.x, pos.y + 45, gcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_weapons")) and v:Alive() then
- draw.SimpleTextOutlined("Weapon: "..weapon, "Default", pos.x, pos.y + 60, wepcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_showfriends")) then
- if v:GetFriendStatus() == "friend" then
- draw.SimpleTextOutlined("Steam Friend", "Default", pos.x, pos.y - 15, fndcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- end
- if tobool(GetConVarNumber("cl_esp_distance")) then
- draw.SimpleTextOutlined("Distance: "..distance.." ft.", "Default", pos.x, pos.y + 75, distcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_esp_drawplayer")) and !cl_assistant.Visible(v) then
- cam.Start3D()
- local col = dpcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- if tobool(GetConVarNumber("cl_drp_teams")) and drpesp64 == 1 then
- draw.SimpleTextOutlined("Team: "..team.GetName(v:Team()), "Default", pos.x, pos.y + 90, rpcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if tobool(GetConVarNumber("cl_tracers")) then
- local pos3 = (v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1"))):ToScreen()
- if(v:GetFriendStatus() == "friend") then
- surface.SetDrawColor(0, 0, 255)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
- end
- if(v:GetFriendStatus() == "none") then
- surface.SetDrawColor(255, 0, 0)
- surface.DrawLine(ScrW()/2 - 1, ScrH()/2 - 1, pos3.x, pos3.y)
- end
- end
- if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
- if v:HasWeapon("weapon_mu_magnum") then
- draw.SimpleTextOutlined("Bystander with a gun", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if v:HasWeapon("weapon_mu_knife") then
- draw.SimpleTextOutlined("Murderer", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- if !v:HasWeapon("weapon_mu_knife") and !v:HasWeapon("weapon_mu_magnum") then
- draw.SimpleTextOutlined("Bystander", "Default", pos.x, pos.y + 90, murcolor, 1, 1, 1, Color(255, 255, 255, 255))
- end
- end
- if tobool(GetConVarNumber("cl_ttt_ents")) and tttespspecs == 1 then
- 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"
- ttt_d_weps = "AMMO_BINOCULARS" or "AMMO_CSE" or "AMMO_DEFUSER" or "AMMO_HEALTHSTATION" or "AMMO_STUN" or "AMMO_WTESTER"
- end
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs != 1 then
- v = nil
- end
- end
- end
- end
- end
- end
- end
- hook.Add("HUDPaint", "cl_esp", cl_esp)
- CreateClientConVar("cl_ateams", 0, true, false)
- local function cl_ateams()
- if tobool(GetConVarNumber("cl_ateams")) then
- ateams = 1
- else
- ateams = 0
- end
- end
- hook.Add("Think", "cl_ateams", cl_ateams)
- local function cl_mu_entities_2()
- if tobool(GetConVarNumber("cl_mu_ents")) and mu == 1 then
- for k, v in pairs(ents.GetAll()) do
- if v:GetClass() == "weapon_mu_knife" then
- cam.Start3D()
- local col = dpcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- if v:GetClass() == "weapon_mu_magnum" then
- cam.Start3D()
- local col = dpcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- if v:GetClass() == "mu_loot" then
- cam.Start3D()
- local col = dpcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- end
- end
- end
- hook.Add("HUDPaint", "cl_mu_entities_2", cl_mu_entities_2)
- CreateClientConVar("cl_esp_drpents", 0, true, false)
- local function cl_esp_drpents()
- if tobool(GetConVarNumber("cl_esp_drpents")) then
- for k, v in pairs(ents.GetAll()) do
- 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
- cam.Start3D()
- local col = mcolor
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting(true)
- render.SetColorModulation(col.r/255, col.g/255, col.b/255)
- v:DrawModel()
- render.SetColorModulation(1, 1, 1)
- render.SuppressEngineLighting(false)
- render.MaterialOverride(0)
- cam.IgnoreZ(false)
- cam.End3D()
- end
- end
- end
- end
- hook.Add("HUDPaint", "cl_esp_drpents", cl_esp_drpents)
- function cl_assistant.GetShootPos(ent)
- local eyes = ent:LookupAttachment("eyes");
- if(eyes != 0) then
- eyes = ent:GetAttachment(eyes);
- if(eyes and eyes.Pos) then
- return eyes.Pos, eyes.Ang;
- end
- end
- end
- function cl_assistant.Visible(ent)
- local pos = LocalPlayer():GetShootPos()
- local ang = LocalPlayer():GetAimVector()
- local trace = {start = LocalPlayer():GetShootPos(), endpos = cl_assistant.GetShootPos(ent), filter = {LocalPlayer(), ent}, mask = 1174421507};
- local tr = util.TraceLine(trace);
- return(tr.Fraction == 1);
- end
- CreateClientConVar("cl_bhop", 0, true, false)
- local function cl_bhop()
- if tobool(GetConVarNumber("cl_bhop")) then
- if LocalPlayer():IsOnGround() and input.IsKeyDown(KEY_SPACE) then
- RunConsoleCommand("+jump")
- else
- RunConsoleCommand("-jump")
- end
- end
- end
- hook.Add("CreateMove", "cl_bhop", cl_bhop)
- CreateClientConVar("cl_easypropkill", 0, true, false)
- local function cl_easypropkill(cmd)
- if tobool(GetConVarNumber("cl_easypropkill")) then
- if cl_assistant.KeyPressed(cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString()) then
- cmd:SetMouseWheel(1)
- end
- end
- end
- hook.Add("CreateMove", "cl_easypropkill", cl_easypropkill)
- CreateClientConVar("cl_servercrash", 0, true, false)
- local function cl_servercrash(cmd)
- if tobool(GetConVarNumber("cl_servercrash")) then
- if cl_assistant.KeyPressed(cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString()) then
- LocalPlayer():ConCommand("gm_spawn "..propspam)
- end
- end
- end
- hook.Add("CreateMove", "cl_servercrash", cl_servercrash)
- CreateClientConVar("cl_norecoil", 0, true, false)
- local function cl_norecoil()
- if tobool(GetConVarNumber("cl_norecoil")) then
- weapon = LocalPlayer():GetActiveWeapon()
- if !IsValid(weapon) then
- return
- end
- if weapon.Primary then
- if weapon.Primary.Recoil then
- weapon.Primary.Recoil = 0
- end
- if weapon.Primary.IronAccuracy then
- weapon.Primary.IronAccuracy = 0
- weapon.IronAccuracy = 0
- end
- if weapon.Primary.KickUp then
- weapon.Primary.KickUp = 0
- weapon.Primary.KickDown = 0
- weapon.Primary.KickHorizontal = 0
- end
- end
- end
- end
- hook.Add("Think", "cl_norecoil", cl_norecoil)
- CreateClientConVar("cl_nospread", 0, true, false)
- local function cl_nospread()
- if tobool(GetConVarNumber("cl_nospread")) then
- weapon = LocalPlayer():GetActiveWeapon()
- if !IsValid(weapon) then
- return
- end
- if weapon.Primary then
- if weapon.Primary.Spread then
- weapon.Primary.Spread = 0
- end
- if weapon.Primary.Cone then
- weapon.Primary.Cone = 0
- end
- end
- end
- end
- hook.Add("Think", "cl_nospread", cl_nospread)
- CreateClientConVar("cl_aimbot_friendsnotarget", 0, true, false)
- local function cl_aimbot_friendsnotarget()
- if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
- asfriends = 1
- else
- asfriends = 0
- end
- end
- hook.Add("Think", "cl_aimbot_friendsnotarget", cl_aimbot_friendsnotarget)
- local attacking = false
- CreateClientConVar("cl_autofire", 0, true, false)
- local function cl_autofire(cmd)
- if tobool(GetConVarNumber("cl_autofire")) then
- if !input.IsMouseDown(MOUSE_LEFT) then return end
- attacking = !attacking
- if attacking then
- cmd:SetButtons(IN_ATTACK)
- else
- cmd:SetButtons(0)
- end
- end
- end
- hook.Add("CreateMove", "cl_autofire", cl_autofire)
- CreateClientConVar("cl_speed", 0, true, false)
- local function cl_speed()
- if(tobool(GetConVarNumber("cl_speed")) and cl_assistant.KeyPressed(cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString())) then
- LocalPlayer():ConCommand("host_framerate "..sscale)
- LocalPlayer():ConCommand("rate 25000")
- LocalPlayer():ConCommand("cl_cmdrate 66")
- LocalPlayer():ConCommand("cl_updaterate 66")
- else
- LocalPlayer():ConCommand("host_framerate 0")
- LocalPlayer():ConCommand("rate 100000")
- LocalPlayer():ConCommand("cl_cmdrate 30")
- LocalPlayer():ConCommand("cl_updaterate 30")
- end
- end
- hook.Add("Think", "cl_speed", cl_speed)
- CreateClientConVar("cl_ttt_spectatorstarget", 0, true, false)
- local function cl_ttt_spectatorstarget()
- if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) and tttespspecs == 1 then
- specs = 1
- else
- specs = 0
- end
- end
- hook.Add("Think", "cl_ttt_spectatorstarget", cl_ttt_spectatorstarget)
- hitsounds = {"player/headshot1.wav", "player/headshot2.wav", "player/kevlar1.wav", "player/kevlar2.wav", "player/kevlar3.wav", "player/kevlar4.wav", "player/kevlar5.wav"}
- CreateClientConVar("cl_hitmarkers", 0, true, false)
- local function cl_hitmarkers(ply, hitgroup, dmginfo)
- if tobool(GetConVarNumber("cl_hitmarkers")) and hud == 1 then
- if dmginfo:GetAttacker():IsPlayer() and dmginfo:GetAttacker() == LocalPlayer() then
- LocalPlayer():ConCommand("cl_drawmark 1")
- timer.Simple(0.83, function() LocalPlayer():ConCommand("cl_drawmark 0") end)
- hitsnd = table.Random(hitsounds)
- timer.Simple(0.1, function() surface.PlaySound(hitsnd) end)
- end
- end
- end
- hook.Add("ScalePlayerDamage", "cl_hitmarkers", cl_hitmarkers)
- CreateClientConVar("cl_drawmark", 0, false, false)
- local function cl_drawmark()
- if tobool(GetConVarNumber("cl_drawmark")) and hud == 1 and tobool(GetConVarNumber("cl_hitmarkers")) then
- surface.SetDrawColor(Color(244, 244, 164, 225))
- surface.DrawLine(ScrW()/2 - 12, ScrH()/2 - 12, ScrW()/2 - 6, ScrH()/2 - 6)
- surface.DrawLine(ScrW()/2 + 12, ScrH()/2 + 12, ScrW()/2 + 6, ScrH()/2 + 6)
- surface.DrawLine(ScrW()/2 - 12, ScrH()/2 + 12, ScrW()/2 - 6, ScrH()/2 + 6)
- surface.DrawLine(ScrW()/2 + 12, ScrH()/2 - 12, ScrW()/2 + 6, ScrH()/2 - 6)
- end
- end
- hook.Add("HUDPaint", "cl_drawmark", cl_drawmark)
- CreateClientConVar("cl_aim_prop", 0, true, false)
- local function cl_aim_prop()
- if tobool(GetConVarNumber("cl_aim_prop")) and prophunt == 1 then
- aimprop = 1
- else
- aimprop = 0
- end
- end
- hook.Add("Think", "cl_aim_prop", cl_aim_prop)
- concommand.Add("cl_menu_color", function()
- local basesp = vgui.Create("DFrame")
- local tcopy1 = vgui.Create("DLabel")
- tcopy1:SetParent(basesp)
- tcopy1:SetText("Copyright © ApolloGaming and ClassifiedGamingUS")
- tcopy1:SetWide(256)
- tcopy1:SetColor(mcolor)
- tcopy1:SetPos(108, 376)
- basesp:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
- basesp:SetSize(600, 400)
- basesp:SetVisible(true)
- basesp:SetTitle("Client Assistant Color Menu")
- basesp:SetDraggable(true)
- basesp:ShowCloseButton(false)
- basesp:MakePopup()
- local bex1 = vgui.Create("DButton")
- bex1:SetParent(basesp)
- bex1:SetPos(576, 0)
- bex1:SetSize(24, 24)
- bex1:SetText("X")
- bex1:SetColor(mcolor)
- bex1.DoClick = function()
- basesp:Close()
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local back = vgui.Create("DButton")
- back:SetParent(basesp)
- back:SetPos(536, 0)
- back:SetSize(34, 24)
- back:SetText("<<")
- back:SetColor(mcolor)
- back.DoClick = function()
- basesp:Close()
- LocalPlayer():ConCommand("cl_menu")
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- function bex1:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- function back:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- function basesp:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local pbase = vgui.Create("DScrollPanel")
- pbase:SetParent(basesp)
- pbase:SetSize(552, 328)
- pbase:SetPos(24, 48)
- function pbase:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local tdp = vgui.Create("DLabel")
- tdp:SetParent(pbase)
- tdp:SetText("Draw Player-ESP")
- tdp:SetWide(96)
- tdp:SetPos(12, 6)
- local mixer_dp = vgui.Create("DRGBPicker")
- mixer_dp:SetPos(12, 30)
- mixer_dp:SetSize(48, 96)
- mixer_dp:SetParent(pbase)
- mixer_dp.OnChange = function()
- cdpcolor = mixer_dp:GetRGB()
- mixer_dp:SetRGB(cdpcolor)
- if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_dpcolor.txt")
- dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
- file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
- dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
- else
- dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
- file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
- dpcolor = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
- end
- end
- local res1 = vgui.Create("DButton")
- res1:SetParent(pbase)
- function res1:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res1:SetText("Reset")
- res1:SetColor(Color(255, 255, 255))
- res1:SetSize(48, 24)
- res1:SetPos(12, 132)
- res1.DoClick = function()
- cdpcolor = Color(0, 255, 27)
- if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_dpcolor.txt")
- dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
- file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
- dpcolor = string.ToColor(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
- else
- dpcolor1 = Color(cdpcolor.r, cdpcolor.g, cdpcolor.b)
- file.Write("cl_settings/cl_dpcolor.txt", tostring(dpcolor1))
- dpcolor = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
- end
- end
- local tgrp = vgui.Create("DLabel")
- tgrp:SetParent(pbase)
- tgrp:SetText("Group-ESP")
- tgrp:SetWide(96)
- tgrp:SetPos(108, 6)
- local mixer_grp = vgui.Create("DRGBPicker")
- mixer_grp:SetPos(108, 30)
- mixer_grp:SetSize(48, 96)
- mixer_grp:SetParent(pbase)
- mixer_grp.OnChange = function()
- cgcolor = mixer_grp:GetRGB()
- mixer_grp:SetRGB(cgcolor)
- if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_gcolor.txt")
- gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
- file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
- gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
- else
- gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
- file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
- gcolor = file.Read("cl_settings/cl_gcolor.txt", "DATA")
- end
- end
- local res2 = vgui.Create("DButton")
- res2:SetParent(pbase)
- function res2:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res2:SetText("Reset")
- res2:SetColor(Color(255, 255, 255))
- res2:SetSize(48, 24)
- res2:SetPos(108, 132)
- res2.DoClick = function()
- cgcolor = Color(220, 0, 255)
- if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_gcolor.txt")
- gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
- file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
- gcolor = string.ToColor(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
- else
- gcolor1 = Color(cgcolor.r, cgcolor.g, cgcolor.b)
- file.Write("cl_settings/cl_gcolor.txt", tostring(gcolor1))
- gcolor = file.Read("cl_settings/cl_gcolor.txt", "DATA")
- end
- end
- local tef = vgui.Create("DLabel")
- tef:SetParent(pbase)
- tef:SetText("Friends-ESP")
- tef:SetWide(204)
- tef:SetPos(204, 6)
- local mixer_ef = vgui.Create("DRGBPicker")
- mixer_ef:SetPos(204, 30)
- mixer_ef:SetSize(48, 96)
- mixer_ef:SetParent(pbase)
- mixer_ef.OnChange = function()
- cfcolor = mixer_ef:GetRGB()
- mixer_ef:SetRGB(cfcolor)
- if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_fndcolor.txt")
- fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
- file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
- fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
- else
- fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
- file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
- fndcolor = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
- end
- end
- local res3 = vgui.Create("DButton")
- res3:SetParent(pbase)
- function res3:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res3:SetText("Reset")
- res3:SetColor(Color(255, 255, 255))
- res3:SetSize(48, 24)
- res3:SetPos(204, 132)
- res3.DoClick = function()
- cfcolor = Color(0, 127, 31)
- if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_fndcolor.txt")
- fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
- file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
- fndcolor = string.ToColor(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
- else
- fndcolor1 = Color(cfcolor.r, cfcolor.g, cfcolor.b)
- file.Write("cl_settings/cl_fndcolor.txt", tostring(fndcolor1))
- fndcolor = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
- end
- end
- local tdis = vgui.Create("DLabel")
- tdis:SetParent(pbase)
- tdis:SetText("Distance-ESP")
- tdis:SetWide(96)
- tdis:SetPos(300, 6)
- local mixer_dis = vgui.Create("DRGBPicker")
- mixer_dis:SetPos(300, 30)
- mixer_dis:SetSize(48, 96)
- mixer_dis:SetParent(pbase)
- mixer_dis.OnChange = function()
- cdiscolor = mixer_dis:GetRGB()
- mixer_dis:SetRGB(cdiscolor)
- if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_distcolor.txt")
- distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
- file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
- distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
- else
- distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
- file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
- distcolor = file.Read("cl_settings/cl_distcolor.txt", "DATA")
- end
- end
- local res4 = vgui.Create("DButton")
- res4:SetParent(pbase)
- function res4:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res4:SetText("Reset")
- res4:SetColor(Color(255, 255, 255))
- res4:SetSize(48, 24)
- res4:SetPos(300, 132)
- res4.DoClick = function()
- cdiscolor = Color(0, 63, 255)
- if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_distcolor.txt")
- distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
- file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
- distcolor = string.ToColor(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
- else
- distcolor1 = Color(cdiscolor.r, cdiscolor.g, cdiscolor.b)
- file.Write("cl_settings/cl_distcolor.txt", tostring(distcolor1))
- distcolor = file.Read("cl_settings/cl_distcolor.txt", "DATA")
- end
- end
- local tdrpt = vgui.Create("DLabel")
- tdrpt:SetParent(pbase)
- tdrpt:SetText("DarkRP-ESP")
- tdrpt:SetWide(96)
- tdrpt:SetPos(396, 6)
- local drpt = vgui.Create("DRGBPicker")
- drpt:SetPos(396, 30)
- drpt:SetSize(48, 96)
- drpt:SetParent(pbase)
- drpt.OnChange = function()
- cdrptcolor = drpt:GetRGB()
- drpt:SetRGB(cdrptcolor)
- if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_rpcolor.txt")
- rpcolor1 = Color(cdrptcolor.r, cdrptcolor.g, cdrptcolor.b)
- file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
- rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
- else
- rpcolor1 = Color(cdrptcolor.r, cdrptcolor.g, cdrptcolor.b)
- file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
- rpcolor = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
- end
- end
- local res5 = vgui.Create("DButton")
- res5:SetParent(pbase)
- function res5:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res5:SetText("Reset")
- res5:SetColor(Color(255, 255, 255))
- res5:SetSize(48, 24)
- res5:SetPos(396, 132)
- res5.DoClick = function()
- crptcolor = Color(127, 0, 255)
- if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_rpcolor.txt")
- rpcolor1 = Color(crptcolor.r, crptcolor.g, crptcolor.b)
- file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
- rpcolor = string.ToColor(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
- else
- rpcolor1 = Color(crptcolor.r, crptcolor.g, crptcolor.b)
- file.Write("cl_settings/cl_rpcolor.txt", tostring(rpcolor1))
- rpcolor = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
- end
- end
- local tmur = vgui.Create("DLabel")
- tmur:SetParent(pbase)
- tmur:SetText("Murder-ESP")
- tmur:SetWide(96)
- tmur:SetPos(204, 166)
- local mixer_mur = vgui.Create("DRGBPicker")
- mixer_mur:SetPos(204, 196)
- mixer_mur:SetSize(48, 96)
- mixer_mur:SetParent(pbase)
- mixer_mur.OnChange = function()
- cmurcolor = mixer_mur:GetRGB()
- mixer_mur:SetRGB(cmurcolor)
- if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_murcolor.txt")
- murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
- file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
- murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
- else
- murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
- file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
- murcolor = file.Read("cl_settings/cl_murcolor.txt", "DATA")
- end
- end
- local res6 = vgui.Create("DButton")
- res6:SetParent(pbase)
- function res6:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res6:SetText("Reset")
- res6:SetColor(Color(255, 255, 255))
- res6:SetSize(48, 24)
- res6:SetPos(204, 298)
- res6.DoClick = function()
- cmurcolor = Color(127, 0, 255)
- if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_murcolor.txt")
- murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
- file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
- murcolor = string.ToColor(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
- else
- murcolor1 = Color(cmurcolor.r, cmurcolor.g, cmurcolor.b)
- file.Write("cl_settings/cl_murcolor.txt", tostring(murcolor1))
- murcolor = file.Read("cl_settings/cl_murcolor.txt", "DATA")
- end
- end
- local twep = vgui.Create("DLabel")
- twep:SetParent(pbase)
- twep:SetText("WEP-ESP")
- twep:SetWide(96)
- twep:SetPos(12, 166)
- local mixer_wep = vgui.Create("DRGBPicker")
- mixer_wep:SetPos(12, 196)
- mixer_wep:SetSize(48, 96)
- mixer_wep:SetParent(pbase)
- mixer_wep.OnChange = function()
- cwepcolor = mixer_wep:GetRGB()
- mixer_wep:SetRGB(cwepcolor)
- if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_wepcolor.txt")
- wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
- file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
- wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
- else
- wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
- file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
- wepcolor = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
- end
- end
- local res7 = vgui.Create("DButton")
- res7:SetParent(pbase)
- function res7:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res7:SetText("Reset")
- res7:SetColor(Color(255, 255, 255))
- res7:SetSize(48, 24)
- res7:SetPos(12, 298)
- res7.DoClick = function()
- cwepcolor = Color(255, 93, 0)
- if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_wepcolor.txt")
- wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
- file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
- wepcolor = string.ToColor(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
- else
- wepcolor1 = Color(cwepcolor.r, cwepcolor.g, cwepcolor.b)
- file.Write("cl_settings/cl_wepcolor.txt", tostring(wepcolor1))
- wepcolor = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
- end
- end
- local t33 = vgui.Create("DLabel")
- t33:SetParent(pbase)
- t33:SetText("Crosshair")
- t33:SetWide(96)
- t33:SetPos(108, 166)
- local Mixer2 = vgui.Create("DRGBPicker")
- Mixer2:SetPos(108, 196)
- Mixer2:SetSize(48, 96)
- Mixer2:SetParent(pbase)
- Mixer2.OnChange = function()
- ccolor = Mixer2:GetRGB()
- Mixer2:SetRGB(ccolor)
- if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
- file.Delete("cl_settings/cl_ccolor.txt")
- scolor = Color(ccolor.r, ccolor.g, ccolor.b)
- file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
- acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
- else
- scolor = Color(ccolor.r, ccolor.g, ccolor.b)
- file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
- acolor = file.Read("cl_settings/cl_ccolor.txt", "DATA")
- end
- end
- local res8 = vgui.Create("DButton")
- res8:SetParent(pbase)
- function res8:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- res8:SetText("Reset")
- res8:SetColor(Color(255, 255, 255))
- res8:SetSize(48, 24)
- res8:SetPos(108, 298)
- res8.DoClick = function()
- ccolor = Color(182, 182, 182)
- if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
- file.Delete("cl_settings/cl_ccolor.txt")
- scolor = Color(ccolor.r, ccolor.g, ccolor.b)
- file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
- acolor = string.ToColor(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
- else
- scolor = Color(ccolor.r, ccolor.g, ccolor.b)
- file.Write("cl_settings/cl_ccolor.txt", tostring(scolor))
- acolor = file.Read("cl_settings/cl_ccolor.txt", "DATA")
- end
- end
- local tmc = vgui.Create("DLabel")
- tmc:SetParent(pbase)
- tmc:SetText("Type the RGBA, Example: 255 255 255 255")
- tmc:SetWide(496)
- tmc:SetPos(6, 356)
- local tmc = vgui.Create("DLabel")
- tmc:SetParent(pbase)
- tmc:SetText("Crosshair")
- tmc:SetWide(96)
- tmc:SetPos(6, 400)
- local TextEntry18 = vgui.Create("DTextEntry")
- TextEntry18:SetParent(pbase)
- TextEntry18:SetText(file.Read("cl_settings/cl_ccolor.txt", "DATA"))
- TextEntry18:SetPos(131, 400)
- TextEntry18:SetTall(24)
- TextEntry18:SetWide(200)
- TextEntry18:SetEnterAllowed(true)
- TextEntry18.OnEnter = function()
- tmc = TextEntry18:GetValue()
- acolor = string.ToColor(TextEntry18:GetValue())
- if file.Exists("cl_settings/cl_ccolor.txt", "DATA") then
- file.Delete("cl_settings/cl_ccolor.txt")
- file.Write("cl_settings/cl_ccolor.txt", tmc)
- tmc = file.Read("cl_settings/cl_ccolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_ccolor.txt", tmc)
- tmc = file.Read("cl_settings/cl_ccolor.txt", "DATA")
- end
- end
- local twe = vgui.Create("DLabel")
- twe:SetParent(pbase)
- twe:SetText("WEP-ESP")
- twe:SetWide(96)
- twe:SetPos(6, 444)
- local TextEntry1258 = vgui.Create("DTextEntry")
- TextEntry1258:SetParent(pbase)
- TextEntry1258:SetPos(131, 444)
- TextEntry1258:SetText(file.Read("cl_settings/cl_wepcolor.txt", "DATA"))
- TextEntry1258:SetTall(24)
- TextEntry1258:SetWide(200)
- TextEntry1258:SetEnterAllowed(true)
- TextEntry1258.OnEnter = function()
- twe = TextEntry1258:GetValue()
- wepcolor = string.ToColor(TextEntry1258:GetValue())
- if file.Exists("cl_settings/cl_wepcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_wepcolor.txt")
- file.Write("cl_settings/cl_wepcolor.txt", twe)
- twe = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_wepcolor.txt", twe)
- twe = file.Read("cl_settings/cl_wepcolor.txt", "DATA")
- end
- end
- local tme = vgui.Create("DLabel")
- tme:SetParent(pbase)
- tme:SetText("Murder-ESP")
- tme:SetWide(96)
- tme:SetPos(6, 488)
- local TextEntry815 = vgui.Create("DTextEntry")
- TextEntry815:SetParent(pbase)
- TextEntry815:SetPos(131, 488)
- TextEntry815:SetTall(24)
- TextEntry815:SetWide(200)
- TextEntry815:SetText(file.Read("cl_settings/cl_murcolor.txt", "DATA"))
- TextEntry815:SetEnterAllowed(true)
- TextEntry815.OnEnter = function()
- tme = TextEntry815:GetValue()
- murcolor = string.ToColor(TextEntry815:GetValue())
- if file.Exists("cl_settings/cl_murcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_murcolor.txt")
- file.Write("cl_settings/cl_murcolor.txt", tme)
- tme = file.Read("cl_settings/cl_murcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_murcolor.txt", tme)
- tme = file.Read("cl_settings/cl_murcolor.txt", "DATA")
- end
- end
- local tdrpe = vgui.Create("DLabel")
- tdrpe:SetParent(pbase)
- tdrpe:SetText("DarkRP-ESP")
- tdrpe:SetWide(96)
- tdrpe:SetPos(6, 532)
- local TextEntry88= vgui.Create("DTextEntry")
- TextEntry88:SetParent(pbase)
- TextEntry88:SetPos(131, 532)
- TextEntry88:SetTall(24)
- TextEntry88:SetText(file.Read("cl_settings/cl_rpcolor.txt", "DATA"))
- TextEntry88:SetWide(200)
- TextEntry88:SetEnterAllowed(true)
- TextEntry88.OnEnter = function()
- tdrpe = TextEntry88:GetValue()
- rpcolor = string.ToColor(TextEntry88:GetValue())
- if file.Exists("cl_settings/cl_rpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_rpcolor.txt")
- file.Write("cl_settings/cl_rpcolor.txt", tdrpe)
- tdrpe = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_rpcolor.txt", tdrpe)
- tdrpe = file.Read("cl_settings/cl_rpcolor.txt", "DATA")
- end
- end
- local tde = vgui.Create("DLabel")
- tde:SetParent(pbase)
- tde:SetText("Distance-ESP")
- tde:SetWide(96)
- tde:SetPos(6, 576)
- local TextEntry876 = vgui.Create("DTextEntry")
- TextEntry876:SetParent(pbase)
- TextEntry876:SetPos(131, 576)
- TextEntry876:SetText(file.Read("cl_settings/cl_distcolor.txt", "DATA"))
- TextEntry876:SetTall(24)
- TextEntry876:SetWide(200)
- TextEntry876:SetEnterAllowed(true)
- TextEntry876.OnEnter = function()
- tde = TextEntry876:GetValue()
- discolor = string.ToColor(TextEntry876:GetValue())
- if file.Exists("cl_settings/cl_distcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_distcolor.txt")
- file.Write("cl_settings/cl_distcolor.txt", tde)
- tde = file.Read("cl_settings/cl_distcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_distcolor.txt", tde)
- tde = file.Read("cl_settings/cl_distcolor.txt", "DATA")
- end
- end
- local tfe = vgui.Create("DLabel")
- tfe:SetParent(pbase)
- tfe:SetText("Friends-ESP")
- tfe:SetWide(96)
- tfe:SetPos(6, 620)
- local TextEntry8121111 = vgui.Create("DTextEntry")
- TextEntry8121111:SetParent(pbase)
- TextEntry8121111:SetPos(131, 620)
- TextEntry8121111:SetTall(24)
- TextEntry8121111:SetText(file.Read("cl_settings/cl_fndcolor.txt", "DATA"))
- TextEntry8121111:SetWide(200)
- TextEntry8121111:SetEnterAllowed(true)
- TextEntry8121111.OnEnter = function()
- tfe = TextEntry8121111:GetValue()
- fndcolor = string.ToColor(TextEntry8121111:GetValue())
- if file.Exists("cl_settings/cl_fndcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_fndcolor.txt")
- file.Write("cl_settings/cl_fndcolor.txt", tfe)
- tfe = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_fndcolor.txt", tfe)
- tfe = file.Read("cl_settings/cl_fndcolor.txt", "DATA")
- end
- end
- local tge = vgui.Create("DLabel")
- tge:SetParent(pbase)
- tge:SetText("Group-ESP")
- tge:SetWide(96)
- tge:SetPos(6, 664)
- local TextEntry874 = vgui.Create("DTextEntry")
- TextEntry874:SetParent(pbase)
- TextEntry874:SetPos(131, 664)
- TextEntry874:SetTall(24)
- TextEntry874:SetWide(200)
- TextEntry874:SetText(file.Read("cl_settings/cl_gcolor.txt", "DATA"))
- TextEntry874:SetEnterAllowed(true)
- TextEntry874.OnEnter = function()
- tge = TextEntry874:GetValue()
- gcolor = string.ToColor(TextEntry874:GetValue())
- if file.Exists("cl_settings/cl_gcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_gcolor.txt")
- file.Write("cl_settings/cl_gcolor.txt", tge)
- tge = file.Read("cl_settings/cl_gcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_gcolor.txt", tge)
- tge = file.Read("cl_settings/cl_gcolor.txt", "DATA")
- end
- end
- local tdpe = vgui.Create("DLabel")
- tdpe:SetParent(pbase)
- tdpe:SetText("Draw Player-ESP")
- tdpe:SetWide(96)
- tdpe:SetPos(6, 708)
- local TextEntry268 = vgui.Create("DTextEntry")
- TextEntry268:SetParent(pbase)
- TextEntry268:SetPos(131, 708)
- TextEntry268:SetTall(24)
- TextEntry268:SetText(file.Read("cl_settings/cl_dpcolor.txt", "DATA"))
- TextEntry268:SetWide(200)
- TextEntry268:SetEnterAllowed(true)
- TextEntry268.OnEnter = function()
- tdpe = TextEntry268:GetValue()
- dpcolor = string.ToColor(TextEntry268:GetValue())
- if file.Exists("cl_settings/cl_dpcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_dpcolor.txt")
- file.Write("cl_settings/cl_dpcolor.txt", tdpe)
- tdpe = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
- else
- file.Write("cl_settings/cl_dpcolor.txt", tdpe)
- tdpe = file.Read("cl_settings/cl_dpcolor.txt", "DATA")
- end
- end
- end)
- concommand.Add("cl_readme", function()
- local base2 = vgui.Create("DFrame")
- base2:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
- base2:SetSize(600, 400)
- base2:SetVisible(true)
- base2:SetTitle("Client Assistant - Terms of agreement")
- base2:SetDraggable(false)
- base2:ShowCloseButton(false)
- base2:MakePopup()
- function base2:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local accept = vgui.Create("DButton")
- accept:SetParent(base2)
- accept:SetPos(230, 362)
- accept:SetSize(64, 32)
- accept:SetText("Accept")
- accept:SetColor(mcolor)
- accept.DoClick = function()
- base2:Close()
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- chat.AddText(Color(255, 120, 0), "[Client Assistant] You have accepted the terms of agreement.")
- end
- function accept:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local decline = vgui.Create("DButton")
- decline:SetParent(base2)
- decline:SetPos(306, 362)
- decline:SetSize(64, 32)
- decline:SetText("Decline")
- decline:SetColor(mcolor)
- decline.DoClick = function()
- base2:Close()
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- chat.AddText(Color(255, 120, 0), "[Client Assistant] You have declined the terms of agreement. Proceeding to kick.")
- timer.Simple(3, function() LocalPlayer():ConCommand("disconnect") end)
- end
- function decline:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local termpanel = vgui.Create("DPanel")
- termpanel:SetParent(base2)
- termpanel:SetSize(552, 308)
- termpanel:SetPos(24, 48)
- termpanel:SetVisible(true)
- function termpanel:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local termtext = vgui.Create("DLabel")
- termtext:SetParent(termpanel)
- termtext:SetSize(540, 294)
- termtext:SetPos(6, 6)
- termtext:SetVisible(true)
- termtext:SetWrap(true)
- 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.")
- end)
- LocalPlayer():ConCommand("cl_readme")
- concommand.Add("cl_menu", function()
- local base = vgui.Create("DFrame")
- local paimbot = vgui.Create("DScrollPanel")
- paimbot:SetParent(base)
- paimbot:SetSize(468, 328)
- paimbot:SetPos(108, 48)
- function paimbot:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local pesp = vgui.Create("DScrollPanel")
- pesp:SetParent(base)
- pesp:SetSize(468, 328)
- pesp:SetPos(108, 48)
- function pesp:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local pmisc = vgui.Create("DScrollPanel")
- pmisc:SetParent(base)
- pmisc:SetSize(468, 328)
- pmisc:SetPos(108, 48)
- function pmisc:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- local poptions = vgui.Create("DScrollPanel")
- poptions:SetParent(base)
- poptions:SetSize(468, 328)
- poptions:SetPos(108, 48)
- function poptions:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(54, 54, 54, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- paimbot:SetVisible(true)
- pesp:SetVisible(false)
- pmisc:SetVisible(false)
- poptions:SetVisible(false)
- local taimbot = vgui.Create("DButton")
- taimbot:SetText("Aimbot")
- taimbot:SetParent(base)
- taimbot:SetColor(Color(255, 255, 255))
- taimbot:SetPos(24, 48)
- taimbot:SetSize(78, 48)
- taimbot:SetVisible(true)
- function taimbot:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- taimbot.DoClick = function()
- paimbot:SetVisible(true)
- pesp:SetVisible(false)
- pmisc:SetVisible(false)
- poptions:SetVisible(false)
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local tesp = vgui.Create("DButton")
- tesp:SetText("ESP")
- tesp:SetParent(base)
- tesp:SetColor(Color(255, 255, 255))
- tesp:SetPos(24, 102)
- tesp:SetSize(78, 48)
- tesp:SetVisible(true)
- function tesp:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- tesp.DoClick = function()
- paimbot:SetVisible(false)
- pesp:SetVisible(true)
- pmisc:SetVisible(false)
- poptions:SetVisible(false)
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local tmisc = vgui.Create("DButton")
- tmisc:SetText("Misc")
- tmisc:SetParent(base)
- tmisc:SetColor(Color(255, 255, 255))
- tmisc:SetPos(24, 156)
- tmisc:SetSize(78, 48)
- tmisc:SetVisible(true)
- function tmisc:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- tmisc.DoClick = function()
- paimbot:SetVisible(false)
- pesp:SetVisible(false)
- pmisc:SetVisible(true)
- poptions:SetVisible(false)
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local toptions = vgui.Create("DButton")
- toptions:SetText("Options")
- toptions:SetParent(base)
- toptions:SetColor(Color(255, 255, 255))
- toptions:SetPos(24, 210)
- toptions:SetSize(78, 48)
- toptions:SetVisible(true)
- function toptions:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- toptions.DoClick = function()
- paimbot:SetVisible(false)
- pesp:SetVisible(false)
- pmisc:SetVisible(false)
- poptions:SetVisible(true)
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local admins = vgui.Create("DButton")
- admins:SetText("Admins")
- admins:SetParent(base)
- admins:SetColor(Color(255, 255, 255))
- admins:SetPos(24, 264)
- admins:SetSize(78, 48)
- admins:SetVisible(true)
- function admins:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- admins.DoClick = function()
- LocalPlayer():ConCommand("cl_getadmins")
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- local b1 = vgui.Create("DButton")
- local b2 = vgui.Create("DButton")
- local b3 = vgui.Create("DButton")
- local b4 = vgui.Create("DButton")
- local b5 = vgui.Create("DButton")
- local b6 = vgui.Create("DButton")
- local b7 = vgui.Create("DButton")
- local b8 = vgui.Create("DButton")
- local b9 = vgui.Create("DButton")
- local b10 = vgui.Create("DButton")
- local b11 = vgui.Create("DButton")
- local b12 = vgui.Create("DButton")
- local b13 = vgui.Create("DButton")
- local b14 = vgui.Create("DButton")
- local b15 = vgui.Create("DButton")
- local b16 = vgui.Create("DButton")
- local b17 = vgui.Create("DButton")
- local b18 = vgui.Create("DButton")
- local b19 = vgui.Create("DButton")
- local b20 = vgui.Create("DButton")
- local b21 = vgui.Create("DButton")
- local b22 = vgui.Create("DButton")
- local b23 = vgui.Create("DButton")
- local b24 = vgui.Create("DButton")
- local b25 = vgui.Create("DButton")
- local b26 = vgui.Create("DButton")
- local b27 = vgui.Create("DButton")
- local b28 = vgui.Create("DButton")
- local b29 = vgui.Create("DButton")
- local b30 = vgui.Create("DButton")
- local b31 = vgui.Create("DButton")
- local b32 = vgui.Create("DButton")
- local b33 = vgui.Create("DButton")
- local b34 = vgui.Create("DButton")
- local b35 = vgui.Create("DButton")
- local b36 = vgui.Create("DButton")
- local b37 = vgui.Create("DButton")
- local b38 = vgui.Create("DButton")
- local b39 = vgui.Create("DButton")
- local t1 = vgui.Create("DLabel")
- local t2 = vgui.Create("DLabel")
- local t3 = vgui.Create("DLabel")
- local t4 = vgui.Create("DLabel")
- local t5 = vgui.Create("DLabel")
- local t6 = vgui.Create("DLabel")
- local t7 = vgui.Create("DLabel")
- local t8 = vgui.Create("DLabel")
- local t9 = vgui.Create("DLabel")
- local t10 = vgui.Create("DLabel")
- local t11 = vgui.Create("DLabel")
- local t12 = vgui.Create("DLabel")
- local t13 = vgui.Create("DLabel")
- local t14 = vgui.Create("DLabel")
- local t15 = vgui.Create("DLabel")
- local t16 = vgui.Create("DLabel")
- local t17 = vgui.Create("DLabel")
- local t18 = vgui.Create("DLabel")
- local t19 = vgui.Create("DLabel")
- local t20 = vgui.Create("DLabel")
- local t21 = vgui.Create("DLabel")
- local t22 = vgui.Create("DLabel")
- local t23 = vgui.Create("DLabel")
- local t24 = vgui.Create("DLabel")
- local t25 = vgui.Create("DLabel")
- local t26 = vgui.Create("DLabel")
- local t27 = vgui.Create("DLabel")
- local t28 = vgui.Create("DLabel")
- local t29 = vgui.Create("DLabel")
- local t30 = vgui.Create("DLabel")
- local t31 = vgui.Create("DLabel")
- local t32 = vgui.Create("DLabel")
- local t33 = vgui.Create("DLabel")
- local t34 = vgui.Create("DLabel")
- local t35 = vgui.Create("DLabel")
- local t36 = vgui.Create("DLabel")
- local t37 = vgui.Create("DLabel")
- local t38 = vgui.Create("DLabel")
- local t39 = vgui.Create("DLabel")
- local t40 = vgui.Create("DLabel")
- local t41 = vgui.Create("DLabel")
- local t42 = vgui.Create("DLabel")
- local t43 = vgui.Create("DLabel")
- local t44 = vgui.Create("DLabel")
- t18:SetParent(base)
- t18:SetText("Copyright © ApolloGaming and ClassifiedGamingUS")
- t18:SetWide(256)
- t18:SetColor(mcolor)
- t18:SetPos(108, 376)
- base:SetPos(ScrW()/2 - 300, ScrH()/2 - 200)
- base:SetSize(600, 400)
- base:SetVisible(true)
- base:SetTitle("Client Assistant Menu")
- base:SetDraggable(false)
- base:ShowCloseButton(false)
- base:MakePopup()
- b16:SetParent(base)
- b16:SetPos(576, 0)
- b16:SetSize(24, 24)
- b16:SetText("X")
- b16:SetColor(mcolor)
- b16.DoClick = function()
- base:Close()
- surface.PlaySound("ambient/levels/canals/drip4.wav")
- end
- function b16:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- function base:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(36, 36, 36, 225))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- t1:SetParent(pesp)
- t1:SetText("ESP")
- t1:SetPos(6, 6)
- b1:SetParent(pesp)
- function b1:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp")) then
- b1:SetText("On")
- b1:SetColor(Color(0, 161, 255, 255))
- else
- b1:SetText("Off")
- b1:SetColor(Color(255, 0, 0, 255))
- end
- b1:SetSize(48, 24)
- b1:SetPos(399, 6)
- b1.DoClick = function()
- if tobool(GetConVarNumber("cl_esp")) then
- LocalPlayer():ConCommand("cl_esp 0")
- b1:SetText("Off")
- b1:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp 1")
- b1:SetText("On")
- b1:SetColor(Color(0, 161, 255, 255))
- end
- end
- t2:SetParent(pmisc)
- t2:SetText("Crosshairs")
- t2:SetPos(6, 6)
- b2:SetParent(pmisc)
- function b2:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_crosshair")) then
- b2:SetText("On")
- b2:SetColor(Color(0, 161, 255, 255))
- else
- b2:SetText("Off")
- b2:SetColor(Color(255, 0, 0, 255))
- end
- b2:SetSize(48, 24)
- b2:SetPos(399, 6)
- b2.DoClick = function()
- if tobool(GetConVarNumber("cl_crosshair")) then
- LocalPlayer():ConCommand("cl_crosshair 0")
- b2:SetText("Off")
- b2:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_crosshair 1")
- b2:SetText("On")
- b2:SetColor(Color(0, 161, 255, 255))
- end
- end
- t3:SetParent(pesp)
- t3:SetText("ESP-Draw-Players")
- t3:SetWide(96)
- t3:SetPos(6, 36)
- b3:SetParent(pesp)
- function b3:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_drawplayer")) then
- b3:SetText("On")
- b3:SetColor(Color(0, 161, 255, 255))
- else
- b3:SetText("Off")
- b3:SetColor(Color(255, 0, 0, 255))
- end
- b3:SetSize(48, 24)
- b3:SetPos(399, 36)
- b3.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_drawplayer")) then
- LocalPlayer():ConCommand("cl_esp_drawplayer 0")
- b3:SetText("Off")
- b3:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_drawplayer 1")
- b3:SetText("On")
- b3:SetColor(Color(0, 161, 255, 255))
- end
- end
- t4:SetParent(paimbot)
- t4:SetText("Aimbot")
- t4:SetPos(6, 6)
- b4:SetParent(paimbot)
- function b4:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_aimbot")) then
- b4:SetText("On")
- b4:SetColor(Color(0, 161, 255, 255))
- else
- b4:SetText("Off")
- b4:SetColor(Color(255, 0, 0, 255))
- end
- b4:SetSize(48, 24)
- b4:SetPos(399, 6)
- b4.DoClick = function()
- if tobool(GetConVarNumber("cl_aimbot")) then
- LocalPlayer():ConCommand("cl_aimbot 0")
- b4:SetText("Off")
- b4:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_aimbot 1")
- b4:SetText("On")
- b4:SetColor(Color(0, 161, 255, 255))
- chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString().."' to lock on to enemies with aimbot.")
- end
- end
- t5:SetParent(paimbot)
- t5:SetText("Triggerbot")
- t5:SetPos(6, 36)
- b5:SetParent(paimbot)
- function b5:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_triggerbot")) then
- b5:SetText("On")
- b5:SetColor(Color(0, 161, 255, 255))
- else
- b5:SetText("Off")
- b5:SetColor(Color(255, 0, 0, 255))
- end
- b5:SetSize(48, 24)
- b5:SetPos(399, 36)
- b5.DoClick = function()
- if tobool(GetConVarNumber("cl_triggerbot")) then
- LocalPlayer():ConCommand("cl_triggerbot 0")
- b5:SetText("Off")
- b5:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_triggerbot 1")
- b5:SetText("On")
- b5:SetColor(Color(0, 161, 255, 255))
- end
- end
- t6:SetParent(pmisc)
- t6:SetText("Bhop")
- t6:SetPos(6, 36)
- b6:SetParent(pmisc)
- function b6:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_bhop")) then
- b6:SetText("On")
- b6:SetColor(Color(0, 161, 255, 255))
- else
- b6:SetText("Off")
- b6:SetColor(Color(255, 0, 0, 255))
- end
- b6:SetSize(48, 24)
- b6:SetPos(399, 36)
- b6.DoClick = function()
- if tobool(GetConVarNumber("cl_bhop")) then
- LocalPlayer():ConCommand("cl_bhop 0")
- b6:SetText("Off")
- b6:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_bhop 1")
- b6:SetText("On")
- b6:SetColor(Color(0, 161, 255, 255))
- end
- end
- t7:SetParent(pmisc)
- t7:SetText("Norecoil")
- t7:SetPos(6, 66)
- b7:SetParent(pmisc)
- function b7:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_norecoil")) then
- b7:SetText("On")
- b7:SetColor(Color(0, 161, 255, 255))
- else
- b7:SetText("Off")
- b7:SetColor(Color(255, 0, 0, 255))
- end
- b7:SetSize(48, 24)
- b7:SetPos(399, 66)
- b7.DoClick = function()
- if tobool(GetConVarNumber("cl_norecoil")) then
- LocalPlayer():ConCommand("cl_norecoil 0")
- b7:SetText("Off")
- b7:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_norecoil 1")
- b7:SetText("On")
- b7:SetColor(Color(0, 161, 255, 255))
- end
- end
- t11:SetParent(pesp)
- t11:SetText("ESP-Groups")
- t11:SetPos(6, 66)
- b9:SetParent(pesp)
- function b9:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_showteams")) then
- b9:SetText("On")
- b9:SetColor(Color(0, 161, 255, 255))
- else
- b9:SetText("Off")
- b9:SetColor(Color(255, 0, 0, 255))
- end
- b9:SetSize(48, 24)
- b9:SetPos(399, 66)
- b9.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_showteams")) then
- LocalPlayer():ConCommand("cl_esp_showteams 0")
- b9:SetText("Off")
- b9:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_showteams 1")
- b9:SetText("On")
- b9:SetColor(Color(0, 161, 255, 255))
- end
- end
- t12:SetParent(pesp)
- t12:SetText("ESP-Friends")
- t12:SetPos(6, 96)
- b10:SetParent(pesp)
- function b10:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_showfriends")) then
- b10:SetText("On")
- b10:SetColor(Color(0, 161, 255, 255))
- else
- b10:SetText("Off")
- b10:SetColor(Color(255, 0, 0, 255))
- end
- b10:SetSize(48, 24)
- b10:SetPos(399, 96)
- b10.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_showfriends")) then
- LocalPlayer():ConCommand("cl_esp_showfriends 0")
- b10:SetText("Off")
- b10:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_showfriends 1")
- b10:SetText("On")
- b10:SetColor(Color(0, 161, 255, 255))
- end
- end
- t13:SetParent(pesp)
- t13:SetText("Tracers")
- t13:SetPos(6, 126)
- b11:SetParent(pesp)
- function b11:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_tracers")) then
- b11:SetText("On")
- b11:SetColor(Color(0, 161, 255, 255))
- else
- b11:SetText("Off")
- b11:SetColor(Color(255, 0, 0, 255))
- end
- b11:SetSize(48, 24)
- b11:SetPos(399, 126)
- b11.DoClick = function()
- if tobool(GetConVarNumber("cl_tracers")) then
- LocalPlayer():ConCommand("cl_tracers 0")
- b11:SetText("Off")
- b11:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_tracers 1")
- b11:SetText("On")
- b11:SetColor(Color(0, 161, 255, 255))
- end
- end
- t17:SetParent(pesp)
- t17:SetText("ESP-Weps")
- t17:SetPos(6, 156)
- b15:SetParent(pesp)
- function b15:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_weapons")) then
- b15:SetText("On")
- b15:SetColor(Color(0, 161, 255, 255))
- else
- b15:SetText("Off")
- b15:SetColor(Color(255, 0, 0, 255))
- end
- b15:SetSize(48, 24)
- b15:SetPos(399, 156)
- b15.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_weapons")) then
- LocalPlayer():ConCommand("cl_esp_weapons 0")
- b15:SetText("Off")
- b15:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_weapons 1")
- b15:SetText("On")
- b15:SetColor(Color(0, 161, 255, 255))
- end
- end
- t19:SetParent(pesp)
- t19:SetText("ESP-Distance")
- t19:SetPos(6, 186)
- b17:SetParent(pesp)
- function b17:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_distance")) then
- b17:SetText("On")
- b17:SetColor(Color(0, 161, 255, 255))
- else
- b17:SetText("Off")
- b17:SetColor(Color(255, 0, 0, 255))
- end
- b17:SetSize(48, 24)
- b17:SetPos(399, 186)
- b17.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_distance")) then
- LocalPlayer():ConCommand("cl_esp_distance 0")
- b17:SetText("Off")
- b17:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_distance 1")
- b17:SetText("On")
- b17:SetColor(Color(0, 161, 255, 255))
- end
- end
- t24:SetParent(pesp)
- t24:SetText("DarkRP-Teams")
- t24:SetWide(96)
- t24:SetPos(6, 216)
- b20:SetParent(pesp)
- function b20:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_drp_teams")) then
- b20:SetText("On")
- b20:SetColor(Color(0, 161, 255, 255))
- else
- b20:SetText("Off")
- b20:SetColor(Color(255, 0, 0, 255))
- end
- b20:SetSize(48, 24)
- b20:SetPos(399, 216)
- b20.DoClick = function()
- if tobool(GetConVarNumber("cl_drp_teams")) then
- LocalPlayer():ConCommand("cl_drp_teams 0")
- b20:SetText("Off")
- b20:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_drp_teams 1")
- b20:SetText("On")
- b20:SetColor(Color(0, 161, 255, 255))
- end
- end
- t31:SetParent(pesp)
- t31:SetText("Murder-ESP")
- t31:SetWide(96)
- t31:SetPos(6, 246)
- b26:SetParent(pesp)
- function b26:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_mu_ents")) then
- b26:SetText("On")
- b26:SetColor(Color(0, 161, 255, 255))
- else
- b26:SetText("Off")
- b26:SetColor(Color(255, 0, 0, 255))
- end
- b26:SetSize(48, 24)
- b26:SetPos(399, 246)
- b26.DoClick = function()
- if tobool(GetConVarNumber("cl_mu_ents")) then
- LocalPlayer():ConCommand("cl_mu_ents 0")
- b26:SetText("Off")
- b26:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_mu_ents 1")
- b26:SetText("On")
- b26:SetColor(Color(0, 161, 255, 255))
- end
- end
- t32:SetParent(pesp)
- t32:SetText("TTT-ESP")
- t32:SetWide(96)
- t32:SetPos(6, 276)
- b27:SetParent(pesp)
- function b27:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_ttt_ents")) then
- b27:SetText("On")
- b27:SetColor(Color(0, 161, 255, 255))
- else
- b27:SetText("Off")
- b27:SetColor(Color(255, 0, 0, 255))
- end
- b27:SetSize(48, 24)
- b27:SetPos(399, 276)
- b27.DoClick = function()
- if tobool(GetConVarNumber("cl_ttt_ents")) then
- LocalPlayer():ConCommand("cl_ttt_ents 0")
- b27:SetText("Off")
- b27:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_ttt_ents 1")
- b27:SetText("On")
- b27:SetColor(Color(0, 161, 255, 255))
- chat.AddText(Color(255, 120, 0), "[Client Assistant] Feature for TTT-ESP coming soon.")
- end
- end
- t14:SetParent(paimbot)
- t14:SetText("Aimbot-Friends")
- t14:SetWide(96)
- t14:SetPos(6, 66)
- b12:SetParent(paimbot)
- function b12:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
- b12:SetText("On")
- b12:SetColor(Color(0, 161, 255, 255))
- else
- b12:SetText("Off")
- b12:SetColor(Color(255, 0, 0, 255))
- end
- b12:SetSize(48, 24)
- b12:SetPos(399, 66)
- b12.DoClick = function()
- if tobool(GetConVarNumber("cl_aimbot_friendsnotarget")) then
- LocalPlayer():ConCommand("cl_aimbot_friendsnotarget 0")
- b12:SetText("Off")
- b12:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_aimbot_friendsnotarget 1")
- b12:SetText("On")
- b12:SetColor(Color(0, 161, 255, 255))
- end
- end
- t27:SetParent(paimbot)
- t27:SetText("Aimbot-Teams")
- t27:SetWide(96)
- t27:SetPos(6, 96)
- b23:SetParent(paimbot)
- function b23:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_ateams")) then
- b23:SetText("On")
- b23:SetColor(Color(0, 161, 255, 255))
- else
- b23:SetText("Off")
- b23:SetColor(Color(255, 0, 0, 255))
- end
- b23:SetSize(48, 24)
- b23:SetPos(399, 96)
- b23.DoClick = function()
- if tobool(GetConVarNumber("cl_ateams")) then
- LocalPlayer():ConCommand("cl_ateams 0")
- b23:SetText("Off")
- b23:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_ateams 1")
- b23:SetText("On")
- b23:SetColor(Color(0, 161, 255, 255))
- end
- end
- t15:SetParent(pmisc)
- t15:SetText("Nospread")
- t15:SetPos(6, 96)
- b13:SetParent(pmisc)
- function b13:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_nospread")) then
- b13:SetText("On")
- b13:SetColor(Color(0, 161, 255, 255))
- else
- b13:SetText("Off")
- b13:SetColor(Color(255, 0, 0, 255))
- end
- b13:SetSize(48, 24)
- b13:SetPos(399, 96)
- b13.DoClick = function()
- if tobool(GetConVarNumber("cl_nospread")) then
- LocalPlayer():ConCommand("cl_nospread 0")
- b13:SetText("Off")
- b13:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_nospread 1")
- b13:SetText("On")
- b13:SetColor(Color(0, 161, 255, 255))
- end
- end
- t16:SetParent(pmisc)
- t16:SetText("Autofire")
- t16:SetPos(6, 126)
- b14:SetParent(pmisc)
- function b14:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_autofire")) then
- b14:SetText("On")
- b14:SetColor(Color(0, 161, 255, 255))
- else
- b14:SetText("Off")
- b14:SetColor(Color(255, 0, 0, 255))
- end
- b14:SetSize(48, 24)
- b14:SetPos(399, 126)
- b14.DoClick = function()
- if tobool(GetConVarNumber("cl_autofire")) then
- LocalPlayer():ConCommand("cl_autofire 0")
- b14:SetText("Off")
- b14:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_autofire 1")
- b14:SetText("On")
- b14:SetColor(Color(0, 161, 255, 255))
- end
- end
- t8:SetParent(paimbot)
- t8:SetText("Aimbot FOV Scale")
- t8:SetWide(96)
- t8:SetPos(6, 186)
- local slider = vgui.Create("DNumSlider")
- slider:SetParent(paimbot)
- slider:SetPos(243, 186)
- slider:SetText("")
- slider:SetMinMax(6, 360)
- slider:SetVisible(true)
- slider:SetWide(228)
- slider:SetDecimals(0)
- slider:SetFGColor(0, 255, 255, 255)
- slider:SetBGColor(0, 255, 255, 255)
- slider:SetValue(fov)
- slider.OnValueChanged = function()
- fov = tonumber(slider:GetValue())
- if file.Exists("cl_settings/cl_fov.txt", "DATA") then
- file.Delete("cl_settings/cl_fov.txt")
- file.Write("cl_settings/cl_fov.txt", fov)
- fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
- else
- file.Write("cl_settings/cl_fov.txt", fov)
- fov = tonumber(file.Read("cl_settings/cl_fov.txt", "DATA"))
- end
- end
- t9:SetParent(pmisc)
- t9:SetText("Crosshair Scale")
- t9:SetWide(96)
- t9:SetPos(6, 426)
- local slider1 = vgui.Create("DNumSlider")
- slider1:SetParent(pmisc)
- slider1:SetPos(243, 426)
- slider1:SetText("")
- slider1:SetMinMax(8, 100)
- slider1:SetVisible(true)
- slider1:SetWide(228)
- slider1:SetDecimals(0)
- slider1:SetFGColor(0, 255, 255, 255)
- slider1:SetBGColor(0, 255, 255, 255)
- slider1:SetValue(csize)
- slider1.OnValueChanged = function()
- csize = tonumber(slider1:GetValue())
- if file.Exists("cl_settings/cl_csize.txt", "DATA") then
- file.Delete("cl_settings/cl_csize.txt")
- file.Write("cl_settings/cl_csize.txt", csize)
- csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
- else
- file.Write("cl_settings/cl_csize.txt", csize)
- csize = tonumber(file.Read("cl_settings/cl_csize.txt", "DATA"))
- end
- end
- t20:SetParent(pesp)
- t20:SetText("ESP-Render Scale")
- t20:SetWide(96)
- t20:SetPos(6, 336)
- local slider2 = vgui.Create("DNumSlider")
- slider2:SetParent(pesp)
- slider2:SetPos(229, 336)
- slider2:SetText("")
- slider2:SetMinMax(3600, 36000)
- slider2:SetVisible(true)
- slider2:SetWide(228)
- slider2:SetDecimals(0)
- slider2:SetFGColor(0, 255, 255, 255)
- slider2:SetBGColor(0, 255, 255, 255)
- slider2:SetValue(escale)
- slider2.OnValueChanged = function()
- escale = tonumber(slider2:GetValue())
- if file.Exists("cl_settings/cl_escale.txt", "DATA") then
- file.Delete("cl_settings/cl_escale.txt")
- file.Write("cl_settings/cl_escale.txt", escale)
- escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
- else
- file.Write("cl_settings/cl_escale.txt", escale)
- escale = tonumber(file.Read("cl_settings/cl_escale.txt", "DATA"))
- end
- end
- t21:SetParent(pmisc)
- t21:SetText("Speed-Hack")
- t21:SetPos(6, 156)
- b18:SetParent(pmisc)
- function b18:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_speed")) then
- b18:SetText("On")
- b18:SetColor(Color(0, 161, 255, 255))
- else
- b18:SetText("Off")
- b18:SetColor(Color(255, 0, 0, 255))
- end
- b18:SetSize(48, 24)
- b18:SetPos(399, 156)
- b18.DoClick = function()
- if tobool(GetConVarNumber("cl_speed")) then
- LocalPlayer():ConCommand("cl_speed 0")
- b18:SetText("Off")
- b18:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_speed 1")
- b18:SetText("On")
- b18:SetColor(Color(0, 161, 255, 255))
- chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString().."' to enable speedhack.")
- end
- end
- t22:SetParent(pmisc)
- t22:SetText("Speed-Scale")
- t22:SetPos(6, 456)
- local slider3 = vgui.Create("DNumSlider")
- slider3:SetParent(pmisc)
- slider3:SetPos(243, 456)
- slider3:SetText("")
- slider3:SetMinMax(4, 6)
- slider3:SetVisible(true)
- slider3:SetWide(228)
- slider3:SetDecimals(0)
- slider3:SetFGColor(0, 255, 255, 255)
- slider3:SetBGColor(0, 255, 255, 255)
- slider3:SetValue(esscale)
- slider3.OnValueChanged = function()
- esscale = tonumber(slider3:GetValue())
- if esscale == 4 then
- sscale = 6
- end
- if esscale == 5 then
- sscale = 5
- end
- if esscale == 6 then
- sscale = 4
- end
- if file.Exists("cl_settings/cl_sscale.txt", "DATA") then
- file.Delete("cl_settings/cl_sscale.txt")
- file.Write("cl_settings/cl_sscale.txt", sscale)
- sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
- else
- file.Write("cl_settings/cl_sscale.txt", sscale)
- sscale = tonumber(file.Read("cl_settings/cl_sscale.txt", "DATA"))
- end
- if file.Exists("cl_settings/cl_esscale.txt", "DATA") then
- file.Delete("cl_settings/cl_esscale.txt")
- file.Write("cl_settings/cl_esscale.txt", esscale)
- esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
- else
- file.Write("cl_settings/cl_esscale.txt", esscale)
- esscale = tonumber(file.Read("cl_settings/cl_esscale.txt", "DATA"))
- end
- end
- t10:SetParent(pmisc)
- t10:SetText("Run Code")
- t10:SetPos(6, 336)
- local TextEntry = vgui.Create("DTextEntry")
- TextEntry:SetParent(pmisc)
- TextEntry:SetPos(131, 336)
- TextEntry:SetTall(24)
- TextEntry:SetWide(200)
- TextEntry:SetEnterAllowed(true)
- TextEntry:SetMultiline(true)
- b8:SetParent(pmisc)
- function b8:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b8:SetText("Run")
- b8:SetColor(Color(255, 255, 255))
- b8:SetSize(48, 24)
- b8:SetPos(399, 336)
- b8.DoClick = function()
- RunString(TextEntry:GetValue())
- end
- t23:SetParent(poptions)
- t23:SetText("Menu Color")
- t23:SetPos(6, 6)
- local Mixer = vgui.Create("DRGBPicker")
- Mixer:SetPos(6, 36)
- Mixer:SetSize(48, 128)
- Mixer:SetParent(poptions)
- Mixer.OnChange = function()
- lcolor = Mixer:GetRGB()
- b16:SetColor(lcolor)
- t18:SetColor(lcolor)
- b30:SetColor(lcolor)
- b31:SetColor(lcolor)
- b30:SetTextColor(lcolor)
- b31:SetTextColor(lcolor)
- b33:SetColor(lcolor)
- b33:SetTextColor(lcolor)
- b35:SetColor(lcolor)
- b35:SetTextColor(lcolor)
- b38:SetColor(lcolor)
- Mixer:SetRGB(lcolor)
- if file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_mcolor.txt")
- fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
- file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
- mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
- else
- fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
- file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
- mcolor = file.Read("cl_settings/cl_mcolor.txt", "DATA")
- end
- end
- b19:SetParent(poptions)
- function b19:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b19:SetText("Reset")
- b19:SetColor(Color(255, 255, 255))
- b19:SetSize(48, 24)
- b19:SetPos(6, 170)
- b19.DoClick = function()
- mcolor = Color(0, 255, 255)
- zcolor = Color(0, 255, 255)
- b16:SetColor(zcolor)
- t18:SetColor(zcolor)
- b30:SetColor(zcolor)
- b31:SetColor(zcolor)
- b30:SetTextColor(zcolor)
- b31:SetTextColor(zcolor)
- b33:SetColor(zcolor)
- b33:SetTextColor(zcolor)
- b35:SetColor(zcolor)
- b35:SetTextColor(zcolor)
- b38:SetColor(zcolor)
- Mixer:SetRGB(zcolor)
- lcolor = Mixer:GetRGB()
- if file.Exists("cl_settings/cl_mcolor.txt", "DATA") then
- file.Delete("cl_settings/cl_mcolor.txt")
- fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
- file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
- mcolor = string.ToColor(file.Read("cl_settings/cl_mcolor.txt", "DATA"))
- else
- fcolor = Color(lcolor.r, lcolor.g, lcolor.b)
- file.Write("cl_settings/cl_mcolor.txt", tostring(fcolor))
- mcolor = file.Read("cl_settings/cl_mcolor.txt", "DATA")
- end
- end
- t25:SetParent(poptions)
- t25:SetText("Client-HUD")
- t25:SetPos(6, 276)
- b21:SetParent(poptions)
- function b21:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_hud")) then
- b21:SetText("On")
- b21:SetColor(Color(0, 161, 255, 255))
- else
- b21:SetText("Off")
- b21:SetColor(Color(255, 0, 0, 255))
- end
- b21:SetSize(48, 24)
- b21:SetPos(6, 296)
- b21.DoClick = function()
- if tobool(GetConVarNumber("cl_hud")) then
- LocalPlayer():ConCommand("cl_hud 0")
- b21:SetText("Off")
- b21:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_hud 1")
- b21:SetText("On")
- b21:SetColor(Color(0, 161, 255, 255))
- end
- end
- t30:SetParent(poptions)
- t30:SetText("Hud-Radar")
- t30:SetPos(6, 206)
- b25:SetParent(poptions)
- function b25:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_hud_radar")) then
- b25:SetText("On")
- b25:SetColor(Color(0, 161, 255, 255))
- else
- b25:SetText("Off")
- b25:SetColor(Color(255, 0, 0, 255))
- end
- b25:SetSize(48, 24)
- b25:SetPos(6, 230)
- b25.DoClick = function()
- if tobool(GetConVarNumber("cl_hud_radar")) then
- LocalPlayer():ConCommand("cl_hud_radar 0")
- b25:SetText("Off")
- b25:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_hud_radar 1")
- b25:SetText("On")
- b25:SetColor(Color(0, 161, 255, 255))
- end
- end
- t28:SetParent(pmisc)
- t28:SetText("Spam-bot")
- t28:SetPos(6, 186)
- b24:SetParent(pmisc)
- function b24:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_spambot")) then
- b24:SetText("On")
- b24:SetColor(Color(0, 161, 255, 255))
- else
- b24:SetText("Off")
- b24:SetColor(Color(255, 0, 0, 255))
- end
- b24:SetSize(48, 24)
- b24:SetPos(399, 186)
- b24.DoClick = function()
- if tobool(GetConVarNumber("cl_spambot")) then
- LocalPlayer():ConCommand("cl_spambot 0")
- b24:SetText("Off")
- b24:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_spambot 1")
- b24:SetText("On")
- b24:SetColor(Color(0, 161, 255, 255))
- end
- end
- t34:SetParent(pmisc)
- t34:SetText("Hitmarkers")
- t34:SetPos(6, 216)
- b29:SetParent(pmisc)
- function b29:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_hitmarkers")) then
- b29:SetText("On")
- b29:SetColor(Color(0, 161, 255, 255))
- else
- b29:SetText("Off")
- b29:SetColor(Color(255, 0, 0, 255))
- end
- b29:SetSize(48, 24)
- b29:SetPos(399, 216)
- b29.DoClick = function()
- if tobool(GetConVarNumber("cl_hitmarkers")) then
- LocalPlayer():ConCommand("cl_hitmarkers 0")
- b29:SetText("Off")
- b29:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_hitmarkers 1")
- b29:SetText("On")
- b29:SetColor(Color(0, 161, 255, 255))
- end
- end
- t37:SetParent(pmisc)
- t37:SetText("Auto-Reload")
- t37:SetWide(96)
- t37:SetPos(6, 246)
- b32:SetParent(pmisc)
- function b32:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_autoreload")) then
- b32:SetText("On")
- b32:SetColor(Color(0, 161, 255, 255))
- else
- b32:SetText("Off")
- b32:SetColor(Color(255, 0, 0, 255))
- end
- b32:SetSize(48, 24)
- b32:SetPos(399, 246)
- b32.DoClick = function()
- if tobool(GetConVarNumber("cl_autoreload")) then
- LocalPlayer():ConCommand("cl_autoreload 0")
- b32:SetText("Off")
- b32:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_autoreload 1")
- b32:SetText("On")
- b32:SetColor(Color(0, 161, 255, 255))
- end
- end
- t39:SetParent(pmisc)
- t39:SetText("Easy-Prop-Kill")
- t39:SetWide(96)
- t39:SetPos(6, 276)
- b34:SetParent(pmisc)
- function b34:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_easypropkill")) then
- b34:SetText("On")
- b34:SetColor(Color(0, 161, 255, 255))
- else
- b34:SetText("Off")
- b34:SetColor(Color(255, 0, 0, 255))
- end
- b34:SetSize(48, 24)
- b34:SetPos(399, 276)
- b34.DoClick = function()
- if tobool(GetConVarNumber("cl_easypropkill")) then
- LocalPlayer():ConCommand("cl_easypropkill 0")
- b34:SetText("Off")
- b34:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_easypropkill 1")
- b34:SetText("On")
- b34:SetColor(Color(0, 161, 255, 255))
- chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString().."' to after picking up a prop.")
- end
- end
- t41:SetParent(pmisc)
- t41:SetText("Prop Spammer")
- t41:SetWide(96)
- t41:SetPos(6, 306)
- b36:SetParent(pmisc)
- function b36:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_servercrash")) then
- b36:SetText("On")
- b36:SetColor(Color(0, 161, 255, 255))
- else
- b36:SetText("Off")
- b36:SetColor(Color(255, 0, 0, 255))
- end
- b36:SetSize(48, 24)
- b36:SetPos(399, 306)
- b36.DoClick = function()
- if tobool(GetConVarNumber("cl_servercrash")) then
- LocalPlayer():ConCommand("cl_servercrash 0")
- b36:SetText("Off")
- b36:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_servercrash 1")
- b36:SetText("On")
- b36:SetColor(Color(0, 161, 255, 255))
- chat.AddText(Color(255, 120, 0), "[Client Assistant] Hold '"..cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString().."' to crash a server.")
- end
- end
- t42:SetParent(pmisc)
- t42:SetText("Prop Spam-ENT")
- t42:SetWide(96)
- t42:SetPos(6, 396)
- local TextEntry9 = vgui.Create("DTextEntry")
- TextEntry9:SetParent(pmisc)
- TextEntry9:SetPos(131, 396)
- TextEntry9:SetTall(24)
- TextEntry9:SetWide(200)
- TextEntry9:SetEnterAllowed(true)
- TextEntry9.OnEnter = function()
- propspam = TextEntry9:GetValue()
- if file.Exists("cl_settings/cl_props.txt", "DATA") then
- file.Delete("cl_settings/cl_props.txt")
- file.Write("cl_settings/cl_props.txt", propspam)
- propspam = file.Read("cl_settings/cl_props.txt", "DATA")
- else
- file.Write("cl_settings/cl_props.txt", propspam)
- propspam = file.Read("cl_settings/cl_props.txt", "DATA")
- end
- end
- t29:SetParent(pmisc)
- t29:SetText("Spam-bot Text")
- t29:SetWide(96)
- t29:SetPos(6, 366)
- local TextEntry8 = vgui.Create("DTextEntry")
- TextEntry8:SetParent(pmisc)
- TextEntry8:SetPos(131, 366)
- TextEntry8:SetTall(24)
- TextEntry8:SetWide(200)
- TextEntry8:SetEnterAllowed(true)
- TextEntry8.OnEnter = function()
- spammsg = TextEntry8:GetValue()
- if file.Exists("cl_settings/cl_spammsg.txt", "DATA") then
- file.Delete("cl_settings/cl_spammsg.txt")
- file.Write("cl_settings/cl_spammsg.txt", spammsg)
- spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
- else
- file.Write("cl_settings/cl_spammsg.txt", spammsg)
- spammsg = file.Read("cl_settings/cl_spammsg.txt", "DATA")
- end
- end
- t26:SetParent(poptions)
- t26:SetWide(120)
- t26:SetText("TTT-Spectators-Target")
- t26:SetPos(288, 6)
- b22:SetParent(poptions)
- function b22:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) then
- b22:SetText("On")
- b22:SetColor(Color(0, 161, 255, 255))
- else
- b22:SetText("Off")
- b22:SetColor(Color(255, 0, 0, 255))
- end
- b22:SetSize(48, 24)
- b22:SetPos(399, 6)
- b22.DoClick = function()
- if tobool(GetConVarNumber("cl_ttt_spectatorstarget")) then
- LocalPlayer():ConCommand("cl_ttt_spectatorstarget 0")
- b22:SetText("Off")
- b22:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_ttt_spectatorstarget 1")
- b22:SetText("On")
- b22:SetColor(Color(0, 161, 255, 255))
- end
- end
- t35:SetParent(poptions)
- t35:SetWide(96)
- t35:SetText("Aim-Key")
- t35:SetPos(288, 36)
- b30:SetParent(poptions)
- function b30:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b30:SetSize(100, 24)
- b30:SetPos(347, 36)
- b30:SetText(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString())
- b30:SetColor(mcolor)
- b30.DoClick = function()
- b30:SetText("Press A Key...")
- b30.Think = function()
- for k = 107, 111 do
- if input.IsMouseDown(k) then
- LocalPlayer():ConCommand("cl_aimkey "..cl_assistant.MouseKeys[k])
- b30:SetText(cl_assistant.MouseKeys[k])
- b30.Think = nil
- mouse1 = true
- key1 = false
- end
- end
- for k = 0, 130 do
- if input.IsKeyDown(k) then
- LocalPlayer():ConCommand("cl_aimkey "..cl_assistant.Keys[k])
- b30:SetText(cl_assistant.Keys[k])
- b30.Think = nil
- mouse1 = true
- key1 = true
- end
- end
- end
- end
- t36:SetParent(poptions)
- t36:SetWide(96)
- t36:SetText("Speed-Key")
- t36:SetPos(288, 66)
- b31:SetParent(poptions)
- function b31:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b31:SetSize(100, 24)
- b31:SetPos(347, 66)
- b31:SetText(cl_assistant.Speedhack.Vars["SpeedOnKey_Key"]:GetString())
- b31:SetColor(mcolor)
- b31.DoClick = function()
- b31:SetText("Press A Key...")
- b31.Think = function()
- for k = 107, 111 do
- if input.IsMouseDown(k) then
- LocalPlayer():ConCommand("cl_speedkey "..cl_assistant.MouseKeys[k])
- b31:SetText(cl_assistant.MouseKeys[k])
- b31.Think = nil
- end
- end
- for k = 0, 130 do
- if input.IsKeyDown(k) then
- LocalPlayer():ConCommand("cl_speedkey "..cl_assistant.Keys[k])
- b31:SetText(cl_assistant.Keys[k])
- b31.Think = nil
- end
- end
- end
- end
- t38:SetParent(poptions)
- t38:SetWide(96)
- t38:SetText("PropKill-Key")
- t38:SetPos(288, 96)
- b33:SetParent(poptions)
- function b33:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b33:SetSize(100, 24)
- b33:SetPos(347, 96)
- b33:SetText(cl_assistant.Propkill.Vars["PropOnKey_Key"]:GetString())
- b33:SetColor(mcolor)
- b33.DoClick = function()
- b33:SetText("Press A Key...")
- b33.Think = function()
- for k = 107, 111 do
- if input.IsMouseDown(k) then
- LocalPlayer():ConCommand("cl_propkillkey "..cl_assistant.MouseKeys[k])
- b33:SetText(cl_assistant.MouseKeys[k])
- b33.Think = nil
- end
- end
- for k = 0, 130 do
- if input.IsKeyDown(k) then
- LocalPlayer():ConCommand("cl_propkillkey "..cl_assistant.Keys[k])
- b33:SetText(cl_assistant.Keys[k])
- b33.Think = nil
- end
- end
- end
- end
- t40:SetParent(poptions)
- t40:SetWide(96)
- t40:SetText("Spam Key")
- t40:SetPos(288, 126)
- b35:SetParent(poptions)
- function b35:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b35:SetSize(100, 24)
- b35:SetPos(347, 126)
- b35:SetText(cl_assistant.Spam.Vars["SpamOnKey_Key"]:GetString())
- b35:SetColor(mcolor)
- b35.DoClick = function()
- b35:SetText("Press A Key...")
- b35.Think = function()
- for k = 107, 111 do
- if input.IsMouseDown(k) then
- LocalPlayer():ConCommand("cl_servercrashkey "..cl_assistant.MouseKeys[k])
- b35:SetText(cl_assistant.MouseKeys[k])
- b35.Think = nil
- end
- end
- for k = 0, 130 do
- if input.IsKeyDown(k) then
- LocalPlayer():ConCommand("cl_servercrashkey "..cl_assistant.Keys[k])
- b35:SetText(cl_assistant.Keys[k])
- b35.Think = nil
- end
- end
- end
- end
- b38:SetParent(poptions)
- function b38:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- b38:SetText("Edit Colors")
- b38:SetColor(mcolor)
- b38:SetSize(100, 24)
- b38:SetPos(347, 156)
- b38.DoClick = function()
- LocalPlayer():ConCommand("cl_menu_color")
- base:Close()
- end
- t43:SetParent(pesp)
- t43:SetWide(96)
- t43:SetText("DarkRP-Ents")
- t43:SetPos(6, 306)
- b37:SetParent(pesp)
- function b37:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_esp_drpents")) then
- b37:SetText("On")
- b37:SetColor(Color(0, 161, 255, 255))
- else
- b37:SetText("Off")
- b37:SetColor(Color(255, 0, 0, 255))
- end
- b37:SetSize(48, 24)
- b37:SetPos(399, 306)
- b37.DoClick = function()
- if tobool(GetConVarNumber("cl_esp_drpents")) then
- LocalPlayer():ConCommand("cl_esp_drpents 0")
- b37:SetText("Off")
- b37:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_esp_drpents 1")
- b37:SetText("On")
- b37:SetColor(Color(0, 161, 255, 255))
- end
- end
- t33:SetParent(paimbot)
- t33:SetWide(96)
- t33:SetText("Target-Props")
- t33:SetPos(6, 126)
- b28:SetParent(paimbot)
- function b28:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_aim_prop")) then
- b28:SetText("On")
- b28:SetColor(Color(0, 161, 255, 255))
- else
- b28:SetText("Off")
- b28:SetColor(Color(255, 0, 0, 255))
- end
- b28:SetSize(48, 24)
- b28:SetPos(399, 126)
- b28.DoClick = function()
- if tobool(GetConVarNumber("cl_aim_prop")) then
- LocalPlayer():ConCommand("cl_aim_prop 0")
- b28:SetText("Off")
- b28:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_aim_prop 1")
- b28:SetText("On")
- b28:SetColor(Color(0, 161, 255, 255))
- end
- end
- t44:SetParent(paimbot)
- t44:SetWide(96)
- t44:SetText("Ragemode")
- t44:SetPos(6, 156)
- b39:SetParent(paimbot)
- function b39:Paint(w, h)
- draw.RoundedBox(0, 0, 0, w, h, Color(255, 255, 255, 0))
- surface.SetDrawColor(mcolor)
- surface.DrawOutlinedRect(1, 1, w - 1, h - 1)
- end
- if tobool(GetConVarNumber("cl_rageaimbot")) then
- b39:SetText("On")
- b39:SetColor(Color(0, 161, 255, 255))
- else
- b39:SetText("Off")
- b39:SetColor(Color(255, 0, 0, 255))
- end
- b39:SetSize(48, 24)
- b39:SetPos(399, 156)
- b39.DoClick = function()
- if tobool(GetConVarNumber("cl_rageaimbot")) then
- LocalPlayer():ConCommand("cl_rageaimbot 0")
- b39:SetText("Off")
- b39:SetColor(Color(255, 0, 0, 255))
- else
- LocalPlayer():ConCommand("cl_rageaimbot 1")
- b39:SetText("On")
- b39:SetColor(Color(0, 161, 255, 255))
- end
- end
- end)
- CreateClientConVar("cl_crosshair", 0, true, false)
- function cl_crosshair()
- if tobool(GetConVarNumber("cl_crosshair")) then
- surface.DrawCircle(ScrW()/2 + csize/2 - csize*0.5, ScrH()/2 + csize/2 - csize*0.5, csize, acolor)
- end
- end
- hook.Add("HUDPaint", "cl_crosshair", cl_crosshair)
- CreateClientConVar("cl_rageaimbot", 0, true, false)
- local function cl_rageaimbot()
- if tobool(GetConVarNumber("cl_rageaimbot")) then
- rageaimbot = 1
- else
- rageaimbot = 0
- end
- end
- hook.Add("Think", "cl_rageaimbot", cl_rageaimbot)
- CreateClientConVar("cl_aimbot", 0, true, false)
- local function cl_aimbot(cmd)
- if rageaimbot == 0 then
- if tobool(GetConVarNumber("cl_aimbot")) and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
- for k, v in pairs(player.GetAll()) do
- if v != LocalPlayer() then
- if(v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
- if(v:Team() != TEAM_SPECTATOR and specs != 1) then
- local lpang = LocalPlayer():GetAngles();
- local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle()
- local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
- local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
- if not(ady > fov or adp > fov) and Target == nil and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- Target = nil
- else
- Target = v
- end
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs == 1 then
- local lpang = LocalPlayer():GetAngles();
- local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle()
- local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
- local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
- if not(ady > fov or adp > fov) and Target == nil and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- Target = nil
- else
- Target = v
- end
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs != 1 then
- v = nil
- end
- end
- end
- else
- v = nil
- end
- end
- end
- end
- else
- if tobool(GetConVarNumber("cl_aimbot")) then
- for k, v in pairs(player.GetAll()) do
- if v != LocalPlayer() then
- if(v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
- if(v:Team() != TEAM_SPECTATOR and specs != 1) then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- Target = nil
- else
- Target = v
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs == 1 then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- Target = nil
- else
- Target = v
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs != 1 then
- v = nil
- end
- end
- end
- else
- v = nil
- end
- end
- end
- end
- end
- if rageaimbot == 0 then
- if(Target != nil and Target:IsPlayer() and Target:Alive() and !Target:InVehicle() and cl_assistant.Visible(Target) and (Target:Health() > 0)) then
- if(Target:Team() != TEAM_SPECTATOR and specs != 1) then
- else
- if Target:Team() == TEAM_SPECTATOR and specs == 1 then
- else
- if v:Team() == TEAM_SPECTATOR and specs != 1 then
- Target = nil
- end
- end
- end
- else
- Target = nil
- end
- if Target != nil and cl_aimbot and cl_assistant.KeyPressed(cl_assistant.Aimbot.Vars["AimOnKey_Key"]:GetString()) then
- if prophunt == 1 and aimprop == 1 then
- local angle = (Target:GetPos() - LocalPlayer():GetShootPos()):Angle()
- Target:SetAnimation(0)
- cmd:SetViewAngles(angle)
- if cmd:GetViewAngles() != (angle) then
- timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
- end
- else
- local angle = (Target:GetBonePosition(Target:LookupBone("ValveBiped.Bip01_Head1")) - LocalPlayer():GetShootPos()):Angle()
- Target:SetAnimation(0)
- cmd:SetViewAngles(angle)
- if cmd:GetViewAngles() != (angle) then
- timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
- end
- end
- else
- Target = nil
- end
- else
- if(Target != nil and Target:IsPlayer() and Target:Alive() and !Target:InVehicle() and cl_assistant.Visible(Target) and (Target:Health() > 0)) then
- if(Target:Team() != TEAM_SPECTATOR and specs != 1) then
- else
- if Target:Team() == TEAM_SPECTATOR and specs == 1 then
- else
- if v:Team() == TEAM_SPECTATOR and specs != 1 then
- Target = nil
- end
- end
- end
- else
- Target = nil
- end
- if Target != nil then
- if prophunt == 1 and aimprop == 1 then
- local angle = (Target:GetPos() - LocalPlayer():GetShootPos()):Angle()
- Target:SetAnimation(0)
- cmd:SetViewAngles(angle)
- if cmd:GetViewAngles() != (angle) then
- timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
- end
- else
- local angle = (Target:GetBonePosition(Target:LookupBone("ValveBiped.Bip01_Head1")) - LocalPlayer():GetShootPos()):Angle()
- Target:SetAnimation(0)
- cmd:SetViewAngles(angle)
- if cmd:GetViewAngles() != (angle) then
- timer.Simple(0.000000000000000000001, function() cmd:SetViewAngles(angle) end)
- end
- end
- else
- Target = nil
- end
- end
- end
- hook.Add("CreateMove", "cl_aimbot", cl_aimbot)
- CreateClientConVar("cl_triggerbot", 0, true, false)
- local function cl_triggerbot(cmd)
- if tobool(GetConVarNumber("cl_triggerbot")) then
- for k, v in pairs(player.GetAll()) do
- if(v != LocalPlayer() and v:IsPlayer() and v:Alive() and !v:InVehicle() and cl_assistant.Visible(v) and (v:Health() > 0)) then
- if tobool(GetConVarNumber("cl_aimbot")) then
- if v:Team() != TEAM_SPECTATOR and specs != 1 then
- if prophunt == 1 and aimprop == 1 then
- v:SetAnimation(0)
- if LocalPlayer():GetEyeTrace().Entity == v then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- v = nil
- else
- RunConsoleCommand("+attack")
- timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
- end
- end
- else
- v:SetAnimation(0)
- if LocalPlayer():GetEyeTrace().Entity == v then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- v = nil
- else
- RunConsoleCommand("+attack")
- timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
- end
- end
- end
- else
- if v:Team() == TEAM_SPECTATOR and specs == 1 then
- if prophunt == 1 and aimprop == 1 then
- v:SetAnimation(0)
- if LocalPlayer():GetEyeTrace().Entity == v then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- v = nil
- else
- RunConsoleCommand("+attack")
- timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
- end
- end
- else
- v:SetAnimation(0)
- if LocalPlayer():GetEyeTrace().Entity == v then
- if((v:GetFriendStatus() == "friend" and asfriends == 1) or (v:Team() == LocalPlayer():Team() and ateams == 1)) then
- v = nil
- else
- RunConsoleCommand("+attack")
- timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
- end
- end
- end
- else
- v = nil
- end
- end
- end
- else
- v = nil
- end
- end
- end
- end
- hook.Add("CreateMove", "cl_triggerbot", cl_triggerbot)
- CreateClientConVar("cl_spambot", 0, true, false)
- local function cl_spambot()
- if tobool(GetConVarNumber("cl_spambot")) then
- if drpesp64 == 0 and tttespspecs == 0 then
- LocalPlayer():ConCommand("say "..spammsg)
- else
- if drpesp64 == 1 then
- LocalPlayer():ConCommand("say /ooc "..spammsg)
- else
- if tttespspecs == 1 and LocalPlayer():Alive() then
- LocalPlayer():ConCommand("say "..spammsg)
- else
- if tttespspecs == 1 and !LocalPlayer():Alive() then
- LocalPlayer():ConCommand("say_team "..spammsg)
- end
- end
- end
- end
- end
- end
- hook.Add("Think", "cl_spambot", cl_spambot)
- CreateClientConVar("cl_autoreload", 0, true, false)
- local function cl_autoreload(cmd)
- if tobool(GetConVarNumber("cl_autoreload")) then
- local active_weapon = LocalPlayer():GetActiveWeapon()
- local ammo_clip = (not IsValid(active_weapon)) and -1 or (active_weapon.Clip1 and active_weapon:Clip1() or 0)
- if ammo_clip == 0 then
- cmd:SetButtons(cmd:GetButtons() + IN_RELOAD)
- end
- end
- end
- hook.Add("CreateMove", "cl_autoreload", cl_autoreload)
- --[[
- 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.
- THIS HACK WAS FIRST STARTED IN DECEMBER 12, 2014. IT WAS COMPLETED IN April 23, 2015, AND TOOK 132 DAYS TO CODE.
- THIS HACK WAS MAINLY CODED BY Classified.
- 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.
- 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.
- IDEAS ORIGINATED FROM STEAM FRIENDS.
- YOU HAVE NO RIGHT TO COPY/MODIFY/REDISTRIBUTE/SELL THIS FILE.
- ALL OF THE THINGS YOU SEE HERE IN THIS HACK BELONG TO THEIR RESPECTED OWNERS.
- IF YOU DO SO FORTH WITH THE COPYING, MODIFYING, REDISTRIBUTING, OR SELLING OF THIS FILE; YOU WILL BE FOUND AND SUED FOR COPYRIGHT.
- HACK INFORMATION:
- DATE STARTED: 12/12/14
- DATE FINISHED: 04/23/15
- ]]
Add Comment
Please, Sign In to add comment