Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- namespace sadboy_cheats_esp
- {
- class Program
- {
- public static int oLocalPlayer = 0xAA8BBC;
- public static int oEntityList = 0x4A85AAC;
- public static int oCrossHairID = 0xB294;
- public static int oTeam = 0xF0;
- public static int oHealth = 0xFC;
- public static int oAttack = 0x2EC7E38;
- public static int oEntityLoopDistance = 0x2F8C;
- public static string process = "csgo";
- public static int bClient;
- static void Main(string[] args)
- {
- VAMemory vam = new VAMemory(process);
- if (GetModuleAddy())
- {
- int fAttack = bClient + oAttack;
- while (true)
- {
- Console.Clear();
- Console.Write("Nothing..", Console.ForegroundColor = ConsoleColor.Red);
- int address = bClient + oLocalPlayer;
- int LocalPlayer = vam.ReadInt32((IntPtr)address);
- address = LocalPlayer + oTeam;
- int MyTeam = vam.ReadInt32((IntPtr)address);
- address = LocalPlayer + oCrossHairID;
- int PlayerInCross = vam.readInt32((IntPtr)address);
- if (PlayerInCross > 0 && PlayerInCross < 65)
- {
- address = bClient + oEntityList + (PlayerInCross - 1) * oEntityLoopDistance;
- int PtrToPIC = vam.ReadInt32((IntPtr)address);
- address = PtrToPIC + oHealth;
- int PICHealth = vam.ReadInt32((IntPtr)address);
- address = PtrToPIC + oTeam;
- int PICTeam = vam.ReadInt32((IntPtr)address);
- if ((PICTeam != MyTeam) && (PICTeam > 1) && (PICHealth > 0))
- {
- Console.Clear();
- Console.Write("Attacking!", Console.ForegroundColor = ConsoleColor.Green);
- vam.WriteInt32((IntPtr)fAttack, 1);
- Thread.Sleep(1);
- vam.WriteInt32((IntPtr)fAttack, 4);
- }
- }
- Thread.Sleep(10);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement