Some simple codes for simple hacks
So I decided to organize a list of a bunch of easy to implement codes for hacks.
This list is intended for a few lines long hacks that are simple to use and implement, longer code such as ESPs and other things are not for this thread.
Godmode
No zombie agro
Agro all zombies on given point
Change UI to gold
Item spawning
Easy speedhack
Spawn cars of a certain name
Quick DC
Reset map loot (Single Player only)
This list is intended for a few lines long hacks that are simple to use and implement, longer code such as ESPs and other things are not for this thread.
Code:
Life[] LifeArray = UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
foreach (Life life in LifeArray)
{
life.tellFood(100);
life.tellWater(100);
life.tellHealth(100);
life.tellSickness(100);
life.tellBleeding(false);
life.tellBones(false);
life.energyBuffer();
}
Code:
if (antiAgro)
{
Sneaky.sneak(0);
Sneaky.sneak(0.1f);
Sneaky.expose(0);
Sneaky.expose(0.1f);
}
Code:
if (GUI.Button(new Rect(10, 0, 180, 30), "Agro all Zombies on me"))
{
Zombie[] zs = FindObjectsOfType(typeof(Zombie)) as Zombie[];
foreach (Zombie player in zs)
{
player.attract(Camera.main.transform.position);
}
}
Code:
if (GUI.Button(new Rect(10, 410, 100, 30), "Swap UI"))
{
SleekRender.swapPaid();
Images.swapPaid();
}
Code:
SpawnItems.spawnItem(Convert.ToInt32(itemspawn), Convert.ToInt32(amount), Camera.main.transform.position);
Code:
Time.timeScale = (whatever speed, 1.0f is the default);
Code:
Color color = new Color(UnityEngine.Random.Range((float)0f, (float)1f), UnityEngine.Random.Range((float)0f, (float)1f), UnityEngine.Random.Range((float)0f, (float)1f));
SpawnVehicles.create("(CAR NAME)" + UnityEngine.Random.Range(0, 2), 100, 100, Camera.main.transform.position + Vector3.up, transform****tation * Quaternion.Euler(-90f, 0f, 0f), color);
Code:
Network.Disconnect();
Code:
if (GUI.Button(new Rect(10, 380, 100, 30), "Reset Loot")){
SpawnItems.reset();
}
