Post: Aimbot help GSC?
03-23-2016, 06:19 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Anybody have a tut to how to code Aimbot on a gsc menu with
Where do i paste it?



isRealistic(nerd) {
self.angles = self getPlayerAngles();
need2Face = VectorToAngles( nerd getTagOrigin("j_mainroot") - self getTagOrigin("j_mainroot") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}


//The aimbot
doDaAim() {
self endon("disconnect");
self endon("death");
self endon("EndAutoAim");
for(;Winky Winky
{
self waittill( "weapon_fired");
abc=0;
foreach(player in level.players) {
if(isRealistic(player))
{
if(self.pers["team"] != player.pers["team"]) {
if(isSubStr(self getCurrentWeapon(), "svu_") || isSubStr(self getCurrentWeapon(), "dsr50_") || isSubStr(self getCurrentWeapon(), "ballista_") || isSubStr(self getCurrentWeapon(), "xpr_"))
{
x = randomint(10);
if(x==1) {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_head", 0, 0 );
} else {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_RIFLE_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_mainroot", 0, 0 );
}
}
}
}
if(isAlive(player) && player.pers["team"] == "axis") {
abc++;
}
}
if(abc==0) {
self notify("last_killed");
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
03-23-2016, 07:47 PM #2
Kam
Investor - Future Millionaire
Originally posted by Levino1710 View Post
Anybody have a tut to how to code Aimbot on a gsc menu with
Where do i paste it?



isRealistic(nerd) {
self.angles = self getPlayerAngles();
need2Face = VectorToAngles( nerd getTagOrigin("j_mainroot") - self getTagOrigin("j_mainroot") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}


//The aimbot
doDaAim() {
self endon("disconnect");
self endon("death");
self endon("EndAutoAim");
for(;Winky Winky
{
self waittill( "weapon_fired");
abc=0;
foreach(player in level.players) {
if(isRealistic(player))
{
if(self.pers["team"] != player.pers["team"]) {
if(isSubStr(self getCurrentWeapon(), "svu_") || isSubStr(self getCurrentWeapon(), "dsr50_") || isSubStr(self getCurrentWeapon(), "ballista_") || isSubStr(self getCurrentWeapon(), "xpr_"))
{
x = randomint(10);
if(x==1) {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_head", 0, 0 );
} else {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_RIFLE_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_mainroot", 0, 0 );
}
}
}
}
if(isAlive(player) && player.pers["team"] == "axis") {
abc++;
}
}
if(abc==0) {
self notify("last_killed");
}
}
}


Thread moved to Black Ops 2 GSC Mods and Scripts Questions.
03-23-2016, 08:07 PM #3
seanhellen
Are you high?
I think you would paste all that anywhere into the gsc file (eg in the main.gsc) and then in your menu whre you put your options, call it using :: DoDaAim<--without the space...stupid smileys Happy
03-23-2016, 09:04 PM #4
yea but, is it the same for isRealistic(nerd) {
self.angles = self getPlayerAngles();
need2Face = VectorToAngles( nerd getTagOrigin("j_mainroot") - self getTagOrigin("j_mainroot") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}
03-23-2016, 09:11 PM #5
seanhellen
Are you high?
Nope, thats just a function used within the aimbot. Just call dodaaim
03-23-2016, 10:23 PM #6
Like this?

dodaaim(nerd) {
self.angles = self getPlayerAngles();
need2Face = VectorToAngles( nerd getTagOrigin("j_mainroot") - self getTagOrigin("j_mainroot") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}
03-23-2016, 10:35 PM #7
seanhellen
Are you high?
Nope Happy just paste both functions into the gsc file then where you put your functions in your menu, just put :: dodaaim

When the aimbot is used, the isrealistic function is called through the dodaaim function so you dont need to anything with it
03-24-2016, 10:30 AM #8
Oh i see :P so if i just paste it all in and if i want more aimbot with this crosshair i just paste the aimbot or one more of these realistic? Smile
03-24-2016, 02:43 PM #9
IrishDowngrades
Do a barrel roll!
lmao...seriously...its too easy..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo