Results 1 to 3 of 3
  1. #1
    DManTheGamer's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Question How to make an aimbot ignore certain players [lua]

    I play on a server and i'm trying to find a good lua aimbot. I though maybe i could piece together a few to make it work like I want. I want to know how to make it so that the aimbot ignores certain players. The reason is because the server i'm playing on has a bot that fly's around everyone and it detects if people have aimbot. I want to ignore it.

     
    hook.Add( "Think", "NoSuspciousHookHere", function()
    if LocalPlayer():IsTyping() or gui.IsConsoleVisible() then return end

    local ply = LocalPlayer()

    // Aimbot
    if !nextChange or nextChange < CurTime() then
    if input.IsKeyDown( KEY_B ) and !input.IsKeyDown( KEY_LALT ) then
    nextChange = CurTime() + 0.25

    if target and aimbot then
    target = nil
    aimbot = false
    else
    for k, v in pairs( ents.FindInSphere( ply:GetEyeTrace().HitPos, 500 ) ) do
    if v:IsPlayer() and v:Alive() then
    if IsValid(target) then
    if target:GetPos():Distance(ply:GetEyeTrace().HitPos) > v:GetPos():Distance(ply:GetEyeTrace().HitPos) then
    target = v
    end
    else
    target = v
    end
    end
    end

    if target then
    aimbot = true
    end
    end
    end
    end

    if target and IsValid(target) and aimbot then
    if target and IsValid(target) and target:IsPlayer() and target:LookupBone("ValveBiped.Bip01_Head1") then
    ply:SetEyeAngles( (target:GetBonePosition(target:LookupBone("ValveBi ped.Bip01_Head1"))-ply:GetShootPos()):Angle() )
    end
    end

    // Flashlight Spam
    if input.IsKeyDown( KEY_F ) and input.IsKeyDown( KEY_LALT ) then
    -- I feel this does something...
    for i = 1, 100 do
    RunConsoleCommand( "impulse", "100" )
    end
    end

    // Derp aimbots.
    if input.IsKeyDown( KEY_B ) and input.IsKeyDown( KEY_LALT ) then
    target = player.GetAll()[math.random(1,#player.GetAll())]

    if target and IsValid(target) and target:IsPlayer() and target:LookupBone("ValveBiped.Bip01_Head1") then
    ply:SetEyeAngles( (target:GetBonePosition(target:LookupBone("ValveBi ped.Bip01_Head1"))-ply:GetShootPos()):Angle() )
    end
    end

    // Auto shoot.
    if input.IsKeyDown( KEY_LSHIFT ) and input.IsKeyDown( KEY_LALT ) then
    RunConsoleCommand( "+attack" )
    timer.Simple(0.0001,function()
    RunConsoleCommand( "-attack" )
    end)
    end

    // Bunnyhop.
    if input.IsKeyDown( KEY_SPACE ) then
    if LocalPlayer():IsOnGround() then
    RunConsoleCommand( "+jump" )
    timer.Simple( 0.00001, function()
    RunConsoleCommand( "-jump" )
    end)
    end

    if input.IsKeyDown( KEY_E ) then
    RunConsoleCommand( "+left" )
    else
    RunConsoleCommand( "-left" )
    end
    else
    RunConsoleCommand( "-left" )
    end
    end)


    this is not mine but someone else's.

    If anyone knows how please tell me.

    Also I would like it if someone told me how to make it so that the aimbot doesn't aim at people behind walls I cant shoot through.

    Another thing with this aimbot is that when i'm aiming above there heads it doesn't lock on.
    Last edited by DManTheGamer; 08-01-2019 at 11:33 PM. Reason: Forgot some things.

  2. #2
    Synchronized Bullshit's Avatar
    Join Date
    Aug 2019
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    If you are gonna Paste, Atleast use a lua Cheat with Those features Instead...

  3. #3
    DManTheGamer's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    I've been looking for one but i could only find broken ones or ones that are C++. If you know a good lua aimbot please tell me it. I only want aimbot nothing else.

Similar Threads

  1. [Info] How to make "patched" Aimbot work.
    By crazy-tatar in forum Combat Arms Europe Hacks
    Replies: 6
    Last Post: 09-12-2009, 02:19 AM
  2. how to make an aimbot or bypass
    By Deceber in forum Combat Arms Help
    Replies: 9
    Last Post: 08-25-2009, 12:31 AM
  3. How To make ur Aimbot last 4ever.
    By xaznvietlife in forum Combat Arms Hacks & Cheats
    Replies: 54
    Last Post: 08-18-2009, 03:37 PM
  4. this is how to make the aimbot work if its not working.
    By Kev in forum CrossFire Hacks & Cheats
    Replies: 1
    Last Post: 07-10-2009, 12:29 PM
  5. how to make a aimbot?
    By xTrylanxback in forum General Game Hacking
    Replies: 15
    Last Post: 06-01-2009, 02:38 AM