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.Threading;
- namespace ConsoleApp1
- {
- public class Program
- {
- public static int Base = 0x04E4DBC; //This is the Base address for health offset
- public static int Health = 0xF4; //This is the health offset XD
- public static int SBase = 0x004DF73C; //speed base address and also the low grav base address but i will be lazy and just make a new in XDDD
- public static int speed = 0x7C; //speed offset, 0 is off and to like 12 is max speed option!
- public static int LowGravBase = 0x004DF73C; //low grav base address same as speed base address
- public static int GravityOffset = 0x54; //low grav offset to point
- public static int PlayerName1 = 0x004D80B4;
- public static int PlayerOffset = 0x0;
- public static int GunBaseAddress = 0x004DF73C;
- public static int GunOffset = 0x7F;
- static void Main(string[] args)
- {
- VAMemory vam = new VAMemory("ac_client"); //we declare the process we are using with the VAMemory refrence we added earlier
- Console.WriteLine("==========================================="); //these lines here are just a title, bc why not XD
- Console.WriteLine("Ultimate Assault Cube Hack by Cyborg Elf");
- Console.WriteLine("===========================================");
- //int PlayerName = vam.ReadInt32((IntPtr)PlayerOffset);
- //int address3 = PlayerName + PlayerOffset;
- //string NameString = address3.ToString();
- //string NameString2 = PlayerName1.ToString();
- //string PlayerNam1 = address3.ToString();
- // Console.WriteLine("Welcome " + (NameString) + (NameString2));
- int LocalPlayer1 = vam.ReadInt32((IntPtr)Base); //pointing
- int LocalPlayer2 = vam.ReadInt32((IntPtr)SBase); //pointing
- int LocalPlayer3 = vam.ReadInt32((IntPtr)GravityOffset); //pointing
- int LocalPlayer4 = vam.ReadInt32((IntPtr)GunOffset);
- while (true) //this means always true
- {
- Console.Title = "Assult Cube Hack"; //setting console title so things look perrrty
- int address = LocalPlayer1 + Health; //same thin as earlier, adding together the addy's/offsets like I showed in that diagram
- int address1 = LocalPlayer2 + speed; //adding together the addy's/offsets like I showed in that diagram
- int address2 = LocalPlayer3 + GravityOffset; //same as above
- int address3 = LocalPlayer4 + GunOffset;
- string YNspeed = ""; //same thing as ^
- string LowGravYN = ""; // making a yes or no string like earlier for no grav question!
- string GunYN = "";
- //=======================================================
- Console.WriteLine("Select from the following options:");
- Console.WriteLine("[1] Superspeed");
- Console.WriteLine("[2] Fast Fall");
- Console.WriteLine("[3] Set Health to 9999");
- Console.WriteLine("[4] Make gun invisible!");
- Console.WriteLine("");
- string Select = "";
- Select = Console.ReadLine();
- if (Select == "1")
- {
- Console.WriteLine("You have selected super speed!");
- Thread.Sleep(100); //useful to min the use of cpu, essen telling code wait a second
- Console.WriteLine("How fast do you want to go?"); //showing options of # user can enter for diffrent speed settings
- Console.WriteLine("Semi Fast [1]");
- Console.WriteLine("Sonic Fast [2]");
- Console.WriteLine("Supah Fast [3] ");
- YNspeed = Console.ReadLine(); //same thing as earlier, setting the speed variable to whatever user entered
- if (YNspeed == "1")
- {
- vam.WriteInt32((IntPtr)address1, 2); // if user eneters a 1 speed is set to 2
- }
- else if (YNspeed == "2")
- {
- vam.WriteInt32((IntPtr)address1, 4); // if user eneters a 2 speed is set to 4
- }
- else if (YNspeed == "3")
- {
- vam.WriteInt32((IntPtr)address1, 10); // if user eneters a 3 speed is set to 10
- }
- else
- {
- vam.WriteInt32((IntPtr)address1, 0); //writting the speed
- Console.WriteLine("You entered and invalid response, super speed will be turned off!");
- }
- Thread.Sleep(100); //help cpu rest xd
- }
- else if (Select == "2")
- {
- Console.WriteLine("You have selected Fast Fall!");
- Console.Write("Do you want to enable Fast Fall? [Y/N]: ");
- LowGravYN = Console.ReadLine();
- if (LowGravYN == "Y") //if user types Y aka yes do below thing
- {
- //the no grav wont work! idk y, it owkred in cheat engine
- Console.WriteLine("The Fast Fall is enabled!");
- }
- else if (LowGravYN == "N") //user put no xd what a scrub
- {
- Console.WriteLine("Okay we don't give you cookie!!");
- }
- else
- {
- Console.WriteLine("Invalid Response, please take a minute and think how to speel!");
- }
- }
- else if (Select == "3")
- {
- Console.WriteLine("Enjoy the health!");
- vam.WriteInt32((IntPtr)address, 999999999); //writting the health value, self explanatory
- }
- else if (Select == "4")
- {
- Console.WriteLine("Do you want invisible gun? [Y/N]: ");
- GunYN = Console.ReadLine();
- if (GunYN == "Y")
- {
- vam.WriteInt32((IntPtr)address3, 1);
- }
- else
- {
- vam.WriteInt32((IntPtr)address3, 0);
- }
- }
- //==========================================================
- //relates back to old if
- if (LowGravYN == "Y")
- {
- while (true)
- {
- vam.WriteInt32((IntPtr)address2, 1); //writting the the fast fall, hahahahahahahhah i messed up and made no fall not no grav, ill make a no grav later LOL!
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement