Advertisement
Guest User

SlavScripts

a guest
Jan 27th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.55 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Threading;
  7.  
  8. namespace DEMO
  9. {
  10.     class Program
  11.     {
  12.         public static int Base = 0x004E4DBC;
  13.         public static int Health = 0xF4;
  14.         public static int ArmourBase = 0x004DF73C;
  15.         public static int Armour = 0xF8;
  16.         public static int lowGravBase = 0x004DF73C;
  17.         public static int LowGrav = 0x54;
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.         static void Main(string[] args)
  25.         {
  26.             VAMemory vam = new VAMemory("ac_client");
  27.             Console.WriteLine("Welcome to SlavScripts");
  28.             Console.WriteLine("Max Health [1]");
  29.             Console.WriteLine("Max Armour [2]");
  30.             Console.WriteLine("Low Gravity [3]");
  31.             Console.WriteLine("");
  32.             string Select = "";
  33.             Select = Console.ReadLine();
  34.             if (Select == "1")
  35.             {
  36.                 Console.WriteLine("Max Health Activated");
  37.                 int LocalPlayer = vam.ReadInt32((IntPtr)Base);
  38.  
  39.                 while (true)
  40.                 {
  41.                     int adress = LocalPlayer + Health;
  42.                     vam.WriteInt32((IntPtr)adress, 9999);
  43.  
  44.  
  45.                     Thread.Sleep(100);
  46.  
  47.  
  48.                 }
  49.             }
  50.             if (Select == "2")
  51.             {
  52.                 int LocalPlayer = vam.ReadInt32((IntPtr)ArmourBase);
  53.  
  54.                 while (true)
  55.                 {
  56.                     int adress = LocalPlayer + Armour;
  57.                     vam.WriteInt32((IntPtr)adress, 9999);
  58.  
  59.  
  60.                     Thread.Sleep(100);
  61.  
  62.  
  63.                 }
  64.             }
  65.             if (Select == "3")
  66.             {
  67.                 int LocalPlayer = vam.ReadInt32((IntPtr)lowGravBase);
  68.  
  69.                 while (true)
  70.                 {
  71.                     int adress = LocalPlayer + LowGrav;
  72.                     vam.WriteInt32((IntPtr)adress, 1);
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.                 }
  80.            
  81.  
  82.             }
  83.         }
  84.     }
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement