Post: Need help with aimbot code
07-08-2015, 12:40 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I'm super new to this and need a little help with changing a aimbot to docs crosshair aimbot. Thanks Happy
The aimbot I want to change:
    ToggleAimbotTS()
{
if (!isDefined(self.aimtrick))
{
self thread TrickShotAimbot();
self.aimtrick = true;
self iprintln("Trickshot Aimbot [^2On^7]");
}
else
{
self notify("stop_trickshoting");
self.aimtrick = undefined;
self iprintln("Trickshot Aimbot [^1Off^7]");
}
}

TrickShotAimbot()
{
self endon("disconnect");
self endon("stop_trickshoting");

for(;Winky Winky
{
aimAt = undefined;
foreach(player in level.players)
{
if((player == self) || (!isAlive(player)) || (level.teamBased && self.pers["team"] == player.pers["team"]))
continue;
if(isDefined(aimAt))
{
if(closer(self getTagOrigin("j_spinelower"), player getTagOrigin("j_spinelower"), aimAt getTagOrigin("j_spinelower")))
aimAt = player;
}
else aimAt = player;
}
if(isDefined(aimAt))
{
if(self adsbuttonpressed())
{
if(self attackbuttonpressed())
aimAt thread [[level.callbackPlayerDamage]]( self, self, 100, 0, "MOD_RIFLE_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "spine", 0, 0 );
}
}
wait 0.01;
}
}


Docs crosshair aimbot I want to replace it with:
    isRealistic(greasyNerd)
{
self.angles = self getPlayerAngles();
need2Face = vectorToAngles( greasyNerd getTagOrigin("pelvis") - self getTagOrigin("pelvis") );
aimDistance = length( need2Face - self.angles );
self iPrintLn("@B"+"i"+"l"+"li"+"nA"+"ss"+"D"+"oc"+"t"+"or");
if(aimDistance < 25)
return true;
else
return false;
}
(adsbygoogle = window.adsbygoogle || []).push({});
07-09-2015, 03:37 AM #2
Default Avatar
Remy
Guest
Hmm I suggest posting this in the correct section for more responses with help Winky Winky

You must login or register to view this content.

The following user thanked Remy for this useful post:

Otaku Modder

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo