@Sticky has shared his BO2 Scripts read on for more info 
So I post this today for the simple fact that I am sick and tired of making mod menus... and tools! Here are almost all my good scripts for BO2. Hope you enjoy and please leave credits if you use them!
Stuff you will need to use these
Unfair Aimbot
Carepackage Gun
Teleport Gun
Advanced Noclip
Spin Mode
Credits:
Sticky - Making the functions
Shark - TraceBullet function

So I post this today for the simple fact that I am sick and tired of making mod menus... and tools! Here are almost all my good scripts for BO2. Hope you enjoy and please leave credits if you use them!
Stuff you will need to use these
Code:
public static uint G_Client(int Client, GClient Mod = 0)
{
return (Offsets.G_Client + (0x5808 * (uint)Client) + (uint)Mod);
}
public enum GClient : uint
{
ClientWeapIndex = 0x1B8,
ClientVelocity = 0x34,
ClientFriction = 0xC,
ClientFreeze = 0x5694,
ClientViewModel = 0x54F4,
ClientButtonMonitoring = 0x569C,
ClientPlayerName = 0x5544,
ClientOrigin = 0x28,
ClientAngles = 0x56BC,
ClientTeam = 0x5504,
ClientIsAlive = 0x55D0,
ClientStance = 0xFC,
ClientGodMode = 0x18,
ClientPerks = 0x548,
ClientPrimaryCamo = 0x2D8,
ClientSecondaryCamo = 0x2BC,
ClientTactical = 0x30C,
ClientLethal = 0x2F0,
ClientKillstreak1 = 0x42B,
ClientKillstreak2 = 0x430,
ClientKillstreak3 = 0x434,
PrimaryAmmo = 0x43C,
SecondaryAmmo = 0x438,
LethalAmmo = 0x440,
TacticalAmmo = 0x444,
LocationSelectorMap = 0x4B0,
LocationSelectorType = 0x4B4
}
public static uint G_Entity(int Client, uint Mod = 0)
{
return (Offsets.G_Entity + (0x31C * (uint)Client) + Mod);
}
public static int ReturnWeaponIndex(int Client)
{
return PS3.ReadInt32(G_Client(Client, GClient.ClientWeapIndex));
}
public static float[] ReturnVelocity(int Client)
{
return PS3.ReadSingle(G_Client(Client, GClient.ClientVelocity), 3);
}
public static void SetOrigin(int Client, float[] Origin)
{
PS3.WriteSingle(G_Client(Client, GClient.ClientOrigin), Origin);
}
public static float[] TraceBullet(int clientIndex, float TracerDistance)
{
int Trace = 0x25D2B00;
float[] Start = G_GetPlayerViewOrigin(clientIndex);
float[] End = PlayerAnglesToForward(clientIndex, TracerDistance);
G_LocationalTrace(Trace, Start, End);
float[] BulletTrace = new float[3];
BulletTrace = new float[] { (((End[0] - Start[0]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[0])), (((End[1] - Start[1]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[1])), (((End[2] - Start[2]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[2])) };
return BulletTrace;
}
public static void SetClientViewAngles(int Client, float[] Angles)
{
PS3.WriteSingle(0x10004000, Angles);
RPC.Call(Offsets.SetClientViewAngles, G_Entity(Client), Angles);
}
public enum Buttons : uint
{
X = 8192,
O = 16384,
Square = 4,
L3 = 1088,
R3 = 32,
L2 = 256,
R2 = 512,
L1 = 2147487744,
R1 = 128,
Crouch = 16384,
Prone = 32768,
L1andR1 = L1 + R1
}
public static bool ButtonPressed(int clientIndex, Buttons Button)
{
byte[] Sticky = PS3.GetMem(Offsets.G_Client + 0x547C + ((uint)clientIndex * 0x5808), 4);
uint Buttonz = BitConverter.ToUInt32(Sticky, 0);
if (Buttonz == (uint)Button)
return true;
return false;
}
Unfair Aimbot
Code:
public static void PlayerDie(int Client, int Victim, bool HeadShotsOnly = true)
{
if (HeadShotsOnly)
RPC.Call(0x1FD510, G_Entity(Victim), G_Entity(Client), G_Entity(Client), 0, 9, ReturnWeaponIndex(Client), 0xD0143D6C);
else
RPC.Call(0x1FD510, G_Entity(Victim), G_Entity(Client), G_Entity(Client), 0, 0, ReturnWeaponIndex(Client), 0xD0143D6C);
}
Carepackage Gun
Code:
public static void CarePackageGun(int Client)
{
if (ButtonPressed(Client, Buttons.R1) || ButtonPressed(Client, Buttons.L1andR1))
{
Entity.spawnEntity("t6_wpn_supply_drop_ally", TraceBullet(Client, 9999f), G_GetPlayerViewOrigin(Client));
}
}
Teleport Gun
Code:
public static void TeleportGun(int Client)
{
if (ButtonPressed(Client, Buttons.R1) || ButtonPressed(Client, Buttons.L1andR1))
{
SetOrigin(Client, TraceBullet(Client, 9999f));
}
}
Advanced Noclip
Code:
public static void AdvancedNoclip(int Client)
{
SetVelocity(Client, new float[] { ReturnVelocity(Client)[0], ReturnVelocity(Client)[1], 42.5f });
if (ButtonPressed(Client, Buttons.L3))
{
SetOrigin(Client, PlayerAnglesToForward(Client, 85));
}
}
Spin Mode
Code:
public static void SpinMode(int Client, float Speed, string Direction = "Right")
{
if (Direction == "Left")
{
for (float X = -180; X < 180; )
{
SetClientViewAngles(Client, new float[] { ReturnViewOrigin(Client)[0], X, ReturnViewOrigin(Client)[2] });
X += (float)Speed;
}
}
else if (Direction == "Right")
{
for (float X = 180; X > -180; )
{
SetClientViewAngles(Client, new float[] { ReturnViewOrigin(Client)[0], X, ReturnViewOrigin(Client)[2] });
X += (float)Speed;
}
}
}
Credits:
Sticky - Making the functions
Shark - TraceBullet function