big aimbot (tutorial because wiki one is shit)

Posts 1–8 of 8 · Page 1 of 1
big aimbot (tutorial because wiki one is shit)
don't
you
dare
paste
off
this

if i see this in one hack
i swear i will murder you.
in your sleep.

Code:
// dont paste off it dude

local attacking = 0 // you know shits bout to get real

function notwikipaste(cmd) // aimboat function
	for k,v in pairs(player.GetAll()) do // for every player
		if v != LocalPlayer() and (v:LookupAttachment("eyes") != 0) and v:Alive() and v:Health() > 0 then // check if he isn't you and if he has eyes (wtfgarry) and especially if he's alive
			local nothing = {} // nothing
			
			local tracestuf = {
				[ "start" ] = LocalPlayer():GetShootPos(), // your shoot position, this can also be your eye position
				[ "endpos" ] = v:GetAttachment(v:LookupAttachment("eyes")).Pos, // target eye position
				[ "filter" ] = LocalPlayer(),
				[ "mask" ] = MASK_SHOT
			}
			
			local trace = util.TraceLine(tracestuf, nothing)
			
			if trace.Fraction == 1 or trace.Entity == v then // if you can see the entity then
				aim_target = v // set this guy to aim_target
			else // else set this guy to nothing because you can't see him
				aim_target = nil
			end
			
		end
	end
	
	if aim_target != nil then
		local TargEyePos = aim_target:GetAttachment(aim_target:LookupAttachment("eyes")).Pos // get this guys eye pos (using attachements not bones :ooooooo DON'T LEEK)
		local AimPos = Angle(TargEyePos - EyePos(LocalPlayer())) // ok do you know math????????????
		AimPos.p = math.NormalizeAngle(AimPos.p) // NORMALIZATION
		AimPos.y = math.NormalizeAngle(AimPos.y) // BE NORMAL KIDS
		
		cmd:SetViewAngles(AimPos) // set ur fokin angles

		if attacking != 3 then // big ifthen statements
			RunConsoleCommand("+attack") // obviously best way to do it
			attacking = attacking + 1 // big maths
		elseif attacking == 3 then // bigger ifthen statements
			RunConsoleCommand("-attack") // bester way to do it
			attacking = 0 // huge maths
		end
	end
end

hook.Add("CreateMove", "bigaimboat", notwikipaste) // i wonder what this does!
Quote Originally Posted by sachiel121 View Post
virus
ban
illegal
Super 1337 virus detector, +rep
not even a local function, lol
Quote Originally Posted by tdsx View Post
not even a local function, lol
global function
global aimbot to h@ck thE plan1t
noob noob double noob
I SWear to g od damn jsesus if 1 more of u makes a mean comment on my youtubes videos
Quote Originally Posted by Azrius View Post
I SWear to g od damn jsesus if 1 more of u makes a mean comment on my youtubes videos
I rated it down sorry, only ugly things get ratings up.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us