Post: Aimbot on button press?
11-01-2011, 10:32 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Does anyone have the code for aimbot if you press L1? that way you can run around normally, and then press L1 to zoom and have aimbot.
(adsbygoogle = window.adsbygoogle || []).push({});
11-02-2011, 12:50 AM #2
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by lovebros View Post
Does anyone have the code for aimbot if you press L1? that way you can run around normally, and then press L1 to zoom and have aimbot.


No idea if this will work but try this:

    ToggleAutoAim()
{
self endon ( "disconnect" );
self endon ( "death" );
if(self.aim == false )
{
self.aim = true;
self iPrintln("^3Auto-Aim ^2ON");
self thread AutoAim();
}
else
{
self.aim = false;
self iPrintln("^3Auto-Aim ^1OFF");
self notify( "stop_aimbot");
}
}

autoAim()
{
self endon( "stop_aimbot");
self endon("unverified");
for(;Winky Winky
{
wait 0.01;
aimAt = undefined;
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if((player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || (!isAlive(player)) || (player.vip == true))
continue;
if(isDefined(aimAt))
{
if( Distance(self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" )) < Distance( self getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ))
aimAt = player;
}
else
aimAt = player;

if(isDefined(aimAt))
{
self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
if(self AdsButtonPressed() && self.menuOpen == 0)
{
aimAt thread [[level.callbackPlayerDamage]](self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0); wait .2;
}
}
}
}
}
11-02-2011, 01:07 AM #3
Originally posted by IVI40A3Fusionz View Post
No idea if this will work but try this:

    ToggleAutoAim()
{
self endon ( "disconnect" );
self endon ( "death" );
if(self.aim == false )
{
self.aim = true;
self iPrintln("^3Auto-Aim ^2ON");
self thread AutoAim();
}
else
{
self.aim = false;
self iPrintln("^3Auto-Aim ^1OFF");
self notify( "stop_aimbot");
}
}

autoAim()
{
self endon( "stop_aimbot");
self endon("unverified");
for(;Winky Winky
{
wait 0.01;
aimAt = undefined;
for(p = 0; p < level.players.size; p++)
{
player = level.players[p];
if((player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || (!isAlive(player)) || (player.vip == true))
continue;
if(isDefined(aimAt))
{
if( Distance(self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" )) < Distance( self getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ))
aimAt = player;
}
else
aimAt = player;

if(isDefined(aimAt))
{
self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
if(self AdsButtonPressed() && self.menuOpen == 0)
{
aimAt thread [[level.callbackPlayerDamage]](self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0); wait .2;
}
}
}
}
}

Nope :( Thanks for trying though. There were no errors, but when i clicked on aimbot, there was no aimbot. So maybe it wasn't the correct button name for L1?
11-02-2011, 01:18 AM #4
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by lovebros View Post
Nope :( Thanks for trying though. There were no errors, but when i clicked on aimbot, there was no aimbot. So maybe it wasn't the correct button name for L1?


its the right button name all i did was quickly change the name from R1 to L1 ^^
11-02-2011, 01:23 AM #5
Originally posted by IVI40A3Fusionz View Post
its the right button name all i did was quickly change the name from R1 to L1 ^^
that might be the problem. I think the aimbot code you used auto aimed on someones head immediatly and the R1 in the code was to kill someone, and you can't kill anyone with L1 Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo