bruteforce aimbot v1
Over at the dango.club teamspeak, our crew in the Garry's Mod Cheating Department have came up with with a new, much more efficient way to aimbot players and I am here to release this for you guys to use, free of charge.
This uses an advanced bruteforcing technique we came up with, it bruteforces every possible angle a player could be in, it will be able to reach any player, no matter where they are hiding on your screen.
Enjoy the free code!!
This uses an advanced bruteforcing technique we came up with, it bruteforces every possible angle a player could be in, it will be able to reach any player, no matter where they are hiding on your screen.
Code:
local function isAimingAtTarget()
local target = LocalPlayer():GetEyeTrace().Entity
if ( IsValid(target) && target:IsPlayer() ) then
return true
end
return false
end
local function bruteforceAngles( ucmd )
if ( ucmd:CommandNumber() == 0 ) then return end
local pMin, pMax = 89, -89
local pButtons = bit.bor( ucmd:GetButtons(), IN_ATTACK )
local pAngle = ucmd:GetViewAngles()
local pPitch, pYaw = pAngle.p, pAngle.y
if ( isAimingAtTarget() ) then
ucmd:SetButtons( pButtons )
return
end
if ( pPitch < pMin ) then
pPitch = pPitch + 1
elseif ( pPitch == pMin ) then
pPitch = pMax
pYaw = pYaw + 1
end
ucmd:SetViewAngles( Angle( pPitch, pYaw, 0 ) )
end
hook.Add( "CreateMove", "aimbot", bruteforceAngles )

