Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Blueblood1's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    711
    Reputation
    132
    Thanks
    7,129
    My Mood
    Mellow

    Entire Bluehack Source Code

    This is just a dump of the Bluehack source code. I'm no longer working on Bluehack so if anyone wants to do anything with it feel free.

    Credits:

    Main Dev - Blueblood1 (Me)
    Secondary Dev - BarrackObamaCare

    xiEatNoodlezx - Broken Aimbot Source Code (Still trying to get that working) and 3 Part video tutorial that got me interested in this sort of stuff.
    BarackObamaCare - Life Stats Source Code.
    Trevorrr & Jumboperson - Teleport method.
    Kunii - Help with ESP (Still lags quite abit)
    Lystic - Teleport car source code
    moldypeanuts - ESP Draw Method (Still lags quite abit)
    Flutts - Reputation Method
     

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using UnityEngine;
    using System.Xml;
    
    public class Hacks : MonoBehaviour
    {
        #region Full Bright Object
        private GameObject Fullbright = new GameObject();
        #endregion 
    
        #region Variables
        private bool hackmajor = false;
        private bool hackmain = true;
        private bool hackserver = false;
        private bool hackaimbot = false;
        private bool hackesp = false;
        private bool hackplayer = false;
        private bool hackvehicle = false;
        private bool hacklife = false;
        private bool hackitem = false;
        private bool SpeedHackbool = false;
        private bool fullbright = false;
        private bool teleport = false;
        private bool NVG = false;
        private bool NVGbreakloop = false;
        private bool torch = false;
        private bool torchbreakloop = false;
        private float SpeedHack;
        private float Updater;
    
        private float scrHeight = Screen.height;
        private Vector2 scrollPosition;
        private float scrWidth = Screen.width;
    
        public float distance = 50f;
    
        #endregion
    
        #region Aimbot Variables
        private bool Noodlez_Aimbot = false;
        private bool aimbotplayer = false;
        private bool aimbotzombie = false;
        private bool aimbotvehicle = false;
        private bool aimbotanimal = false;
        String[] playerNames = null;
        private int i;
        private float aimbotDist = 0f;
        #endregion
    
        #region ESP Variables
        private bool espplayer = false;
        private bool espstorage = false;
        private bool espvehicle = false;
        private bool espanimal = false; // Doesn't include Zombie's
        private Player[] players;
        private Animal[] animals;
        private Crate[] storage;
        private Vehicle[] vehicles;
        Vector3[] playerESP;
        private float espDist = 0f;
        #endregion
    
        #region Life Variables
        private bool food = false;
        private bool water = false;
        private bool toxicity = false;
        private bool health = false;
        private bool godmode = false;
        private bool stamina = false;
        private bool bleeding = false;
        private bool bones = false;
        float f = UnityEngine.Random.Range(0.0f, 5.28f);
        #endregion
    
        #region Item List
    
        private List<int> itemIdList = new List<int>
        {
            0x36b0,
            0x36b1,
            0x36b2,
            0x36b3,
            0x36b4,
            0x36b5,
            0x36b6,
            0x36b7,
            0x36b8,
            0x36b9,
            0x36ba,
            0x36bb,
            0x36bc,
            0x36bd,
            0x36be,
            0x36bf,
            0x36c0,
            0x36c1,
            0x36c2,
            0x36c3,
            0x36c4,
            0x36c5,
            0x36c6,
            0x36c7,
            0x36c8,
            0x36c9,
            0x36ca,
            0x36cb,
            0x36cc,
            0x36cd,
            0x36ce,
            0x36cf,
            0x36d0,
            0x36d1,
            0x3e80,
            0x3e81,
            0x3e82,
            0x3e83,
            0x3e84,
            0x3e85,
            0x3e86,
            0x3e87,
            0x3e88,
            0x3e89,
            0x3e8a,
            0x3e8b,
            0x3e8c,
            0x3e8d,
            0x3e8e,
            0x3e8f,
            0x3e90,
            0x3e91,
            0x3e92,
            0x3e93,
            0x3e94,
            0x3e95,
            0x3e96,
            0x3e97,
            0x3e98,
            0x3e99,
            0x3e9a,
            0x3e9b,
            0x3e9c,
            0x4268,
            0x4269,
            0x426a,
            0x426b,
            0x426c,
            0x426d,
            0x426e,
            0x426f,
            0x4270,
            0x4271,
            0x4272,
            0x4273,
            0x4274,
            0x4275,
            0x4276,
            0x4277,
            0x4278,
            0x4279,
            0x427a,
            0x427b,
            0x427c,
            0x427d,
            0xfa0,
            0xfa1,
            0xfa2,
            0xfa3,
            0xfa4,
            0xfa5,
            0xfa6,
            0xfa7,
            0xfa8,
            0xfa9,
            0xfaa,
            0xfab,
            0xfac,
            0xfad,
            0xfae,
            0xfaf,
            0xfb0,
            0xfb1,
            0xfb2,
            0xfb3,
            0xfb4,
            0x1388,
            0x1389,
            0x138a,
            0x138b,
            0x138c,
            0x138d,
            0x138e,
            0x138f,
            0x1390,
            0x1391,
            0x1392,
            0x1393,
            0x1394,
            0x1395,
            0x1396,
            0x1397,
            0x1398,
            0x1399,
            0x139a,
            0x139b,
            0x139c,
            0x4650,
            0x4651,
            0x4652,
            0x4653,
            0x4654,
            0x4655,
            0x4656,
            0x4657,
            0x4658,
            0x4659,
            0x465a,
            0x465b,
            0x465c,
            0x465d,
            0x465e,
            0x465f,
            0x4660,
            0x4661,
            0x4662,
            0x4663,
            0x4664,
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            10,
            11,
            12,
            13,
            14,
            15,
            0x10,
            0x11,
            0x12,
            0x13,
            0x1f40,
            0x1f41,
            0x1f42,
            0x1f43,
            0x1f44,
            0x1f45,
            0x1f46,
            0x1f47,
            0x1f48,
            0x1f49,
            0x1f4a,
            0x1f4b,
            0x1f4c,
            0x1f4d,
            0x1f4e,
            0x1f4f,
            0x1f50,
            0x1f51,
            0x1f52,
            0x1f53,
            0x32c8,
            0x32c9,
            0x32ca,
            0x32cb,
            0x32cc,
            0x32cd,
            0x32ce,
            0x32cf,
            0x32d0,
            0x32d1,
            0x32d2,
            0x32d3,
            0x32d4,
            0x32d5,
            0x32d6,
            0x32d7,
            0x32d8,
            0x32d9,
            0x32da,
            0x1b58,
            0x1b59,
            0x1b5a,
            0x1b5b,
            0x1b5c,
            0x1b5d,
            0x1b5e,
            0x1b5f,
            0x1b60,
            0x1b61,
            0x1b62,
            0x1b63,
            0x1b64,
            0x1b65,
            0x1b66,
            0x1b67,
            0x1b68,
            0x1b69,
            0x2328,
            0x2329,
            0x232a,
            0x232b,
            0x232c,
            0x232d,
            0x232e,
            0x232f,
            0x2330,
            0x2331,
            0x2332,
            0x2333,
            0x2334,
            0x2335,
            0x2710,
            0x2711,
            0x2712,
            0x2713,
            0x2714,
            0x2715,
            0x2716,
            0x2717,
            0x2718,
            0x2719,
            0x271a,
            0x271b,
            0x271c,
            0x271d,
            0x3a98,
            0x3a99,
            0x3a9a,
            0x3a9b,
            0x3a9c,
            0x3a9d,
            0x3a9e,
            0x3a9f,
            0x3aa0,
            0x3aa1,
            0x59d8,
            0x59d9,
            0x59da,
            0x59db,
            0x59dc,
            0x59dd,
            0x59de,
            0x59df,
            0x59e0,
            0x4a38,
            0x4a39,
            0x4a3a,
            0x4a3b,
            0x4a3c,
            0x4a3d,
            0x4a3e,
            0x4a3f,
            0x7d0,
            0x7d1,
            0x7d2,
            0x7d3,
            0x7d4,
            0x7d5,
            0x7d6,
            0xbb8,
            0xbb9,
            0xbba,
            0xbbb,
            0xbbc,
            0xbbd,
            0x2af8,
            0x2af9,
            0x2afa,
            0x2afb,
            0x2afc,
            0x2afd,
            0x55f0,
            0x55f1,
            0x55f2,
            0x55f3,
            0x55f4,
            0x2ee0,
            0x2ee1,
            0x2ee2,
            0x61a8,
            0x61a9,
            0x61aa,
            0x4e20,
            0x4e21,
            0x5208,
            0x5209,
            0x5dc0,
            0x6590,
            0x6978,
            0x6d60
        };
        #endregion
    
        #region Item List
        private List<int> loadoutlist = new List<int>
        {
            2004, 4004, 5004, 15, 8013, 17, 7008, 10001, 9000, 9002, 3002, 11000, 11002, 12000, 12001, 18014, 18014, 18014, 18014, 18014, 18014, 18014, 18014, 18014, 18014
            , 14022, 14022, 14022, 14022, 14022, 14022, 14022, 14022, 14022, 14022, 13006, 13006, 13006, 13006, 13006, 13006, 13006, 13006, 13006, 13006, 13006, 13006
        };
        #endregion
    
        #region Calculate Distance
        private float calcDistance(Vector3 place)
        {
            return Vector3.Distance(Camera.main.transform.position, place);
        }
        #endregion
    
        #region ESP Labels
    
    
        private void Timer()
        {
            if (this.Updater <= 1f)
            {
                if (espplayer)
                {
                    Player[] players = UnityEngine.Object.FindObjectsOfType(typeof(Player)) as Player[];
                    playerESP = new Vector3[players.Length];
                    playerNames = new String[players.Length];
                    for (int i = 0; i < players.Length; i++) { playerESP[i] = players[i].transform.position; playerNames[i] = players[i].name; }
                }
    
                if (espstorage)
                {
                    this.storage = UnityEngine.Object.FindObjectsOfType(typeof(Crate)) as Crate[];
                }
    
                if (espanimal)
                {
                    this.animals = UnityEngine.Object.FindObjectsOfType(typeof(Animal)) as Animal[];
                }
    
                if (espvehicle)
                {
                    this.vehicles = UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                }
                this.Updater = 100f;
            }
        }
    
        private void DrawLabel(Vector3 point, string label, Color color)
        {
            Vector3? vector = Camera.main.WorldToScreenPoint(point);
            if (vector.HasValue)
            {
                Vector3 value = vector.Value;
                if (value.z > 0f)
                {
                    Vector2 vector2 = GUIUtility.ScreenToGUIPoint(value);
                    vector2.y = Screen.height - (vector2.y + 1f);
                    GUI.color = color;
                    GUI.Label(new Rect(vector2.x - 64f, vector2.y - 12f, 128f, 24f), label);
                }
            }
        }
        #endregion
    
        #region Life Stuff
        void liferepeater()
        {
            if (godmode)
            {
                Life[] LifeArray =
                UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                foreach (Life Life in LifeArray)
                {
                    Life.tellWater(100);
                    Life.tellFood(100);
                    Life.tellHealth(100);
                    Life.tellSickness(100);
                    Life.tellBleeding(false);
                    Life.tellBones(false);
                    Sneaky.sneak(0);
                    Sneaky.sneak(0.1f);
                    Sneaky.expose(0);
                    Sneaky.expose(0.1f);
                    Life.energyBuffer();
                }
            }
        }
    
        void irepeater()
        {
                InvokeRepeating("liferepeater", 0, 0.1F);
        }
    
        void liferepeater2()
        {
            if (stamina)
            {
                Life[] LifeArray =
                UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                foreach (Life Life in LifeArray)
                {
                    Sneaky.sneak(0);
                    Sneaky.sneak(0.1f);
                    Sneaky.expose(0);
                    Sneaky.expose(0.1f);
                    Life.energyBuffer();
                }
            }
        }
    
        void irepeater2()
        {
            InvokeRepeating("liferepeater2", 0, 0.1F);
        }
        #endregion
    
        #region Item Spawn
        private void itemSpawnButton(int itemid, int y)
        {
    
            if (GUI.Button(new Rect(10f, (float)y, 180f, 30f), ItemName.getName(itemid)))
            {
                SpawnItems.spawnItem(itemid, 1, Camera.main.transform.position);
            }
    
        }
        #endregion
    
        private void Start()
        {
    
        }// End of void start
    
        private void Update()
        {
    
            #region ESP Updates
            this.Timer();
            this.Updater--;
            #endregion
    
            #region Open Menu
            if (Input.GetKeyDown(KeyCode.Insert))
            {
                this.hackmajor = !this.hackmajor;
            }
            #endregion
    
            #region Noodlez Aimbot
            if (this.Noodlez_Aimbot)
            {
                while (Input.GetKeyDown(KeyCode.Mouse2))
                {
                    Camera.main.transform.LookAt(Vector3.zero); // this was a test.. a failed test..
                }
            }
            #endregion
    
            #region Speed Hack
            if (this.SpeedHackbool)
            {
                this.SpeedHack = 2f;
            }
            else
            {
                this.SpeedHack = 1f;
            }
            #endregion 
    
            #region Teleporting
            if (teleport)
            {
                if (Input.GetAxis("Mouse ScrollWheel") > 0)
                {
                    CharacterController tpforward = FindObjectOfType<CharacterController>();
                    Transform teleportf = tpforward.transform;
                    teleportf.position = teleportf.position + ((Vector3)(teleportf.transform.forward * 5f));
                }
    
                if (Input.GetKeyDown(KeyCode.Keypad8))
                {
                    CharacterController tpup = FindObjectOfType<CharacterController>();
                    Transform teleportup = tpup.transform;
                    teleportup.position = teleportup.position + ((Vector3)(tpup.transform.up * 5f));
                }
    
                if (Input.GetKeyDown(KeyCode.Keypad5))
                {
                    CharacterController tpdown = FindObjectOfType<CharacterController>();
                    Transform teleportdown = tpdown.transform;
                    teleportdown.position = teleportdown.position + ((Vector3)(tpdown.transform.up * -5f));
                }
    
    
                if (true) // Needs to be inside an if statement, no idea why?
                {
                    CharacterController antikick = FindObjectOfType<CharacterController>();
                    Transform antikicktrans = antikick.transform;
                    if (antikick.transform.position.y < (Ground.height(antikick.transform.position) - 1f))
                    {
                        CharacterController tpup = FindObjectOfType<CharacterController>();
                        Transform teleportup = tpup.transform;
                        teleportup.position = teleportup.position + ((Vector3)(tpup.transform.up * 5f));
                    }
                }
            }
            #endregion
    
            #region Full Bright
            if (this.fullbright)
            {
                RenderSettings.ambientLight = new Color(0.95f, 0.95f, 0.95f);
                base.ligh*****lor = Color.black;
                base.light.intensity = 0f;
            }
            #endregion
    
            #region Torch
            if (this.torch)
            {
                if (Input.GetKeyDown("f"))
                {
                    this.torchbreakloop = !this.torchbreakloop;
                    if (this.torchbreakloop)
                    {
                        Camera.main.transform.FindChild("light_0").light.enabled = true;
                        Camera.main.transform.FindChild("light_1").light.enabled = true;
                    }
                    else
                    {
                        Camera.main.transform.FindChild("light_0").light.enabled = false;
                        Camera.main.transform.FindChild("light_1").light.enabled = false;
                    }
                }
            }
            #endregion 
    
            #region NVG
            if (this.NVG)
            {
                if (Input.GetKeyDown("n"))
                {
                    this.NVGbreakloop = !this.NVGbreakloop;
                    if (this.NVGbreakloop)
                    {
                        Camera.main.GetComponent<Vignetting>().enabled = true;
                        Camera.main.GetComponent<GrayscaleEffect>().enabled = true;
                    }
                    else
                    {
                        Camera.main.GetComponent<Vignetting>().enabled = false;
                        Camera.main.GetComponent<GrayscaleEffect>().enabled = false;
                    }
                }
            }
            #endregion 
    
            #region Life Food
            if (food)
            {
                    Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                    foreach (Life Life in LifeArray)
                    {
                        Life.tellFood(100); 
                    }
            }
            #endregion
    
            #region Life Water
            if (water)
            {
                    Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                    foreach (Life Life in LifeArray)
                    {
                        Life.tellWater(100); 
                    }
            }
            #endregion
    
            #region Life Toxicity
            if (toxicity)
            {
                    Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                    foreach (Life Life in LifeArray)
                    {
                        Life.tellSickness(100); 
                    }
            }
            #endregion
    
            #region Life Health
            if (health)
            {
                    Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                    foreach (Life Life in LifeArray)
                    {
                        Life.tellHealth(100);
                    }
            }
            #endregion
    
            #region Life Bones
            if (bones)
            {
                Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                foreach (Life Life in LifeArray)
                {
                    Life.tellBones(false);
                }
            }
            #endregion
    
            #region Life Bleeding
            if (bleeding)
            {
                Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
                foreach (Life Life in LifeArray)
                {
                    Life.tellBleeding(false);
                }
            }
            #endregion
    
            #region Panic Button
            if (Input.GetKeyDown(KeyCode.KeypadPeriod))
            {
                Application.Quit();
            }
            #endregion
    
        }//End of void update
    
        private void OnGUI()
        {
            if (hackmajor)
            {
    
                #region Main Menu
                if (hackmain)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    // Draws background for Main Menu
                    GUILayout.Space(-20);
                    GUILayout.Box("Main Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
                    if (GUILayout.Button("Server Menu"))
                    {
                        this.hackserver = !this.hackserver;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("Aimbot Menu"))
                    {
                        this.hackaimbot = !this.hackaimbot;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("ESP Menu"))
                    {
                        this.hackesp = !this.hackesp;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("Player Menu"))
                    {
                        this.hackplayer = !this.hackplayer;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("Vehicle Menu"))
                    {
                        this.hackvehicle = !this.hackvehicle;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("Life Menu"))
                    {
                        this.hacklife = !this.hacklife;
                        this.hackmain = false;
                    }
    
                    if (GUILayout.Button("Item Menu"))
                    {
                        this.hackitem = !this.hackitem;
                        this.hackmain = false;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of hackmain
                #endregion
    
                #region Server Menu
                if (hackserver)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    // Draws background for Main Menu
                    GUILayout.Space(-20);
                    GUILayout.Box("Server Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
                    if (GUILayout.Button("Reset Loot"))
                    {
                        SpawnItems.reset();
                    }
    
                    if (GUILayout.Button("Reset Zombies"))
                    {
                        SpawnAnimals.reset();
                    }
    
                    if (GUILayout.Button("Kill All Zombies"))
                    {
                        Zombie[] zArray = FindObjectsOfType(typeof(Zombie)) as Zombie[];
                        foreach (Zombie zombie in zArray)
                        {
                            zombie.die();
                        }
                    }
    
                    if (GUILayout.Button("Suicide"))
                    {
                        SpawnPlayers.reset();
                    }
    
                    if (GUILayout.Button("Disconnect"))
                    {
                        NetworkTools.disconnect();
                    }
    
                    if (GUILayout.Button("Exit Game"))
                    {
                        Application.Quit();
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackserver = false;
                        this.hackmain = true;
                    }
    
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of Server Menu
                #endregion
    
                #region Aimbot Menu
                if (hackaimbot)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    // Draws background for Main Menu
                    GUILayout.Space(-20);
                    GUILayout.Box("Aimbot Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
                    GUILayout.Label("Aim Distance");
                    this.aimbotDist = GUILayout.HorizontalSlider(this.aimbotDist, 0f, 10000f);
    
                    if (GUILayout.Button("Player"))
                    {
                        this.aimbotplayer = !this.aimbotplayer;
                    }
    
                    if (GUILayout.Button("Zombie"))
                    {
                        this.aimbotzombie = !this.aimbotzombie;
                    }
    
                    if (GUILayout.Button("Vehicle"))
                    {
                        this.aimbotvehicle = !this.aimbotvehicle;
                    }
    
                    if (GUILayout.Button("Animal"))
                    {
                        this.aimbotanimal = !this.aimbotanimal;
                    }
    
                    GUI.color = Color.red;
    
                    if (GUILayout.Button("Activate"))
                    {
                        this.Noodlez_Aimbot = !this.Noodlez_Aimbot;
                    }
    
                    GUI.color = Color.white;
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackaimbot = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of Aimbot Menu
                #endregion
    
                #region ESP Menu
                if (hackesp)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    GUILayout.Space(-20);
                    GUILayout.Box("ESP Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
                    // Draw Slider for ESP distance
                    GUILayout.Label("ESP Distance");
                    this.espDist = GUILayout.HorizontalSlider(this.espDist, 0f, 5000f);
    
                    if (GUILayout.Button("Players"))
                    {
                        this.espplayer = !this.espplayer;
                    }
    
                    if (GUILayout.Button("Storage"))
                    {
                        this.espstorage = !this.espstorage;
                    }
    
                    if (GUILayout.Button("Vehicles"))
                    {
                        this.espvehicle = !this.espvehicle;
                    }
    
                    if (GUILayout.Button("Animals"))
                    {
                        this.espanimal = !this.espanimal;
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackesp = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of ESP Menu
                #endregion
    
                #region Player Menu
                if (hackplayer)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    GUILayout.Space(-20);
                    GUILayout.Box("Player Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
    
                    if (GUILayout.Button("Speed hack"))
                    {
                        this.SpeedHackbool = !this.SpeedHackbool;
                    }
                    Time.timeScale = this.SpeedHack;
    
                    if (GUILayout.Button("Full Bright"))
                    {
                        this.fullbright = !this.fullbright;
                    }
    
                    if (GUILayout.Button("Teleporting"))
                    {
                        this.teleport = !this.teleport;
                    }
    
                    if (GUILayout.Button("NVG's"))
                    {
                        this.NVG = !this.NVG;
                    }
    
                    if (GUILayout.Button("Flashlight"))
                    {
                        this.torch = !this.torch;
                    }
    
                    if (GUILayout.Button("Hero"))
                    {
                        NetworkHandler[] NetArray = UnityEngine.Object.FindObjectsOfType(typeof(NetworkHandler)) as NetworkHandler[];
                        foreach (NetworkHandler nets in NetArray)
                        {
                            nets.setReputation(Network.player, 100);
                        }
                    }
    
                    if (GUILayout.Button("Bandit"))
                    {
                        NetworkHandler[] NetArray = UnityEngine.Object.FindObjectsOfType(typeof(NetworkHandler)) as NetworkHandler[];
                        foreach (NetworkHandler nets in NetArray)
                        {
                            nets.setReputation(Network.player, -100);
                        }
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackplayer = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();              
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of Player Menu
                #endregion
    
                #region Vehicle Menu
                if (hackvehicle)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    GUILayout.Space(-20);
                    GUILayout.Box("Vehicle Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
    
                    if (GUILayout.Button("Teleport Vehicle"))
                    {
                        Vehicle[] mapVehicles = UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                        int num = UnityEngine.Random.Range(0, 10);
                        Vehicle randVeh = mapVehicles[num];
                        Vector3 camPos = Camera.main.transform.position;
                        Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
                        randVeh.updatePosition(newPos, Camera.main.transform****tation);
                        randVeh.transform.position = newPos; //CREDITS TO LYSTIC YOU SMEXY BEAST
                    }
    
                    if (GUILayout.Button("Repair Vehicle"))
                    {
                        Vehicle[] vehicleArray =
                        UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                        foreach (Vehicle Vehicle in vehicleArray)
                        {
                            float vdist = this.calcDistance(Vehicle.transform.position);
                            if (vdist < 50f)
                            {
                                Vehicle.heal(1000);
                            }
                        }
                    }
    
                    if (GUILayout.Button("Refuel Vehicle"))
                    {
                        Vehicle[] vehicleArray =
                        UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                        foreach (Vehicle Vehicle in vehicleArray)
                        {
                            float vdist1 = this.calcDistance(Vehicle.transform.position);
                            if (vdist1 < 50f)
                            {
                                Vehicle.fill(1000);
                            }
                        }
                    }
    
                    if (GUILayout.Button("Destroy Nearby Vehicle's"))
                    {
                        Vehicle[] vehicleArray =
                        UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                        foreach (Vehicle Vehicle in vehicleArray)
                        {
                            float vdist2 = this.calcDistance(Vehicle.transform.position);
                            if (vdist2 < 50f)
                            {
                                Vehicle.damage(1000);
                                Vehicle.burn(1000);
                            }
                        }
                    }
    
                    if (GUILayout.Button("Destroy All Vehicle's"))
                    {
                        Vehicle[] vehicleArray =
                        UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
                        foreach (Vehicle Vehicle in vehicleArray)
                        {
                            Vehicle.damage(1000);
                            Vehicle.burn(1000);
                        }
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackvehicle = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of Life Menu
                #endregion
    
                #region Life Menu
                if (hacklife)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    GUILayout.Space(-20);
                    GUILayout.Box("Life Menu", GUILayout.Height(220));
                    GUILayout.Space(-200);
    
    
                    if (GUILayout.Button("Reset Food"))
                    {
                        this.food = !this.food;
                    }
    
                    if (GUILayout.Button("Reset Water"))
                    {
                        this.water = !this.water;
                    }
    
                    if (GUILayout.Button("Reset Health"))
                    {
                        this.health = !this.health;
                    }
    
                    if (GUILayout.Button("Reset Toxicity"))
                    {
                        this.toxicity = !this.toxicity;
                    }
    
                    if (GUILayout.Button("Fix Bones & Bleeding"))
                    {
                        this.bleeding = !this.bleeding;
                        this.bones = !this.bones;
                    }
    
                    if (GUILayout.Button("Godmode"))
                    {
                        irepeater();
                        this.godmode = !this.godmode;
                    }
    
                    if (GUILayout.Button("Infinite Stamina"))
                    {
                        irepeater2();
                        this.stamina = !this.stamina;
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hacklife = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
                }//End of Life Menu
                #endregion
    
                #region Spawn Menu
                if (hackitem)
                {
                    GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height));
                    GUILayout.Space(5);
                    GUILayout.BeginHorizontal();
                    GUILayout.FlexibleSpace();
    
                    GUILayout.BeginVertical();
                    GUI.color = Color.blue;
                    GUILayout.Label("Blue Hack V2.2 | Own it up!            .");
                    GUI.color = Color.white;
    
                    GUILayout.Space(-20);
                    GUILayout.Box("Item Menu", GUILayout.Height(242));
                    GUILayout.Space(-222);
                    if (GUILayout.Button("Loadout"))
                    {
                        int num3 = 1;
                        foreach (int num4 in this.loadoutlist)
                        {
                            SpawnItems.spawnItem(num4, 1, Camera.main.transform.position);
                            num3++;
                        }
                    }
    
                    if (GUILayout.Button("Back"))
                    {
                        this.hackitem = false;
                        this.hackmain = true;
                    }
    
                    GUILayout.EndVertical();
                    GUILayout.FlexibleSpace();
                    GUILayout.EndHorizontal();
                    GUILayout.FlexibleSpace();
                    GUILayout.Space(5);
                    GUILayout.EndArea();
    
                    this.scrollPosition = GUI.BeginScrollView(new Rect((this.scrWidth / 2f) - (102f), 100f, 206f, 170f), this.scrollPosition, new Rect(0f, 0f, 206f, 10000f));
                    int num = 1;
                    foreach (int num2 in this.itemIdList)
                    {
                        this.itemSpawnButton(num2, num * 30);
                        num++;
                    }
                    GUI.EndScrollView();
                }//End of Spawn Menu
                #endregion
            }
    
            #region ESP Drawing
            if (espplayer)
            {
                foreach (Vector3 vec in playerESP)
                {
                    float pdist = this.calcDistance(vec);
                    if (pdist < espDist)
                    {
                        for (int i = 0; i < players.Length; i++) { DrawLabel(playerESP[i], playerNames[i], Color.blue); }
                    }
                }
            }
    
            if (espstorage)
            {
                foreach (Crate storage in this.storage)
                {
                    float pdist = this.calcDistance(storage.transform.position);
                    if (pdist < espDist)
                    {
                        DrawLabel(storage.transform.position, storage.name, Color.blue);
                    }
                }
            }
    
            if (espanimal)
            {
                foreach (Animal animal in this.animals)
                {
                    float pdist = this.calcDistance(animal.transform.position);
                    if (pdist < espDist)
                    {
                        DrawLabel(animal.transform.position, animal.name, Color.blue);
                    }
                }
            }
    
            if (espvehicle)
            {
                foreach (Vehicle vehicle in this.vehicles)
                {
                    float pdist = this.calcDistance(vehicle.transform.position);
                    if (pdist < espDist)
                    {
                        DrawLabel(vehicle.transform.position, vehicle.name, Color.blue);
                    }
                }
            }
    
            #endregion
    
        }//End of void OnGUI()
    
    }// End of Hack : MonoBehavior

  2. The Following 3 Users Say Thank You to Blueblood1 For This Useful Post:

    AlexGeoZz1 (08-02-2014),LordNature (08-02-2014),TheMaskedOne (08-02-2014)

  3. #2
    TheMaskedOne's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Home
    Posts
    803
    Reputation
    10
    Thanks
    719
    My Mood
    Yeehaw
    Looks good man
    Why have you chosen to publish it?




    Achievements:

     
    Posts Count: ( Done Not done )

    - 666
    - 750
    - 900
    - 1000

     
    Thanks Recieved: ( Done Not done )

    - 400
    - 550
    - 700
    - 850
    - 1000

     
    Cgallagher21

  4. #3
    Blueblood1's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    711
    Reputation
    132
    Thanks
    7,129
    My Mood
    Mellow
    Because I am done with Bluehack, and it gives other people who a bit too lazy something to work off of.

  5. #4
    TheMaskedOne's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Home
    Posts
    803
    Reputation
    10
    Thanks
    719
    My Mood
    Yeehaw
    Quote Originally Posted by Blueblood1 View Post
    Because I am done with Bluehack, and it gives other people who a bit too lazy something to work off of.
    I wonder why people on MPGH are always lazy :S lazyness wil get you nowere.
    Well thanks for sharing anway




    Achievements:

     
    Posts Count: ( Done Not done )

    - 666
    - 750
    - 900
    - 1000

     
    Thanks Recieved: ( Done Not done )

    - 400
    - 550
    - 700
    - 850
    - 1000

     
    Cgallagher21

  6. #5
    bypokoyo's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    Which programs can I use it

  7. #6
    Singed's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    67
    Reputation
    52
    Thanks
    255
    My Mood
    Lurking
    Quote Originally Posted by bypokoyo View Post
    Which programs can I use it
    No offence, but if you don't even know what program to use this with, I wouldn't bother downloading it just yet lol.

  8. #7
    AlexGeoZz1's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    137
    Reputation
    10
    Thanks
    827
    Thanks for this man ! Made by private menu even better Might release if its worth releasin lol

  9. #8
    bypokoyo's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    of course i know , i don't coding hack but i'm just wonder it xD

  10. #9
    WeedToThePeople's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    dwm.exe
    Posts
    41
    Reputation
    16
    Thanks
    104
    My Mood
    Aggressive
    Thank you sooooooooo very much good sir

  11. #10
    Color's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    19,892
    Reputation
    2588
    Thanks
    7,867
    My Mood
    Lurking
    Inb4copypasterelease

    Member Since 8/05/2012
    Editor 4/04/13 - 4/21/13
    Middleman 7/14/13 - 11/4/13

    Battlefield Minion 6/13/14-3/20/15
    Steam Minion 7/16/14-3/20/15

    Minion+ 10/1/14-3/20/15
    M.A.T. Minion 10/19/14-3/20/15
    ROTMG Minion 1/14/15-3/20/15

    Donator Since 2/26/15 (Thanks @Cursed!)
    Steam Minion 5/9/15 - 11/5/15
    OSFPS Minion 9/15/15 - 11/5/15


  12. #11
    WeedToThePeople's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    dwm.exe
    Posts
    41
    Reputation
    16
    Thanks
    104
    My Mood
    Aggressive
    Why do I get this error Error 1 The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)

  13. #12
    Blueblood1's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    711
    Reputation
    132
    Thanks
    7,129
    My Mood
    Mellow
    That was when i was experimenting with XML's, just delete "using system.xml" and it will be fine.

  14. #13
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    Why are you discontinuing blue hack?

  15. #14
    Blueblood1's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    711
    Reputation
    132
    Thanks
    7,129
    My Mood
    Mellow
    I only starting doing it when LickHack was gone, peopled need a hack that wasn't a Assembly-csharp clone. Lickhack is back in full swing now so its not really needed. If Lickhack ever stops releasing, ill probably start releasing again so that people can still have up to date hacks.

  16. #15
    jumboperson187's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    124
    Reputation
    10
    Thanks
    883
    Quote Originally Posted by Blueblood1 View Post
    I only starting doing it when LickHack was gone, peopled need a hack that wasn't a Assembly-csharp clone. Lickhack is back in full swing now so its not really needed. If Lickhack ever stops releasing, ill probably start releasing again so that people can still have up to date hacks.
    Well I'm going to use that antikick method for accidentally teleporting under the map. Thanks for that.

    Quote Originally Posted by Color View Post
    Inb4copypasterelease
    No, nobody would ever do that... right?
    Last edited by jumboperson187; 08-02-2014 at 03:31 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [TUT] arnold's hack v1.1 vb6 source code
    By arnold in forum WarRock - International Hacks
    Replies: 6
    Last Post: 07-11-2008, 10:36 PM
  2. Stamina Hack and source code ?
    By Teh Sasuke in forum C++/C Programming
    Replies: 0
    Last Post: 12-31-2007, 05:08 PM
  3. [Release] ****** DLL Source Code
    By OneWhoSighs in forum WarRock - International Hacks
    Replies: 20
    Last Post: 10-25-2007, 07:41 AM
  4. keylogger source code
    By obsedianpk in forum WarRock - International Hacks
    Replies: 8
    Last Post: 10-24-2007, 02:31 PM
  5. HALO 2 (XBOX) Source Code
    By mirelesmichael in forum General Game Hacking
    Replies: 12
    Last Post: 09-23-2006, 04:35 AM