Results 1 to 5 of 5
  1. #1
    poonystalker's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    Your dad's bed ( ͡° ͜ʖ ͡°)
    Posts
    12
    Reputation
    10
    Thanks
    78

    Aimbot Broken (Big Newb)

    Code:
    hook.Add("CreateMove", "Aimbot", function(CUserCmd)
        
        for k,v in pairs ( player.GetAll() ) do
            
            local aimat = ( v:GetPos() )
            
            if v == LocalPlayer() then aimat = "" else aimat = v:GetPos() end
            
            local ply = LocalPlayer()
            local trace = util.GetPlayerTrace( v ) 
            local traceRes = util.TraceLine( trace )
            if traceRes.HitNonWorld then 
                if v:IsPlayer() then
                    local targethead = v:LookupBone("ValveBiped.Bip01_Head1") 
                    local targetheadpos = v:GetBonePosition(targethead) 
                    CUserCmd:SetViewAngles((targetheadpos - ply:GetShootPos()):Angle())
                end
            end
        end
    end)
    Anybody help? The aimbot randomly aims at people through walls and is extremely shakey.
    Last edited by Hunter; 01-17-2016 at 12:41 PM.

  2. #2
    cdr1za's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    86
    Quote Originally Posted by poonystalker View Post
    Code:
    hook.Add("CreateMove", "Aimbot", function(CUserCmd)
    	
    	for k,v in pairs ( player.GetAll() ) do
    		
    		local aimat = ( v:GetPos() )
    		
    		if v == LocalPlayer() then aimat = "" else aimat = v:GetPos() end
    		
    		local ply = LocalPlayer()
    		local trace = util.GetPlayerTrace( v ) 
    		local traceRes = util.TraceLine( trace )
    		if traceRes.HitNonWorld then 
    			if v:IsPlayer() then
    				local targethead = v:LookupBone("ValveBiped.Bip01_Head1") 
    				local targetheadpos = v:GetBonePosition(targethead) 
    				CUserCmd:SetViewAngles((targetheadpos - ply:GetShootPos()):Angle())
    			end
    		end
    	end
    end)
    Anybody help? The aimbot randomly aims at people through walls and is extremely shakey.
    ur getting trace for wrong person, get the trace for yourself

  3. #3
    2cashs's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Location
    Next door to regans pub
    Posts
    15
    Reputation
    10
    Thanks
    14
    or !v:Alive()
    or v:Health() < 1
    I hope you realize The Alive check is %100 slow compared to health,

  4. #4
    poonystalker's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Location
    Your dad's bed ( ͡° ͜ʖ ͡°)
    Posts
    12
    Reputation
    10
    Thanks
    78
    Quote Originally Posted by 2cashs View Post
    I hope you realize The Alive check is %100 slow compared to health,
    I was informed of this and corrected it. I also added a toggleable team check.

  5. #5
    2cashs's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Location
    Next door to regans pub
    Posts
    15
    Reputation
    10
    Thanks
    14
    Quote Originally Posted by poonystalker View Post
    I was informed of this and corrected it. I also added a toggleable team check.
    Here, this should help you a bit with things.
    if(v == me || v:IsDormant() || eHealth(v) < 1) then continue; end
    if(DreamBo*****nfig["Aimbot"]["GhostCheck"] && v:GetColor().a != 255) then continue; end
    if(!DreamBo*****nfig["Aimbot"]["targetteam"] && !DreamBo*****nfig["Aimbot"]["onlytargetteam"] && pTeam(me) == pTeam(v)) then continue; end
    if (DreamBo*****nfig["Aimbot"]["onlytargetteam"] && pTeam(v) != pTeam(me)) then continue; end
    if(!DreamBo*****nfig["Aimbot"]["targetfriends"] && pGetFriendStatus(v) == "friend") then continue; end

Similar Threads

  1. [Release] big aimbot (tutorial because wiki one is shit)
    By rip_cdriza in forum Garry's Mod Hacks & Cheats
    Replies: 7
    Last Post: 02-18-2015, 12:39 PM
  2. [Release] Broken Daz Aimbot
    By MeepDarknessMeep in forum Garry's Mod Hacks & Cheats
    Replies: 18
    Last Post: 08-18-2013, 05:45 PM
  3. [Info] Big shoutout to all those fucktards who think i macro/uav/superweapon/aimbot etc.
    By Roid_Raged in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 18
    Last Post: 04-06-2013, 03:47 PM
  4. Big Xmas release! AVA Aimbot
    By vinic0 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 237
    Last Post: 12-30-2009, 07:07 PM
  5. Notice: To spamming newbs.
    By Dave84311 in forum General
    Replies: 0
    Last Post: 12-26-2005, 10:56 PM