Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Garry's Mod Hacks & Cheats › Garry's Mod Discussions & Help › Release/Help: Aim-Assist?

Release/Help: Aim-Assist?

Posts 1–9 of 9 · Page 1 of 1
RxFrosty
RxFrosty
Release/Help: Aim-Assist?
It works but I was wondering if you could add a anti-snap to it so it goes a bit slower. Or if you could make a Trigger Bot that shoots when its aimed only at the head would be nice

Code:
aimassist = {}
 
bot = {}
aimassist.Version = 1.0
aimassist.Owner = LocalPlayer()
aimassist.Enabled = false
aimassist.Target = NULL
 
function aimassist.Think() -- Starting the function
if ( aimassist.Enabled ) then
local ply = LocalPlayer() -- Getting ourselves
local trace = util.GetPlayerTrace( ply ) -- Player Trace part. 1
local traceRes = util.TraceLine( trace ) -- Player Trace part. 2
if traceRes.HitNonWorld then -- If the aimbot aims at something that isn't the map..
        local target = traceRes.Entity -- It's obviously an entity.
        if target:IsPlayer() then -- But it must be a player.
                local targethead = target:LookupBone("ValveBiped.Bip01_Head1") -- In this aimassist we only aim for the head.
                local targetheadpos,targetheadang = target:GetBonePosition(targethead) -- Get the position/angle of the head.
                ply:SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle()) -- And finally, we snap our aim to the head of the target.
        end
end
end
 
 
                                                                        if ( aimassist.AttackState ) then
                                                                                        local targethead = target:LookupBone()
                                                                                        aimassist.AttackState = false
                                                                        end
                                                end
 
hook.Add( "Think", "aimassistThink", aimassist.Think )
hook.Add("Think","aimassist",aimassist)
 
function aimassis*****mmand( ply, command, args )
        if ( #args == 0 ) then
                        aimassist.Enabled = !aimassist.Enabled
                        if ( aimassist.Enabled ) then
                                        LocalPlayer():ChatPrint( "[AimAssist] Enabled.\n" )
                        else
                                       LocalPlayer():ChatPrint( "[AimAssist] Disabled.\n" )
                        end
                end
        end
 
concommand.Add( "Monster_aimassist",aimassis*****mmand )
#1 · 12y ago
Xenocide
Gray
Moved to Discussion & Help.
#2 · 12y ago
RxFrosty
RxFrosty
Sorry, again
#3 · 12y ago
Xenocide
Gray
You have to learn somehow, don't you?
It's not like you are all born with that knowledge and you were all new to it at one point, whether you like it or not.
#4 · 12y ago
PO
polivilas
@Antipathy i was born with knowledge and i was coding lua when i was 3 yrs old
#5 · 12y ago
CR
crazyself
also working in Black ops 2 ?

and where i should write this code?
#6 · 12y ago
Zombeezz
Zombeezz
Quote Originally Posted by crazyself View Post
also working in Black ops 2 ?

and where i should write this code?
Yes. You have to write the code in AHK.
#7 · 12y ago
D3M0L1T10N
D3M0L1T10N
haha wtf honestly
#8 · 12y ago
LE
leyhorse
Quote Originally Posted by crazyself View Post
also working in Black ops 2 ?

and where i should write this code?
The question here is how are you this special?
#9 · 12y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • aim assist for pblackout help plsBy bigx270 in Piercing Blow Help
    0Last post 14y ago
  • Aim AssistBy Vestavian in Call of Duty Modern Warfare 2 Help
    2Last post 12y ago
  • Roccat Aim Assist?By dafuq1337 in Call of Duty Modern Warfare Help
    4Last post 14y ago
  • [Release] WolfTeam Registration AssistantBy CoMPMStR in WolfTeam Hacks
    16Last post 17y ago
  • [release/help] HacksBy formage in Combat Arms Hacks & Cheats
    38Last post 17y ago

Tags for this Thread

None