vHaackz
Getting There
heres a knife aimbot not very good one works but abit buggy
credits
mikeeey for creating the better aimbot
zyon or andrew74 who ever made the original aimbot
self thread aimbot1();
self thread melee(); //only if you havent got somthing that monitors melle
credits
mikeeey for creating the better aimbot
zyon or andrew74 who ever made the original aimbot
self thread aimbot1();
self thread melee(); //only if you havent got somthing that monitors melle
Code:
Melee()
{
for(;;)
{
if(self MeleeButtonPressed())
{
self notify("melee");
}
}
}
AimBot1()
{
if( !IsDefined( self.AimBot ) )
{
self thread doAimbot();
self iPrintln( "AimBot ^2On" );
self.AimBot = true;
}
else
{
self.AimBot = undefined;
self notify( "AimBotOff" );
self iPrintln( "AimBot ^1Off" );
}
}
doAimbot()
{
self endon( "death" );
self endon( "disconnect" );
self endon( "AimBotOff" );
self.Fire = 0;
self thread WatchShoot();
for( ;; )
{
while( self MeleeButtonPressed() )
{
Closest = self DetectZomb();
HitLoc = Closest GetTagOrigin( "j_head" );
HitLoc2 = Closest GetTagOrigin( "J_Ankle_RI" );
self SetPlayerAngles( VectorToAngles( ( HitLoc2 ) - ( self GetTagOrigin( "j_head" ) ) ) );
self setOrigin(( HitLoc ));
if( self.Fire == 1 )
{
MagicBullet( self GetCurrentWeapon(), HitLoc + ( 0, 0, 5 ), HitLoc, self );
}
wait .05;
}
wait .05;
}
}
WatchShoot()
{
self endon( "death" );
self endon( "disconnect" );
self endon( "AimBotOff" );
for( ;; )
{
self waittill( "Melee" );
self.Fire = 1;
wait .05;
self.Fire = 0;
}
}
DetectZomb()
{
Array = [];
Temp = 0;
Zomb = GetAiSpeciesArray( "axis", "all" );
for( Z = 0; Z < Zomb.size; Z++ )
{
Array[Array.size] = Distance( self.origin, Zomb[Z].origin );
}
for( A = 0; A < Array.size - 1; A++ )
{
for( B = 0; B < Array.size - 1; B++ )
{
if( Array[A] < Array[B] ) Temp ++;
}
if( Temp == Array.size - 1 ) break;
}
return Zomb[A];
}