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-15-2011, 03:38 PM #11
Correy
I'm the Original
Originally posted by Blackstorm View Post
Well I don't see why you would need the second code because the aimbot is most likely going to be called for host only, and I already had the check if aimAt was yourself so yeah. :p

Updated code and fixed the riot shield problem.

---------- Post added at 04:43 PM ---------- Previous post was at 04:41 PM ----------



Thanks, tell me how it goes. Smile

---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------



Gotta love 'em. :p


damn hack3rz :bat:
09-16-2011, 05:48 AM #12
Blackstorm
Veni. Vidi. Vici.
Originally posted by Correy View Post
damn hack3rz :bat:


Updated the thread with the WORKING code. =D
09-16-2011, 04:09 PM #13
oX-matto-Xo
#1 Chaos MW3
Does this only aim for the head? Because if people see your constantly getting headshots, its to obvious. You should make a list of the different bones.
09-16-2011, 04:19 PM #14
iReset Nigga
2Fresshh!!
Originally posted by Xo View Post
Does this only aim for the head? Because if people see your constantly getting headshots, its to obvious. You should make a list of the different bones.


by looking at the code i can see that it aims for the Back and the Head
09-16-2011, 05:17 PM #15
oX-matto-Xo
#1 Chaos MW3
Just to let you know, I got a syntax error using your Updated code.
09-16-2011, 06:27 PM #16
BigMel1
Vault dweller
Originally posted by Xo View Post
Just to let you know, I got a syntax error using your Updated code.


i just tested it as well and i got the same. if you have fixed this can you let me know what you did? im examining the code as i write this looking for possible errors
09-16-2011, 08:45 PM #17
iReset Nigga
2Fresshh!!
Originally posted by Blackstorm View Post
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




Here is ur Error You must login or register to view this content. :p
09-16-2011, 11:06 PM #18
BigMel1
Vault dweller
Originally posted by iReset View Post
Here is ur Error You must login or register to view this content. :p


i fixed the too many )'s and still get the syntax error.
09-16-2011, 11:33 PM #19
iReset Nigga
2Fresshh!!
Originally posted by BigMel1 View Post
i fixed the too many )'s and still get the syntax error.


post ur code ill see what the new error is then

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo