using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Kroxy13_Private_External_Cheat
{
class BunnyHop
{
[DllImport("user32", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int GetAsyncKeyState(int vKey);
[DllImport("User32.dll")]
private static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey);
public static VAMemory vmr = new VAMemory("csgo");
public static int JumpOffset = 0x50DFE44;
public static void Jump()
{
while (true)
{
if (Form1.bunnyh == true)
{
if (GetAsyncKeyState(Keys.Space) != 0)
{
vmr.WriteInt32((IntPtr)Form1.Client + JumpOffset, vmr.ReadInt32((IntPtr)Form1.Client + JumpOffset) == 4 ? 5 : 4);
}
}
}
}
}
}