Code:
/*
by Yung PAin The Cant Code Lmao
*/
local function gethead(v)
local pos, ang = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1"))
if pos then
return pos
end
end
local me = LocalPlayer()
local function trashaimbot(cmd)
--local myteam = ( team.GetName( me:Team() ) )
for k,v in next, player.GetAll() do
if (!IsValid(v)
or v:Health() < 1
or v:IsDormant()
or v == me
or v:Team() == LocalPlayer():Team() ) then
continue
end
local head = gethead(v)
local mypos = me:GetShootPos()
local tracetable = {
start = head,
endpos = mypos,
filter = {me, v},
mask = MASK_SHOT
}
if util.TraceLine(tracetable).Fraction == 1 then
aiming = 1
cmd:SetViewAngles((head - mypos):Angle())
cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_ATTACK))
else
aiming = 0
end
end
end
hook.Add("CreateMove", "", trashaimbot)
-- WIKI ESPNames I DONT CARE IM BIG HACK USER
hook.Add( "HUDPaint", "ESPNames", function()
for k,v in pairs ( player.GetAll() ) do
local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
local Name = ""
if v == LocalPlayer() then Name = "" else Name = v:Name() end
draw.DrawText( Name, "DebugFixedSmall", Position.x, Position.y, Color( 255, 0, 255, 255 ), 1 )
end
end )
-- BAD ANTI AIM
CreateClientConVar("kayko_AntiAim",0,true,false)
hook.Add("CreateMove","AntiAim", function(CUserCmd)
local AntiAimToggle = CreateClientConVar( "kayko_AntiAim", 0, true, false )
if AntiAimToggle:GetInt() == 1 && LocalPlayer():Alive() && aiming == 0 then
CUserCmd:SetViewAngles(Angle(-181, LocalPlayer():EyeAngles().y, 180))
end
end)
CreateClientConVar("kayko_lock",0,true,false)
hook.Add( "HUDPaint", "IAmLocked", function()
if GetConVar("kayko_lock"):GetInt() == 1 then
if aiming == 1 then
draw.DrawText( "Target Locked", "CloseCaption_Bold", 800, 500, Color( 0, 255, 0, 255 ), 1 )
else
draw.DrawText( "Locating Target", "CloseCaption_Bold", 800, 500, Color( 255, 0, 0, 255 ), 1 )
end
end
end )
-- WORST BHOP EVER
hook.Add("Think", "Bhop", function()
if input.IsKeyDown(KEY_SPACE) && LocalPlayer():IsOnGround() && !LocalPlayer():IsTyping() then
RunConsoleCommand( "+jump" )
else
RunConsoleCommand( "-jump" )
end
end)
/*
WATERMARK
*/
surface.CreateFont( "MyFont", {
font = "Arial",
size = 25,
weight = 500,
blursize = 0,
scanlines = 0,
antialias = true,
underline = false,
italic = true,
strikeout = false,
symbol = false,
rotary = false,
shadow = false,
additive = false,
outline = false,
} )
hook.Add( "HUDPaint", "drawsometext", function()
surface.SetFont( "MyFont" )
surface.SetTextColor(255, 0, 255)
surface.SetTextPos( 600, 70 )
surface.DrawText( "KAYKO~BOT V3.0 by Yung Pain " )
end )