Thread: Aimbot Help

Results 1 to 3 of 3
  1. #1
    CyanRed3's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    cfitsio.dll
    Posts
    79
    Reputation
    10
    Thanks
    425
    My Mood
    Cheerful

    Question Aimbot Help

    I made an aimbot, and it works. But it seems to favor one person. If that person is dead, it will go to the next. Is there a way to fix it?

    Code:
    hook.Add( "Think", "Aimbot", function()
    
    	for k,v in pairs ( player.GetAll() ) do
    	
    			if v:Alive() and v:IsValid() then
    		
    				local head = v:LookupBone("ValveBiped.Bip01_Head1")
    				local headpos,headang = v:GetBonePosition(head)
    			
    				if input.IsKeyDown( KEY_LALT ) then
    		
    				ply:SetEyeAngles((headpos - ply:GetShootPos()):Angle())
    		
    			end
    		end
    	end
    end)
    Thanks

  2. #2
    Lielos's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    5
    sort player table by distance relative to localplayer and/or use fov system

  3. #3
    CyanRed3's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    cfitsio.dll
    Posts
    79
    Reputation
    10
    Thanks
    425
    My Mood
    Cheerful
    Thanks, didnt think of that.

Similar Threads

  1. [Help Request] Color Aimbot Help (VB)
    By Thealexzava in forum Call of Duty Modern Warfare 3 Help
    Replies: 0
    Last Post: 02-22-2013, 01:26 PM
  2. [Help Request] Color Aimbot HELP!!! (c++)
    By Thealexzava in forum Call of Duty Modern Warfare 3 Help
    Replies: 2
    Last Post: 02-03-2013, 11:20 AM
  3. Aimbot help
    By gwentravolta in forum Visual Basic Programming
    Replies: 3
    Last Post: 07-18-2009, 05:50 PM
  4. Aimbot Help
    By pika777 in forum Suggestions, Requests & General Help
    Replies: 1
    Last Post: 10-15-2008, 04:32 PM
  5. Aimbot Help
    By JTLOBAMHSK in forum General Game Hacking
    Replies: 0
    Last Post: 06-07-2006, 03:21 PM