Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- cd-fukbot!
- Credits:
- Aria - CODES!!!!!!!!!!!
- v5
- */
- // Localization - Sp33d
- // libaries mabe
- local debug = debug
- local chat = chat
- local surface = surface
- local cam = cam
- local draw = draw
- local render = render
- local util = util
- local table = table
- local math = math
- local concommand = concommand
- local input = input
- local team = team
- local hook = hook
- local ents = ents
- local vgui = vgui
- local player = player
- local net = net
- local notification = notification
- // globals?
- local Angle = Angle
- local Color = Color
- local require = require
- local Entity = Entity
- local IsValid = IsValid
- local GetConVar = GetConVar
- local FindMetaTable = FindMetaTable
- local tobool = tobool
- local LocalPlayer = LocalPlayer
- local RunConsoleCommand = RunConsoleCommand
- local CreateClientConVar = CreateClientConVar
- local GetConVarNumber = GetConVarNumber
- local pairs = pairs
- local next = next
- local Material = Material
- local unpack = unpack
- local tonumber = tonumber
- local tostring = tostring
- local type = type
- local Vector = Vector
- local RunString = RunString
- local ScrW = ScrW
- local ScrH = ScrH
- local MsgC = MsgC
- // meta tables ????????????
- local __eq = __eq
- local __tostring = __tostring
- local __gc = __mul
- local __index = __index
- local __concat = __concat
- local __newindex = __newindex
- local __add = __add
- local __sub = __sub
- local __div = __div
- local __call = __call
- local __pow = __pow
- local __unm = __unm
- local __lt = __lt
- local __le = __le
- local __mode = __mode
- local __metatable = __metatable
- require("nyx")
- require("cvar3")
- local _R = debug.getregistry()
- local _G = _G
- // supercheetstuffs
- local GetTeam = _R.Player.Team
- local InVehicle = _R.Player.InVehicle
- local IsAlive = _R.Player.Alive
- local EyePos = _R.Entity.EyePos
- local ToAngles = _R.Vector.Angle
- local IsDormant = _R.Entity.IsDormant
- local GetWeapon = _R.Player.GetActiveWeapon
- local ply = LocalPlayer()
- local CalcViewAngle = Angle()
- local CMDNum = 0
- local loadtime = 0
- local kills = 0
- local aim_target = nil
- local attacking = false
- local attacking2 = false
- local tacbypass = false
- local thirdperson = false
- local oRCC = RunConsoleCommand
- local oFB = _R.Entity.FireBullets
- local function nopenothing()
- end
- local oGCM = GAMEMODE.CreateMove and GAMEMODE.CreateMove or nopenothing()
- local oGHP = GAMEMODE.HUDPaint and GAMEMODE.HUDPaint or nopenothing()
- local oGT = GAMEMODE.Think and GAMEMODE.Think or nopenothing()
- local oGCV = GAMEMODE.CalcView and GAMEMODE.CalcView or nopenothing()
- local gayang2
- local isfakelag = false
- // 100% useful timer
- timer.Create("fukbot.timers.load.loadtime", 0.1, 0, function()
- loadtime = loadtime + 0.1
- end )
- // Defining stuff OK
- local cd = {
- vars = {
- aim_enabled = false,
- aim_aa = false,
- aim_fakelag = false,
- aim_silent = false,
- aim_team = false,
- aim_specs = false,
- aim_specs_only = false,
- esp_enabled = false,
- esp_bones = false,
- esp_chams = false,
- thirdperson = false,
- },
- TAC_Cmds = {
- "tac_debug_cmds",
- "tac_debug_hooks",
- "tac",
- },
- // Credits: NanoHack lua - because i'm lazy
- Bones = {
- Head = 'ValveBiped.Bip01_Head1',
- Neck = 'ValveBiped.Bip01_Neck1',
- Spine = 'ValveBiped.Bip01_Spine',
- Spine1 = 'ValveBiped.Bip01_Spine1',
- Spine2 = 'ValveBiped.Bip01_Spine2',
- Spine3 = 'ValveBiped.Bip01_Spine3',
- Spine4 = 'ValveBiped.Bip01_Spine4',
- [ 'R Hand' ] = 'ValveBiped.Bip01_R_Hand',
- [ 'L Hand' ] = 'ValveBiped.Bip01_L_Hand',
- [ 'R Calf' ] = 'ValveBiped.Bip01_R_Calf',
- [ 'R Foot' ] = 'ValveBiped.Bip01_R_Foot',
- [ 'R Toes' ] = 'ValveBiped.Bip01_R_Toe0',
- [ 'L Calf' ] = 'ValveBiped.Bip01_L_Calf',
- [ 'L Foot' ] = 'ValveBiped.Bip01_L_Foot',
- [ 'L Toes' ] = 'ValveBiped.Bip01_L_Toe0',
- [ 'L Thigh' ] = 'ValveBiped.Bip01_L_Thigh',
- [ 'R Thigh' ] = 'ValveBiped.Bip01_R_Thigh',
- [ 'L Forearm' ] = 'ValveBiped.Bip01_L_Forearm',
- [ 'R Forearm' ] = 'ValveBiped.Bip01_R_Forearm',
- [ 'L Upperarm' ] = 'ValveBiped.Bip01_L_UpperArm',
- [ 'R Upperarm' ] = 'ValveBiped.Bip01_R_UpperArm'
- },
- Cones = {}
- }
- function _R.Entity.FireBullets(ent, bullet)
- if !cd.Cones[ply:GetActiveWeapon():GetClass()] and bullet.Spread then
- cd.Cones[ply:GetActiveWeapon():GetClass()] = bullet.Spread * -1
- end
- return oFB(ent, bullet)
- end
- function cd.CompensateSpread(cmd, gayang)
- local pWep = ply:GetActiveWeapon()
- if !IsValid(pWep) then
- return gayang
- end
- if cd.Cones[pWep:GetClass()] then
- local pCone = cd.Cones[pWep:GetClass()]
- if type(pCone) == "number" then
- gayang2 = Vector(-pCone, -pCone, -pCone)
- elseif type(pCone) == "Vector" then
- gayang2 = pCone
- end
- return (_nyx.RemoveSpread(cmd, gayang, gayang2)):Angle()
- end
- return gayang
- end
- // ok what does it look like
- surface.CreateFont("cd.font", {
- font = "Arial",
- size = 15
- } )
- // :^)
- function cd.Notify(x)
- surface.PlaySound("buttons/button6.wav")
- notification.AddLegacy(x, NOTIFY_GENERIC, 4)
- //chat.AddText(Color(0,0,255,255),"[fukbot] ",Color(240,240,240),x)
- end
- // NOTHING TO SEE HERE!
- function cd.Nothing()
- end
- // big hooks
- cd.CheatHooks = {
- ["CreateMove"] = {},
- ["CalcView"] = {},
- ["HUDPaint"] = {},
- ["Think"] = {}
- }
- // bigger unloasiaonononajaodfhsdfvhas HOW 2 SPELL
- function cd.Unload()
- if tacbypass == false then
- local hooked_vfuncname = "CreateMove"
- for i = 1, #cd.CheatHooks[hooked_vfuncname] do local hook_name = cd.CheatHooks[hooked_vfuncname][i] hook.Remove(hooked_vfuncname, hook_name) cd.Notify("Hook Removed: "..hooked_vfuncname.." ('"..hook_name.."')") table.remove(cd.CheatHooks[hooked_vfuncname],i) end
- hooked_vfuncname = "CalcView"
- for i = 1, #cd.CheatHooks[hooked_vfuncname] do local hook_name = cd.CheatHooks[hooked_vfuncname][i] hook.Remove(hooked_vfuncname, hook_name) cd.Notify("Hook Removed: "..hooked_vfuncname.." ('"..hook_name.."')") table.remove(cd.CheatHooks[hooked_vfuncname],i) end
- hooked_vfuncname = "HUDPaint"
- for i = 1, #cd.CheatHooks[hooked_vfuncname] do local hook_name = cd.CheatHooks[hooked_vfuncname][i] hook.Remove(hooked_vfuncname, hook_name) cd.Notify("Hook Removed: "..hooked_vfuncname.." ('"..hook_name.."')") table.remove(cd.CheatHooks[hooked_vfuncname],i) end
- hooked_vfuncname = "Think"
- for i = 1, #cd.CheatHooks[hooked_vfuncname] do local hook_name = cd.CheatHooks[hooked_vfuncname][i] hook.Remove(hooked_vfuncname, hook_name) cd.Notify("Hook Removed: "..hooked_vfuncname.." ('"..hook_name.."')") table.remove(cd.CheatHooks[hooked_vfuncname],i) end
- aim_target = nil
- concommand.Remove("cd_menu")
- concommand.Remove("cd_unload")
- elseif tacbypass == true then
- GAMEMODE.CreateMove = cd.Nothing
- GAMEMODE.HUDPaint = cd.Nothing
- GAMEMODE.CalcView = cd.Nothing
- end
- cd.Notify("Unloaded!")
- end
- // done explaining ok
- function cd.Esp()
- thirdperson = cd.vars["thirdperson"] and true or false
- if GetConVarString("host_timescale") == "1" then
- draw.DrawText("Sending Packets", "DermaLarge", 700, 850, Color(20, 255, 0, 255), TEXT_ALIGN_LEFT)
- else
- draw.DrawText("Sending Packets", "DermaLarge", 700, 850, Color(255, 20, 0, 255), TEXT_ALIGN_LEFT)
- end
- for k,v in next, player.GetAll() do
- local min = (v:GetPos() + Vector(0, 0, 1)):ToScreen()
- local max = (v:GetPos() + Vector(0, 0, 70)):ToScreen()
- local hit = (min.y - max.y)
- local wid = (hit / 2.5)
- if (v != ply and v:Alive() and cd.vars["esp_enabled"] and v:Health() > 0) then
- local ESP = (v:EyePos()):ToScreen()
- draw.DrawText(v:Name(), "cd.font", ESP.x -25, ESP.y -56, team.GetColor(v:Team()), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- draw.DrawText("Rank: "..v:GetUserGroup(), "cd.font", ESP.x -25, ESP.y -44, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- if(v:GetActiveWeapon():IsValid()) then
- draw.DrawText("Weapon: " ..v:GetActiveWeapon():GetClass(), "cd.font", ESP.x -25, ESP.y -32, Color(255, 255, 255, 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT)
- end
- surface.SetDrawColor(team.GetColor(v:Team()))
- surface.DrawOutlinedRect(max.x - (wid / 2) - 1, max.y - 1, wid + 2, hit + 2)
- draw.RoundedBox(0, max.x - (wid/1.5) + 1, max.y + 1, (wid-2)/10, (hit-2)*0.01 * v:Health(), Color(0,200,0,255))
- if cd.vars["esp_bones"] then
- local FirstBone, SecondBone
- FirstBone = v:GetBonePosition( 0 ):ToScreen()
- SecondBone = v:GetBonePosition( 5 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 5 ):ToScreen()
- SecondBone = v:GetBonePosition( 9 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 9 ):ToScreen()
- SecondBone = v:GetBonePosition( 10 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 10 ):ToScreen()
- SecondBone = v:GetBonePosition( 11 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 5 ):ToScreen()
- SecondBone = v:GetBonePosition( 14 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 14 ):ToScreen()
- SecondBone = v:GetBonePosition( 15 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 15 ):ToScreen()
- SecondBone = v:GetBonePosition( 16 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 0 ):ToScreen()
- SecondBone = v:GetBonePosition( 22 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 22 ):ToScreen()
- SecondBone = v:GetBonePosition( 23 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 23 ):ToScreen()
- SecondBone = v:GetBonePosition( 25 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 0 ):ToScreen()
- SecondBone = v:GetBonePosition( 18 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 18 ):ToScreen()
- SecondBone = v:GetBonePosition( 19 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- FirstBone = v:GetBonePosition( 19 ):ToScreen()
- SecondBone = v:GetBonePosition( 21 ):ToScreen()
- surface.DrawLine(FirstBone.x, FirstBone.y, SecondBone.x, SecondBone.y)
- end
- if cd.vars["esp_chams"] then
- cam.Start3D()
- cam.IgnoreZ(true)
- render.MaterialOverride(Material("models/debug/debugwhite"))
- render.SuppressEngineLighting( true )
- local col = Color(0, 110, 255)
- 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
- function cd.Crosshair()
- local x = ScrW() / 2.0075285
- local y = ScrH() / 2.009
- surface.SetDrawColor(50, 150, 255, 255)
- surface.DrawRect(x, y, 5, 5, 0)
- end
- function cd.NoRecoil()
- local ply = LocalPlayer()
- local weapon = ply:GetActiveWeapon()
- if weapon.Primary then
- if weapon.Primary.Recoil then
- weapon.Primary.Recoil = 0
- end
- if weapon.Primary.KickUp then
- weapon.Primary.KickUp = 0
- weapon.Primary.KickDown = 0
- weapon.Primary.KickHorizontal = 0
- end
- end
- end
- function cd.IsVisible(vPosition, aim_target)
- local __trace = {}
- local ply = LocalPlayer()
- local gsp = ply:GetShootPos()
- local _trace = {
- [ "start" ] = gsp,
- [ "endpos" ] = vPosition,
- [ "filter" ] = ply,
- [ "mask" ] = MASK_SHOT
- }
- local trace = util.TraceLine( _trace, __trace )
- return (trace.Fraction == 1 or trace.Entity == aim_target)
- end
- function cd.Attack(cmd)
- local ply = LocalPlayer()
- local weapon = ply:GetActiveWeapon()
- if IsValid(wep) and weapon.Primary and (weapon.Primary.Automatic == true) then
- cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_ATTACK))
- attacking = true
- else
- if attacking then
- cmd:RemoveKey(IN_ATTACK)
- attacking = false
- else
- cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_ATTACK))
- attacking = true
- end
- end
- if IsValid(wep) and weapon.Primary and (weapon.Primary.Automatic == false) then
- if attacking2 then
- cmd:RemoveKey(IN_ATTACK)
- attacking2 = false
- else
- cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_ATTACK))
- attacking2 = true
- end
- end
- end
- function cd.GetAimArea(pEnt)
- if pEnt:LookupAttachment("eyes") != 0 and cd.IsVisible(pEnt:GetAttachment(pEnt:LookupAttachment("eyes")).Pos, pEnt) then
- return pEnt:GetAttachment(pEnt:LookupAttachment("eyes")).Pos
- else
- for k,v in next, cd.Bones do
- if pEnt:LookupBone(v) then
- if cd.IsVisible(pEnt:GetBonePosition(pEnt:LookupBone(v)), pEnt) then
- return pEnt:GetBonePosition(pEnt:LookupBone(v))
- end
- end
- end
- end
- return pEnt:GetPos() + pEnt:OBBCenter()
- end
- function cd.ValidTarget(pEnt)
- if (!pEnt) then return false end
- if (IsDormant(pEnt)) then return false end
- if pEnt:IsPlayer() then
- if (pEnt == ply) then return false end
- if (!IsAlive(pEnt)) then return false end
- if (InVehicle(pEnt)) then return false end
- if (GetTeam(pEnt) == TEAM_SPECTATOR) and !cd.vars["aim_specs"] and !cd.vars["aim_specs_only"] then return false end
- if (GetTeam(pEnt) != TEAM_SPECTATOR) and cd.vars["aim_specs_only"] then return false end
- if !cd.vars["aim_team"] then
- if pEnt:Team() == ply:Team() then return false end
- end
- if !cd.IsVisible(cd.GetAimArea(pEnt), pEnt) then return false end
- end
- return true
- end
- local isaaing
- function cd.AimThread()
- aim_target = nil
- for k,v in next, player.GetAll() do
- local pEnt = v
- if (!cd.ValidTarget(pEnt)) then continue end
- aim_target = pEnt
- end
- end
- function cd.GetAimPos(pEnt, cmd)
- local ply = LocalPlayer()
- local AimArea = cd.GetAimArea(pEnt)
- if cmd:CommandNumber() > 0 then
- AimArea = AimArea - ply:GetVelocity() * engine.TickInterval()
- end
- return AimArea
- end
- function cd.SilentAim(cmd)
- if cd.vars["aim_silent"] or cd.vars["aim_aa"] then
- CalcViewAngle = CalcViewAngle + Angle(cmd:GetMouseY() * 0.023, cmd:GetMouseX() * -0.023, 0)
- CalcViewAngle.p = math.Clamp(CalcViewAngle.p, -89, 89)
- CalcViewAngle.y = math.NormalizeAngle(CalcViewAngle.y)
- else
- CalcViewAngle = cmd:GetViewAngles()
- end
- end
- function cd.MovementFix(cmd, aa)
- local GetFix = Vector(cmd:GetForwardMove(), cmd:GetSideMove(), 0)
- GetFix = (GetFix:Angle() + cmd:GetViewAngles() -Angle(0, CalcViewAngle.y, 0)):Forward() * GetFix:Length()
- if aa then
- cmd:SetForwardMove(GetFix.x)
- cmd:SetSideMove(GetFix.y * -1)
- return
- end
- cmd:SetForwardMove(GetFix.x)
- cmd:SetSideMove(GetFix.y)
- end
- local isaimbotting = false
- local aa_ang = Angle(0, 0, 0)
- local DirtySilent = false
- local bBulletTime = false
- function cd.Aimb0t(cmd)
- cd.SilentAim(cmd)
- if aim_target != nil and cd.vars["aim_enabled"] and cmd:CommandNumber() != 0 then
- isaimbotting = true
- local tPos = cd.GetAimPos(aim_target, cmd)
- local aPos = ToAngles(tPos - EyePos(ply))
- aPos.p = math.NormalizeAngle(aPos.p)
- aPos.y = math.NormalizeAngle(aPos.y)
- aPos = cd.CompensateSpread(cmd, aPos)
- cmd:SetViewAngles(aPos)
- cd.Attack(cmd)
- cd.MovementFix(cmd)
- return
- else
- isaimbotting = false
- end
- if cd.vars["aim_silent"] or cd.vars["aim_aa"] then
- cmd:SetViewAngles(CalcViewAngle)
- end
- end
- local randomlol
- local queue = 0
- local flnum = 15
- function cd.FakeLag(cmd)
- if cd.vars["aim_fakelag"] then
- if cmd:CommandNumber() == 0 then return end
- if !isaimbotting then
- flnum = 11
- else
- flnum = 3
- end
- queue = queue + 1
- if queue > 0 or queue == 0 then
- if queue < flnum then
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(0)
- GetConVar("sv_cheats"):SetValue(0)
- else
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- end
- else
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- end
- if queue == 15 or queue > 15 then
- queue = 0
- end
- else
- queue = 0
- if !cd.vars["aim_aa"] then
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- end
- end
- end
- local ShouldChange = false
- function cd.AntiAim(cmd)
- if cd.vars["aim_aa"] and !input.IsMouseDown(MOUSE_LEFT) and !isaimbotting and !cd.vars["aim_fakelag"] then
- randomlol = math.random(1, 2)
- isaaing = true
- if ShouldChange == true then
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- cmd:SetViewAngles(Angle(-180, 130, 0))
- cd.MovementFix(cmd, true)
- else
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(0)
- GetConVar("sv_cheats"):SetValue(0)
- cmd:SetViewAngles(Angle(180, -130, 0))
- cd.MovementFix(cmd, true)
- end
- ShouldChange = !ShouldChange
- elseif cd.vars["aim_aa"] and !input.IsMouseDown(MOUSE_LEFT) and !isaimbotting and cd.vars["aim_fakelag"] then
- if GetConVarString("host_timescale") == "0" then
- cmd:SetViewAngles(Angle(-181, 373, 0))
- cd.MovementFix(cmd, true)
- else
- cmd:SetViewAngles(Angle(-181, -373, 0))
- cd.MovementFix(cmd, true)
- end
- else
- if !cd.vars["aim_fakelag"] then
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- end
- isaaing = false
- end
- end
- function cd.BunnyHop(cmd)
- local ply = LocalPlayer()
- if ply:IsOnGround() and cmd:KeyDown(IN_JUMP) then
- cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_JUMP))
- else
- cmd:RemoveKey(IN_JUMP)
- end
- end
- function cd.Menu()
- cd.MenuOpen = true
- local Main = vgui.Create("DFrame")
- Main:SetSize(400, 230)
- Main:SetTitle("")
- Main:Center()
- Main:MakePopup()
- Main:ShowCloseButton(true)
- Main.Paint = function( self )
- draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color( 50, 50, 50 ))
- draw.RoundedBox(0, 0, 0, self:GetWide(), 25, Color(50, 50, 200))
- draw.SimpleText("fukbot", "BudgetLabel", self:GetWide() / 2, 12.5, Color(255,255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
- surface.SetDrawColor(Color(75,75,75))
- surface.DrawLine(115, 25, 115, self:GetTall())
- surface.DrawLine(115, self:GetTall() - 55, self:GetWide(), self:GetTall() - 55)
- draw.SimpleText("Menu made by Alessa", "BudgetLabel", 120, self:GetTall() - 50, Color(255,255,255))
- draw.SimpleText("Hack made by aria", "BudgetLabel", 120, self:GetTall() - 30, Color(255,255,255))
- end
- local AimEnabled = vgui.Create("DCheckBoxLabel", Main)
- AimEnabled:SetPos(122, 33)
- AimEnabled:SetText("Aimbot Enabled")
- AimEnabled:SetVisible(false)
- AimEnabled:SetValue(cd.vars["aim_enabled"])
- AimEnabled:SizeToContents()
- AimEnabled.OnChange = function(self)
- cd.vars["aim_enabled"] = tobool(self:GetChecked())
- end
- local AimBoneScan = vgui.Create("DCheckBoxLabel", Main)
- AimBoneScan:SetPos(122, 52 /*52*/)
- AimBoneScan:SetText("Silent Aim")
- AimBoneScan:SetVisible(false)
- AimBoneScan:SetValue(cd.vars["aim_silent"])
- AimBoneScan:SizeToContents()
- AimBoneScan.OnChange = function(self)
- cd.vars["aim_silent"] = tobool(self:GetChecked())
- end
- local AimAA = vgui.Create("DCheckBoxLabel", Main)
- AimAA:SetPos(122, 71/*52*/)
- AimAA:SetText("Anti-Aim")
- AimAA:SetVisible(false)
- AimAA:SetValue(cd.vars["aim_aa"])
- AimAA:SizeToContents()
- AimAA.OnChange = function(self)
- cd.vars["aim_aa"] = tobool(self:GetChecked())
- end
- local AimAAJ = vgui.Create("DCheckBoxLabel", Main)
- AimAAJ:SetPos(122, 90/*52*/)
- AimAAJ:SetText("FakeLag")
- AimAAJ:SetVisible(false)
- AimAAJ:SetValue(cd.vars["aim_fakelag"])
- AimAAJ:SizeToContents()
- AimAAJ.OnChange = function(self)
- cd.vars["aim_fakelag"] = tobool(self:GetChecked())
- end
- local AimTeam = vgui.Create("DCheckBoxLabel", Main)
- AimTeam:SetPos(122, 109/*52*/)
- AimTeam:SetText("Aim at Team")
- AimTeam:SetVisible(false)
- AimTeam:SetValue(cd.vars["aim_team"])
- AimTeam:SizeToContents()
- AimTeam.OnChange = function(self)
- cd.vars["aim_team"] = tobool(self:GetChecked())
- end
- local AimIgnoreSpec = vgui.Create("DCheckBoxLabel", Main)
- AimIgnoreSpec:SetPos(122, 128/*71*/)
- AimIgnoreSpec:SetText("Aim at Spectators"/*"Ignore Spectators"*/)
- AimIgnoreSpec:SetVisible(false)
- AimIgnoreSpec:SetValue(cd.vars["aim_specs"])
- AimIgnoreSpec:SizeToContents()
- AimIgnoreSpec.OnChange = function(self)
- cd.vars["aim_specs"] = tobool(self:GetChecked())
- end
- local AimOnlySpec = vgui.Create("DCheckBoxLabel", Main)
- AimOnlySpec:SetPos(122, 147/*90*/)
- AimOnlySpec:SetText("Aim Only at Spectators")
- AimOnlySpec:SetVisible(false)
- AimOnlySpec:SetValue(cd.vars["aim_specs_only"])
- AimOnlySpec:SizeToContents()
- AimOnlySpec.OnChange = function(self)
- cd.vars["aim_specs_only"] = tobool(self:GetChecked())
- end
- local EspEnabled = vgui.Create("DCheckBoxLabel", Main)
- EspEnabled:SetPos(122, 33)
- EspEnabled:SetText("ESP Enabled")
- EspEnabled:SetVisible(false)
- EspEnabled:SetValue(cd.vars["esp_enabled"])
- EspEnabled:SizeToContents()
- EspEnabled.OnChange = function(self)
- cd.vars["esp_enabled"] = tobool(self:GetChecked())
- end
- local EspBone = vgui.Create("DCheckBoxLabel", Main)
- EspBone:SetPos(122, 52)
- EspBone:SetText("Bone ESP")
- EspBone:SetVisible(false)
- EspBone:SetValue(cd.vars["esp_bones"])
- EspBone:SizeToContents()
- EspBone.OnChange = function(self)
- cd.vars["esp_bones"] = tobool(self:GetChecked())
- end
- local EspChams = vgui.Create("DCheckBoxLabel", Main)
- EspChams:SetPos(122, 71)
- EspChams:SetText("ESP Chams")
- EspChams:SetVisible(false)
- EspChams:SetValue(cd.vars["esp_chams"])
- EspChams:SizeToContents()
- EspChams.OnChange = function(self)
- cd.vars["esp_chams"] = tobool(self:GetChecked())
- end
- local ThirdPerson = vgui.Create("DCheckBoxLabel", Main)
- ThirdPerson:SetPos(122, 71 + 19)
- ThirdPerson:SetText("Third Person")
- ThirdPerson:SetVisible(false)
- ThirdPerson:SetValue(cd.vars["thirdperson"])
- ThirdPerson:SizeToContents()
- ThirdPerson.OnChange = function(self)
- cd.vars["thirdperson"] = tobool(self:GetChecked())
- end
- local AimButton = vgui.Create("DButton", Main)
- AimButton:SetSize(100, 80)
- AimButton:SetPos(7, 40)
- AimButton:SetText("")
- AimButton.Paint = function(self)
- draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(100, 100, 255))
- draw.SimpleText("Aimbot", "BudgetLabel", self:GetWide() / 2, self:GetTall() / 2, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
- end
- AimButton.DoClick = function(self)
- AimEnabled:SetVisible(true)
- AimBoneScan:SetVisible(true)
- AimAA:SetVisible(true)
- AimAAJ:SetVisible(true)
- AimTeam:SetVisible(true)
- AimIgnoreSpec:SetVisible(true)
- AimOnlySpec:SetVisible(true)
- EspEnabled:SetVisible(false)
- EspBone:SetVisible(false)
- EspChams:SetVisible(false)
- ThirdPerson:SetVisible(false)
- end
- local EspButton = vgui.Create("DButton", Main)
- EspButton:SetSize(100, 80)
- EspButton:SetPos(7, 136)
- EspButton:SetText("")
- EspButton.Paint = function(self)
- draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(100, 100, 255))
- draw.SimpleText("Visuals", "BudgetLabel", self:GetWide() / 2, self:GetTall() / 2, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
- end
- EspButton.DoClick = function(self)
- AimEnabled:SetVisible(false)
- AimBoneScan:SetVisible(false)
- AimAA:SetVisible(false)
- AimAAJ:SetVisible(false)
- AimTeam:SetVisible(false)
- AimIgnoreSpec:SetVisible(false)
- AimOnlySpec:SetVisible(false)
- EspEnabled:SetVisible(true)
- EspBone:SetVisible(true)
- EspChams:SetVisible(true)
- ThirdPerson:SetVisible(true)
- end
- end
- function cd.CreateMove(cmd)
- cd.AimThread()
- cd.Aimb0t(cmd)
- cd.AntiAim(cmd)
- cd.FakeLag(cmd)
- cd.BunnyHop(cmd)
- if cmd:CommandNumber() == 0 and !cd.vars["thirdperson"] then
- cmd:SetViewAngles(CalcViewAngle)
- end
- end
- function cd.HUDPaint()
- cd.Esp()
- //cd.Crosshair()
- end
- function cd.Think()
- local ply = LocalPlayer()
- if ply:IsTyping() then
- GetConVar("sv_cheats"):SetValue(1)
- GetConVar("host_timescale"):SetValue(1)
- GetConVar("sv_cheats"):SetValue(0)
- end
- end
- function cd.DrawLocalPlayer()
- return thirdperson
- end
- cd.randsay = {
- "HEADSMASHED",
- "OWNED",
- "REKT",
- "PWNED",
- "SHREKT"
- }
- function cd.saykilledply(data)
- local ply = LocalPlayer()
- if data.health == 0 or data.health < 0 then
- if data.attacker == ply:UserID() then
- for k,v in next, player.GetAll() do
- if data.userid == v:UserID() then
- kills = kills + 1
- if GetConVarNumber("fukbot_say_killed") != 1 then return end
- if kills == 1 then
- oRCC("say", "[fukbot] " .. v:Name() .. " just got OWNED! [1]")
- elseif kills == 2 then
- oRCC("say", "[fukbot] DOUBLE KILL! " .. v:Name() .. " just got OWNED! [2]")
- elseif kills == 3 then
- oRCC("say", "[fukbot] TRIPLE KILL!! " .. v:Name() .. " just got OWNED! [3]")
- elseif kills == 4 then
- oRCC("say", "[fukbot] FUCKING QUAD FEED! " .. v:Name() .. " just got HEADSMASHED! [4]")
- elseif kills >= 5 and kills < 10 then
- oRCC("say", "[fukbot] KILLING SPREE! " .. v:Name() .. " just got HEADSMASHED! [" .. tostring(kills) .. "]")
- elseif kills >= 10 and kills < 15 then
- oRCC("say", "[fukbot] RAMPAGE! " .. v:Name() .. " just got OWNED! [" .. tostring(kills) .. "]")
- elseif kills >= 15 and kills < 20 then
- oRCC("say", "[fukbot] DOMINATING! " .. v:Name() .. " just got HEADSMASHED! [" .. tostring(kills) .. "]")
- elseif kills >= 20 and kills < 25 then
- oRCC("say", "[fukbot] UNSTOPPABLE! " .. v:Name() .. " JUST GOT OWNED! [" .. tostring(kills) .. "]")
- elseif kills >= 25 and kills < 30 then
- oRCC("say", "[fukbot] WICKED SICK! " .. v:Name() .. " JUST GOT HEADSMASHED! [" .. tostring(kills) .. "]")
- elseif kills >= 30 and kills < 35 then
- oRCC("say", "[fukbot] GODLIKE! " .. v:Name() .. " JUST GOT HEADSMASHED [" .. tostring(kills) .. "]")
- elseif kills >= 35 then
- oRCC("say", "[fukbot] BEYOND GODLIKE! " .. v:Name() .. " JUST GOT " .. table.Random(cd.randsay) .. " [" .. tostring(kills) .. "]")
- end
- end
- end
- elseif data.userid == ply:UserID() then
- kills = 0
- return
- end
- end
- end
- function cd.AddHook(ht, hn, hf)
- local nhn = util.CRC(hn)
- hook.Add(ht, nhn, hf)
- end
- cd.AddHook("player_hurt", "cd.playerhurt", cd.saykilledply)
- gameevent.Listen("player_hurt")
- function cd.Check()
- if ulx then
- print("[fukbot] ULX is installed! (THREAT LEVEL: NONE)")
- if ulx.screengrab then
- print("[fukbot] ULX Screengrab found! (THREAT LEVEL: MEDIUM)")
- else
- print("[fukbot] ULX Screengrab not found!")
- end
- else
- print("[fukbot] ULX not found!")
- end
- if QAC or qac then
- print("[fukbot] Quack Anti Cheat found! (THREAT LEVEL: MEDIUM)")
- end
- if CAC or cac then
- print("[fukbot] Cake Anti Cheat found! (THREAT LEVEL: VERY HIGH!)")
- print("[fukbot] Leaving...")
- oRCC("disconnect")
- end
- if LeyAC or leyac then
- print("[fukbot] LeyAC found! (THREAT LEVEL: VERY HIGH!)")
- print("[fukbot] Leaving...")
- oRCC("disconnect")
- end
- if CDAC or cdac then
- print("[fukbot] aria Anti Cheat found! (THREAT LEVEL: MEDIUM)")
- end
- if DAC or dac then
- print("[fukbot] Daz Anti Cheat found! (THREAT LEVEL: VERY LOW)")
- end
- for k,v in pairs(concommand.GetTable()) do
- if cd.TAC_Cmds[k] then
- print("[fukbot] Tyler's Anti Cheat found! (THREAT LEVEL: MEDIUM)")
- print("[fukbot] Switching into TAC Bypass mode.")
- tacbypass = true
- end
- end
- end
- function render.Capture()
- cd.Notify("Somebody tried to screengrab you!")
- print("[fukbot] Blocked render.Capture()")
- return "pwned"
- end
- function render.CapturePixels()
- cd.Notify("Somebody tried to screengrab you!")
- print("[fukbot] Blocked render.CapturePixels()")
- return "pwned"
- end
- function cd.CalcView(p, origin, a, fov)
- local view = {}
- view.angles = CalcViewAngle
- view.origin = cd.vars["thirdperson"] and origin - CalcViewAngle:Forward() * 100 or origin
- view.fov = fov
- return view
- end
- cd.Check()
- /*
- GAMEMODE.CreateMove = function(cmd)
- cd.CreateMove(cmd)
- oGCM(cmd)
- end
- GAMEMODE.CalcView = function(...)
- cd.CalcView(...)
- oGCV(...)
- end
- GAMEMODE.HUDPaint = function()
- cd.HUDPaint()
- oGHP()
- end
- GAMEMODE.Think = function()
- cd.Think()
- oGT()
- end
- */
- cd.AddHook("CreateMove", "cd.createmove", cd.CreateMove)
- cd.AddHook("CalcView", "cd.calcview", cd.CalcView)
- cd.AddHook("ShouldDrawLocalPlayer", "cd.shoulddrawlocalplayer", cd.DrawLocalPlayer)
- cd.AddHook("HUDPaint", "cd.hudpaint", cd.HUDPaint)
- cd.AddHook("Think", "cd.think", cd.Think)
- CreateClientConVar("fukbot_say_killed", 1, true, false)
- notification.AddProgress("lolwut", "fukbot v3.2 loaded in " .. tostring(loadtime) .. " seconds!")
- concommand.Add("fukbot_menu", cd.Menu)
- timer.Destroy("fukbot.timers.load.loadtime")
- timer.Simple(5, function() notification.Kill("lolwut") end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement