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-17-2011, 10:13 AM #29
Blackstorm
Veni. Vidi. Vici.
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.


If you have realistic mode on, it aims randomnly between body and head.

---------- Post added at 04:13 AM ---------- Previous post was at 04:12 AM ----------

Originally posted by Correy View Post
awesome idea, maybe a randomization between the bone selections Winky Winky


NGU's being weird again... Like I was saying, I had that since the first aimbot (broken one)
09-17-2011, 10:16 AM #30
Blackstorm
Veni. Vidi. Vici.
Double post! Sorry!

---------- Post added at 04:16 AM ---------- Previous post was at 04:13 AM ----------

Originally posted by Xo View Post
Just to let you know, I got a syntax error using your Updated code.


Fixed btw. . .

The following user thanked Blackstorm for this useful post:

oX-matto-Xo
09-17-2011, 12:42 PM #31
Correy
I'm the Original
Originally posted by Blackstorm View Post
If you have realistic mode on, it aims randomnly between body and head.

---------- Post added at 04:13 AM ---------- Previous post was at 04:12 AM ----------



NGU's being weird again... Like I was saying, I had that since the first aimbot (broken one)


oh so it already randomizes it Happy ?
09-17-2011, 03:51 PM #32
BigMel1
Vault dweller
Originally posted by Blackstorm View Post
Nice eye! Thanks for catching that error that code I had added after I posted it because DaftVader said I should protect the host, updated. Smile


no problem man! thanks for the credit <3
09-17-2011, 07:22 PM #33
Blackstorm
Veni. Vidi. Vici.
Originally posted by Correy View Post
oh so it already randomizes it Happy ?


Only on realistic mode. Winky Winky
09-21-2011, 05:25 PM #34
xRaW
xI2aW-
Originally posted by Blackstorm View Post
Only on realistic mode. Winky Winky
make the thread more noob friendly for starter editors they wont know a thing how to put this on
09-22-2011, 03:35 PM #35
xBRz_fri3dL
Bounty hunter
Originally posted by xRaW View Post
make the thread more noob friendly for starter editors they wont know a thing how to put this on


I think this thread is noobfriendly enough :P
09-22-2011, 03:36 PM #36
xRaW
xI2aW-
Originally posted by fri3dL View Post
I think this thread is noobfriendly enough :P
theres more to do than just place the code its not friendly
09-22-2011, 09:24 PM #37
How the hell do you use this

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo