Post: [RELEASE] Best CoD4 Aimbot :D
09-14-2011, 06:32 AM #1
Blackstorm
Veni. Vidi. Vici.
(adsbygoogle = window.adsbygoogle || []).push({}); Well, here's my aimbot that I made primarily for MW2, then ported over to CoD4. Now it's not the aimbot you would expect, people MUST be in sight for you to aim at them. It automatically aims for people at the given tag you set.

There's two settings, realistic aimbot, and ignore ADS (aim down sights).

Realistic aimbot has realistic movement, looks realistic and smooth on killcam, but in real time looks a bit choppy. Ignore ADS determines whether aimbot is only active when you're aiming. Non-realistic aimbot just snaps to players at quick speeds. Remember, they must be in sight, and you must actually shoot at them for them to die. This is a REAL aimbot, not one where you can just stand in one spot and hit people in the head by just holding the trigger.

This particular code isn't tested, but the aimbot is. The reason I know it works is because I gave Newelly my aimbot code, and we spent time converting it, but I never saved the aimbot code for CoD4. I'm pretty sure it works

Enjoy. It's pretty cool, you can use the realistic aimbot for trick-shotting, or 360 quickscope shots, or for just plain out showing off. Awesome face Awesome face

Credits:

Newelly - Testing
Lost4468 - Advanced Aimbot
TheUnkn0wn - SetPlayerAnglesReal function

To call this code, just call: self thread aimBot();


    
/*

self thread aimBot() - Put in onPlayerSpawned()
IMPORTANT VARS:
self.aimTag : Bone you would like to aim at on a player
self.playerMods["Realistic Aimbot"] : Realistic Aimbot; True to enable, and false to disable.
self.playerMods["Ignore ADS"] : If you want to Aimbot enabled only while aiming; True to disable, and false to enable.

*/


aimBot()
{
self endon( "death" );
self endon( "disconnect" );
self.playerMods["Aimbot"] = 1;
self.playerMods["Realistic Aimbot"] = 1;
self.playerMods["Ignore ADS"] = 0;
self.aimTag = "j_head";
vecNorm = (0, 0, 15);
for ( ;; )
{
if(self.playerMods["Aimbot"])
{
aimAt = undefined;
aimBone = self.aimTag;
if(self.playerMods["Realistic Aimbot"])
aimBone = strTok( "j_head;back_mid", ";" )[(randomint(100) >= 50)];
aimAngles = 0;
tryShot = 0;
targetVisible = 0;
for ( i = 0; i < level.players.size; i++ )
{
p = level.players[i];
if( ( p == level.players[0]) || ( p == self ) || ( level.teamBased && self.pers["team"] == p.pers["team"] ) || ( !isAlive( p ) ) || ( !bulletTracePassed( self getEye(), p getTagOrigin( aimBone ), 0, self ))) continue;
if(isDefined( aimAt ) && closer( self getEye(), p.origin, aimAt.origin )) aimAt = p;
else aimAt = p;
}
if( isDefined( aimAt ) )
{
if( self.playerMods["Ignore ADS"] || (!self.playerMods["Ignore ADS"] && self adsButtonPressed()))
{
aimAngles = vectorToAngles( (aimAt getTagOrigin( aimBone ) - self getEye()) - vecNorm );
targetVisible = bulletTracePassed( self getEye(), aimAt getTagOrigin( aimBone ), 0, self );
}
if( self.playerMods["Realistic Aimbot"] )
{
if( self.playerMods["Ignore ADS"] || (!self.playerMods["Ignore ADS"] && self adsButtonPressed()))
{
if( targetVisible ) tryShot = self setPlayerAnglesReal( aimAngles, 0.003, 6 );
}
if( tryShot )
{
for( ;(isAlive(aimAt) && self.playerMods["Realistic Aimbot"] ) && ( targetVisible ) && self.playerMods["Aimbot"]; )
{
if( self.playerMods["Ignore ADS"] || (!self.playerMods["Ignore ADS"] && self adsButtonPressed()))
{
aimAngles = vectorToAngles( (aimAt getTagOrigin( aimBone ) - self getEye()) - vecNorm );
targetVisible = bulletTracePassed( self getEye(), aimAt getTagOrigin( aimBone ), 0, self );
tryShot = self setPlayerAnglesReal( aimAngles, 0.004, 4 );
}
wait .015;
}
}
}
else
{
if( self.playerMods["Ignore ADS"] || (!self.playerMods["Ignore ADS"] && self adsButtonPressed()))
{
if( targetVisible )
self setPlayerAngles( aimAngles );
}
}
}
}
wait .015;
}
}


setPlayerAnglesReal(Angle, Delay, Steps)
{
if( self.playerMods["Realistic Aimbot"] ) angleRange = 180;
else angleRange = 360;
PStepAngle = angleRange / Steps;
NStepAngle = PStepAngle - (PStepAngle * 2);
myAngle = self getPlayerAngles();
myAngle = NormalizeAngles(myAngle);
Angle = NormalizeAngles(Angle);
X = (Angle[0] - myAngle[0]) / Steps;
if ((myAngle[0] + (X * Steps)) > 360 || X > 36 || X < -36)
{
X = (myAngle[0] - ((myAngle[0] + (X * Steps)) - 360)) / Steps;
X = X - (X * 2);
}
Y = (Angle[1] - myAngle[1]) / Steps;
if ((myAngle[1] + (Y * Steps)) > 360 || Y > 36 || Y < -36)
{
Y = (myAngle[1] - ((myAngle[1] + (Y * Steps)) - 360)) / Steps;
Y = Y - (Y * 2);
}
if ((X < PStepAngle && X > NStepAngle) && (Y < PStepAngle && Y > NStepAngle))
{
for (i = 0; i < Steps; i++)
{
newAngle = (myAngle[0] + X, myAngle[1] + Y, 0);
self setPlayerAngles(newAngle);
myAngle = self getPlayerAngles();
wait Delay;
}
return 1;
}
return 0;
}


NormalizeAngles(Angle)
{
nAngle = [];
for( i = 0; i < 3; i++ )
{
if( Angle[i] > 360 ) nAngle[i] = Angle[i] - 360;
else if( Angle[i] < 0 ) nAngle[i] = Angle[i] + 360;
else nAngle[i] = Angle[i];
}
return ( nAngle[0], nAngle[1], nAngle[2] );
}



[s]UPDATE: Okay, this aimbot is very broken... I have the fixed version and I'm preparing it now for the thread. If you have used this aimbot, please take it out of your patch, it's broken.[/s]

AIMBOT UPDATED AND WORKING! Happy

Aimbot is now TESTED and working well. Enjoy, for sure now, if you have the old one in your patch, remove it and put this one, thanks. Awesome face


CREDIT TO BIGMEL1 FOR FINDING A BAD SYNTAX THAT I HAD PUT ON ACCIDENT. Great job Awesome face
(adsbygoogle = window.adsbygoogle || []).push({});

The following 17 users say thank you to Blackstorm for this useful post:

aerosoul94, Amanda, BigMel1, cadpimp1289, Correy, Diddles2Fresshh, drive4567, FourzerotwoFAILS, HowsMySHOOTING, iReset Nigga, IVI40A3Fusionz, x-Roniie-x., xBRz_fri3dL, xRaW
09-25-2011, 03:54 PM #74
Glasbey.
I <3 Team Six
Thanks for this Black :y: I think I will use it when developing a patch, if you don't mind, obviously.
09-25-2011, 03:58 PM #75
Blackstorm
Veni. Vidi. Vici.
Originally posted by Glasbey. View Post
Thanks for this Black :y: I think I will use it when developing a patch, if you don't mind, obviously.


I DO MIND. stare :carling:

The following user thanked Blackstorm for this useful post:

Glasbey.
09-25-2011, 04:44 PM #76
iReset Nigga
2Fresshh!!
Originally posted by Blackstorm View Post
I DO MIND. stare :carling:


Say Nigga Black i need ur help with something :p
09-25-2011, 05:22 PM #77
RKMGZ
Bounty hunter
Nice :p ill try it :y:
09-25-2011, 05:29 PM #78
An aimbot is an aimbot is an aimbot. If it works it won't look realistic by its very nature....
09-25-2011, 07:40 PM #79
Woof
...hmm
I dont see how people can be so bitchy about this, have none of you seen the math equations he made in this script?
I can't even bloody do them myself. Enzo

Shows how smart he is, this text is small so hopefully he misses it :rolleyes:
09-25-2011, 08:07 PM #80
Blackstorm
Veni. Vidi. Vici.
Originally posted by BAdmaNgLiTcHa View Post
I dont see how people can be so bitchy about this, have none of you seen the math equations he made in this script?
I can't even bloody do them myself. Enzo

Shows how smart he is, this text is small so hopefully he misses it :rolleyes:


The really complicated ones were by TheUnkn0wn and Lost4468 Gaspkay:

EXCEPT Normalize Angles Awesome face

And somethings in the aimbot Awesome face
09-25-2011, 08:18 PM #81
Woof
...hmm
Originally posted by Blackstorm View Post
The really complicated ones were by TheUnkn0wn and Lost4468 Gaspkay:

EXCEPT Normalize Angles Awesome face

And somethings in the aimbot Awesome face

Oh... Gaspkay:
But your still the best scripter on NGU. stare
09-25-2011, 08:45 PM #82
Default Avatar
Newelly
Guest
Originally posted by BAdmaNgLiTcHa View Post
Oh... Gaspkay:
But your still the best scripter on NGU. stare


Definately my choice of opinion also!

The following user thanked Newelly for this useful post:

Blackstorm

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo