Advertisement
Guest User

SlavScripts v4.2

a guest
Aug 25th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.13 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 SlavScriptsAC
  9. {
  10.     class Program
  11.     {
  12.         //Health
  13.         public static int PlayerBase = 0x509B74;
  14.         public static int Health = 0xF8;
  15.         //Armor
  16.         public static int Armor = 0xFC;
  17.         //Pistol Ammo
  18.         public static int PAmmo = 0x13C;
  19.         //Carbine Ammo
  20.         public static int CAmmo = 0x140;
  21.         //Shotgun Ammo
  22.         public static int SGAmmo = 0x144;
  23.         //Machine Gun Ammo
  24.         public static int MGAmmo = 0x148;
  25.         //Sniper Ammo
  26.         public static int SAmmo = 0x14C;
  27.         //Assault Rifle Ammo
  28.         public static int ARAmmo = 0x150;
  29.         //Grenade Ammo
  30.         public static int GAmmo = 0x158;
  31.         //Knife Time Limit
  32.         public static int TBK = 0x160;
  33.         //Fast Reload
  34.         public static int PT = 0x164;
  35.         public static int CT = 0x168;
  36.         public static int SGT = 0x16C;
  37.         public static int MGT = 0x170;
  38.         public static int ST = 0x174;
  39.         public static int ART = 0x178;
  40.         public static int GT = 0x180;
  41.  
  42.  
  43.  
  44.  
  45.  
  46.         static void Main(string[] args)
  47.         {
  48.             Thread yeet1 = new Thread(NewThread);
  49.  
  50.             Thread InfArm = new Thread(InfiniteArmor);
  51.  
  52.             Thread InfAmmo = new Thread(InfiniteAmmo);
  53.  
  54.             Thread FstWpn = new Thread(FastWeapons);
  55.  
  56.             VAMemory vam = new VAMemory("ac_client");
  57.  
  58.             while (true)
  59.             {
  60.  
  61.                 Console.Title = "SlavScripts";
  62.  
  63.                 string Player = "";
  64.  
  65.                 Console.WriteLine("---SlavScripts v4.0---");
  66.                 Console.WriteLine("");
  67.                 Console.WriteLine("[1] Player Options");
  68.                 Console.WriteLine("");
  69.                 Console.WriteLine("[2] Weapon Options");
  70.                 Console.WriteLine("");
  71.                 string answer = "";
  72.                 answer = Console.ReadLine();
  73.  
  74.                 if (answer == "1")
  75.                 {
  76.                     Console.WriteLine("--Player Options--");
  77.                     Console.WriteLine("");
  78.                     Console.WriteLine("[1] Godmode");
  79.                     Console.WriteLine("[2] Armor");
  80.                     Console.WriteLine("");
  81.                     Player = Console.ReadLine();
  82.  
  83.                     if (Player == "1")
  84.                     {
  85.                         yeet1.Start();
  86.                     }
  87.                     else if (Player == "2")
  88.                     {
  89.                         InfArm.Start();
  90.                     }
  91.                     else
  92.                     {
  93.                         Console.WriteLine("Blyat! Invalid Response!");
  94.                         Console.WriteLine("");
  95.                     }
  96.                 }
  97.                 else if (answer == "2")
  98.                 {
  99.                     Console.WriteLine("--Weapon Options--");
  100.                     Console.WriteLine("");
  101.                     Console.WriteLine("[1] Infinite Ammo");
  102.                     Console.WriteLine("");
  103.                     Console.WriteLine("[2] Fast Weapons");
  104.                     Console.WriteLine("");
  105.                     Player = Console.ReadLine();
  106.  
  107.                     if (Player == "1")
  108.                     {
  109.                         InfAmmo.Start();
  110.                     }
  111.                     else if (Player == "2")
  112.                     {
  113.                         FstWpn.Start();
  114.                     }
  115.                     else
  116.                     {
  117.                         Console.WriteLine("Blyat! Invalid Response!");
  118.                         Console.WriteLine("");
  119.                     }
  120.                 }
  121.                 else
  122.                 {
  123.                     Console.WriteLine("Blyat! Invalid Response!");
  124.                     Console.WriteLine("");
  125.                 }
  126.             }
  127.         }
  128.         static void NewThread()
  129.         {
  130.             VAMemory vam = new VAMemory("ac_client");
  131.  
  132.             int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  133.  
  134.             int address1 = LocalPlayer + Health;
  135.  
  136.             Console.WriteLine("Godmode Enabled");
  137.             Console.WriteLine("");
  138.             while (true)
  139.             {
  140.                 Thread.Sleep(696);
  141.                 vam.WriteInt32((IntPtr)address1, 6969);
  142.             }
  143.         }
  144.         static void InfiniteArmor()
  145.         {
  146.                             VAMemory vam = new VAMemory("ac_client");
  147.  
  148.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  149.  
  150.                 int address2 = LocalPlayer + Armor;
  151.  
  152.             Console.WriteLine("Infinite Armor Enabled");
  153.             Console.WriteLine("");
  154.             while (true)
  155.             {
  156.                 Thread.Sleep(696);
  157.                 vam.WriteInt32((IntPtr)address2, 6969);
  158.             }
  159.         }
  160.         static void InfiniteAmmo()
  161.         {
  162.             VAMemory vam = new VAMemory("ac_client");
  163.  
  164.             int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  165.  
  166.             int address3 = LocalPlayer + PAmmo;
  167.  
  168.             int address4 = LocalPlayer + CAmmo;
  169.  
  170.             int address5 = LocalPlayer + SGAmmo;
  171.  
  172.             int address6 = LocalPlayer + MGAmmo;
  173.  
  174.             int address7 = LocalPlayer + SAmmo;
  175.  
  176.             int address8 = LocalPlayer + ARAmmo;
  177.  
  178.             int address9 = LocalPlayer + GAmmo;
  179.  
  180.             Console.WriteLine("--Infinite Ammo Enabled--");
  181.             Console.WriteLine("");
  182.  
  183.             while (true)
  184.             {
  185.                 Thread.Sleep(696);
  186.                 vam.WriteInt32((IntPtr)address3, 69);
  187.                 vam.WriteInt32((IntPtr)address4, 69);
  188.                 vam.WriteInt32((IntPtr)address5, 69);
  189.                 vam.WriteInt32((IntPtr)address6, 69);
  190.                 vam.WriteInt32((IntPtr)address7, 69);
  191.                 vam.WriteInt32((IntPtr)address8, 69);
  192.                 vam.WriteInt32((IntPtr)address9, 69);
  193.             }
  194.         }
  195.         static void FastWeapons()
  196.         {
  197.             VAMemory vam = new VAMemory("ac_client");
  198.  
  199.             int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  200.  
  201.             int address10 = LocalPlayer + TBK;
  202.  
  203.             int address11 = LocalPlayer + PT;
  204.  
  205.             int address12 = LocalPlayer + CT;
  206.  
  207.             int address13 = LocalPlayer + SGT;
  208.  
  209.             int address14 = LocalPlayer + MGT;
  210.  
  211.             int address15 = LocalPlayer + ST;
  212.  
  213.             int address16 = LocalPlayer + ART;
  214.  
  215.             int address17 = LocalPlayer + GT;
  216.  
  217.             Console.WriteLine("Fast Weapons Enabled");
  218.             Console.WriteLine("");
  219.             while(true)
  220.             {
  221.                 Thread.Sleep(696);
  222.                 vam.WriteInt32((IntPtr)address10, 0);
  223.                 vam.WriteInt32((IntPtr)address11, 0);
  224.                 vam.WriteInt32((IntPtr)address12, 0);
  225.                 vam.WriteInt32((IntPtr)address13, 0);
  226.                 vam.WriteInt32((IntPtr)address14, 0);
  227.                 vam.WriteInt32((IntPtr)address15, 0);
  228.                 vam.WriteInt32((IntPtr)address16, 0);
  229.                 vam.WriteInt32((IntPtr)address17, 0);
  230.             }
  231.         }
  232.     }
  233. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement