Advertisement
Guest User

SlavScripts v2.0

a guest
Aug 24th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.77 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.  
  47.         static void Main(string[] args)
  48.         {
  49.             VAMemory vam = new VAMemory("ac_client");
  50.             Console.WriteLine("---SlavScripts v2.0---");
  51.             Console.WriteLine("");
  52.             Console.WriteLine("[1] Godmode");
  53.             Console.WriteLine("[2] Infinite Armor");
  54.             Console.WriteLine("");
  55.             Console.WriteLine("[3] Infinite Pistol Ammo");
  56.             Console.WriteLine("[4] Infinite Carbine Ammo");
  57.             Console.WriteLine("[5] Infinite Shotgun Ammo");
  58.             Console.WriteLine("[6] Infinite Machine Gun Ammo");
  59.             Console.WriteLine("[7] Infinite Sniper Ammo");
  60.             Console.WriteLine("[8] Infinite Assault Rifle Ammo");
  61.             Console.WriteLine("[9] Infinite Grenades");
  62.             Console.WriteLine("");
  63.             Console.WriteLine("[10] No Knife Limit");
  64.             Console.WriteLine("[11] Fast Pistol");
  65.             Console.WriteLine("[12] Fast Carbine");
  66.             Console.WriteLine("[13] Fast Shotgun");
  67.             Console.WriteLine("[14] Fast Machine Gun");
  68.             Console.WriteLine("[15] Fast Sniper");
  69.             Console.WriteLine("[16] Fast Assault Rifle");
  70.             Console.WriteLine("[17] Fast Grenades");
  71.             string answer = "";
  72.             answer = Console.ReadLine();
  73.  
  74.             if (answer == "1")
  75.             {
  76.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  77.  
  78.                 while (true)
  79.                 {
  80.                     int address = LocalPlayer + Health;
  81.                     vam.WriteInt32((IntPtr)address, 6969);
  82.                 }
  83.             }
  84.             if (answer == "2")
  85.             {
  86.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  87.  
  88.                 while (true)
  89.                 {
  90.                     int address = LocalPlayer + Armor;
  91.                     vam.WriteInt32((IntPtr)address, 6969);
  92.                 }
  93.             }
  94.             if (answer == "3")
  95.             {
  96.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  97.  
  98.                 while (true)
  99.                 {
  100.                     int address = LocalPlayer + PAmmo;
  101.                     vam.WriteInt32((IntPtr)address, 69);
  102.                 }
  103.  
  104.             }
  105.             if (answer == "4")
  106.             {
  107.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  108.  
  109.                 while (true)
  110.                 {
  111.                     int address = LocalPlayer + CAmmo;
  112.                     vam.WriteInt32((IntPtr)address, 69);
  113.                 }
  114.  
  115.             }
  116.             if (answer == "5")
  117.             {
  118.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  119.  
  120.                 while (true)
  121.                 {
  122.                     int address = LocalPlayer + SGAmmo;
  123.                     vam.WriteInt32((IntPtr)address, 69);
  124.                 }
  125.  
  126.             }
  127.             if (answer == "6")
  128.             {
  129.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  130.  
  131.                 while (true)
  132.                 {
  133.                     int address = LocalPlayer + MGAmmo;
  134.                     vam.WriteInt32((IntPtr)address, 69);
  135.                 }
  136.  
  137.             }
  138.             if (answer == "7")
  139.             {
  140.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  141.  
  142.                 while (true)
  143.                 {
  144.                     int address = LocalPlayer + SAmmo;
  145.                     vam.WriteInt32((IntPtr)address, 69);
  146.                 }
  147.  
  148.             }
  149.             if (answer == "8")
  150.             {
  151.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  152.  
  153.                 while (true)
  154.                 {
  155.                     int address = LocalPlayer + ARAmmo;
  156.                     vam.WriteInt32((IntPtr)address, 69);
  157.                 }
  158.  
  159.             }
  160.             if (answer == "9")
  161.             {
  162.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  163.  
  164.                 while (true)
  165.                 {
  166.                     int address = LocalPlayer + GAmmo;
  167.                     vam.WriteInt32((IntPtr)address, 69);
  168.                 }
  169.  
  170.             }
  171.             if (answer == "10")
  172.             {
  173.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  174.  
  175.                 while (true)
  176.                 {
  177.                     int address = LocalPlayer + TBK;
  178.                     vam.WriteInt32((IntPtr)address, 1);
  179.                 }
  180.  
  181.             }
  182.             if (answer == "11")
  183.             {
  184.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  185.  
  186.                 while (true)
  187.                 {
  188.                     int address = LocalPlayer + PT;
  189.                     vam.WriteInt32((IntPtr)address, 0);
  190.                 }
  191.  
  192.             }
  193.             if (answer == "12")
  194.             {
  195.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  196.  
  197.                 while (true)
  198.                 {
  199.                     int address = LocalPlayer + CT;
  200.                     vam.WriteInt32((IntPtr)address, 0);
  201.                 }
  202.  
  203.             }
  204.             if (answer == "13")
  205.             {
  206.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  207.  
  208.                 while (true)
  209.                 {
  210.                     int address = LocalPlayer + SGT;
  211.                     vam.WriteInt32((IntPtr)address, 0);
  212.                 }
  213.  
  214.             }
  215.             if (answer == "14")
  216.             {
  217.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  218.  
  219.                 while (true)
  220.                 {
  221.                     int address = LocalPlayer + MGT;
  222.                     vam.WriteInt32((IntPtr)address, 0);
  223.                 }
  224.  
  225.             }
  226.             if (answer == "15")
  227.             {
  228.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  229.  
  230.                 while (true)
  231.                 {
  232.                     int address = LocalPlayer + ST;
  233.                     vam.WriteInt32((IntPtr)address, 0);
  234.                 }
  235.  
  236.             }
  237.             if (answer == "16")
  238.             {
  239.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  240.  
  241.                 while (true)
  242.                 {
  243.                     int address = LocalPlayer + ART;
  244.                     vam.WriteInt32((IntPtr)address, 0);
  245.                 }
  246.  
  247.             }
  248.             if (answer == "17")
  249.             {
  250.                 int LocalPlayer = vam.ReadInt32((IntPtr)PlayerBase);
  251.  
  252.                 while (true)
  253.                 {
  254.                     int address = LocalPlayer + GT;
  255.                     vam.WriteInt32((IntPtr)address, 0);
  256.                 }
  257.  
  258.             }
  259.  
  260.  
  261.  
  262.  
  263.         }
  264.     }
  265. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement