Gerassss same thing with the Assembly-CSharp dll as before.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class gabens : MonoBehaviour
{
bool hack = false;
bool fly = false;
float scrHeight = Screen.height;
int selection = 1;
int maxSelect = 3;
float scrWidth = Screen.width;
GUIStyle espColor;
PlayerInfo localPly;
PlayerInfo[] players;
int target = 0;
void Start()
{
espColor.normal.textColor = Color.red;
}
void Update()
{
players = GameObject.FindObjectsOfType<PlayerInfo>();
localPly = LocalPlayer.ϱϭϭϩϮϪϧϮϫϴϱ.ϧϰϯϰϮϳϴϲϴϬϫ; //Found by looking under Suicide()
//Keycode hack activation
if (Input.GetKeyDown(KeyCode.Insert))
{
hack = !hack;
}
if (hack)
{
if (Input.GetKeyDown(KeyCode.DownArrow))
{
if (selection != maxSelect)
{
selection += 1;
}
else
{
if (selection == maxSelect)
{
selection = 1;
}
}
}
if (Input.GetKeyDown(KeyCode.UpArrow))
{
if (selection != 1)
{
selection -= 1;
}
else
{
if (selection == 1)
{
selection = maxSelect;
}
}
}
if (Input.GetKeyDown(KeyCode.RightControl))
{
if (selection == 1)
{
selection1();
}
else
{
if (selection == 2)
{
selection2();
}
else
{
if (selection == 3)
{
selection3();
}
else
{
if (selection == 4)
{
selection4();
}
else
{
}
}
}
}
}
if (selection == 3)
{
if (Input.GetKeyDown(KeyCode.LeftArrow))
{
if (target > 0)
{
target--;
}
}
else if (Input.GetKeyDown(KeyCode.RightArrow))
{
if (target < players.Length - 1)
{
target++;
}
}
}
}
if (fly)
{
//Free Movement
if (Input.GetKey(KeyCode.Keypad8))
{
localPly.transform.Translate(Vector3.forward * 20f * Time.deltaTime);
}
if (Input.GetKey(KeyCode.Keypad2))
{
localPly.transform.Translate(Vector3.back * 20f * Time.deltaTime);
}
if (Input.GetKey(KeyCode.Keypad4))
{
localPly.transform.Translate(Vector3.left * 20f * Time.deltaTime);
}
if (Input.GetKey(KeyCode.Keypad6))
{
localPly.transform.Translate(Vector3.right * 20f * Time.deltaTime);
}
if (Input.GetKey(KeyCode.Keypad7))
{
localPly.transform.Translate(Vector3.up * 20f * Time.deltaTime);
}
if (Input.GetKey(KeyCode.Keypad9))
{
localPly.transform.Translate(Vector3.down * 20f * Time.deltaTime);
}
//Kinematic Toggler
if (Input.GetKey(KeyCode.Keypad5))
{
localPly.GetComponent<Rigidbody>().useGravity = !localPly.GetComponent<Rigidbody>().useGravity;
localPly.GetComponent<Rigidbody>().isKinematic = !localPly.GetComponent<Rigidbody>().isKinematic;
}
}
}
// FUNCTIONS
void selection1()
{
fly = !fly;
}
void selection2()
{
localPly.plyHealthRefPlyInfo.respawn();
}
void selection3()
{
players[target].plyHealthRefPlyInfo.plySuicideHackyThing(players[target].name, weirdNumberThing.ϨϱϮϧϧϭϨϯϱϧϫ, 10, Vector3.zero, Vector3.zero, 0f);
//localPly϶϶϶϶
//players[target].ŜŠťŚššŝŢŞŘŧ.šŝŘŧţŧŧřťŘś(LocalPlayer.ŢŞŞŚşśŘşŜťŢ.şŚŝţŘťŚŤŚţŠ, śşŜŜťŞşŤţŠŧ.řŢşŘŘŞřŠŢŘŜ, 10, Vector3.zero, Vector3.zero, 0f);
//players[target].KILIMALKHEH.HHIKAPJECBD = false;
//LocalPlayer.ϱϭϭϩϮϪϧϮϫϴϱ.ϧϰϯϰϮϳϴϲϴϬϫ.gameObject.GetComponent<PlayerHealth>().ϰϬϧ϶ϲ϶϶ϨϴϧϪ(LocalPlayer.ϱϭϭϩϮϪϧϮϫϴϱ.ϮϩϬϲϧϴϩϳϩϲϯ, ϪϮϫϫϴϭϮϳϲϯ϶.ϨϱϮϧϧϭϨϯϱϧϫ, 10, Vector3.zero, Vector3.zero, 0f);
}
void selection4()
{
}
void OnGUI()
{
//Nice GUI
GUI.color = Color.white;
if (hack)
{
GUI.Box(new Rect(0, 290, 150, 300), "- Functions -");
if (selection == 1)
{
GUI.color = Color.red;
}
else
{
GUI.color = Color.white;
}
GUI.Label(new Rect(10, 320, 100, 30), "Fly: " + fly);
if (selection == 2)
{
GUI.color = Color.red;
}
else
{
GUI.color = Color.white;
}
GUI.Label(new Rect(10, 350, 100, 30), "Instant Respawn");
if (selection == 3)
{
GUI.color = Color.red;
}
else
{
GUI.color = Color.white;
}
GUI.Label(new Rect(10, 380, 200, 30), "Hurt Target (Unstable)");
if (selection == 4)
{
//GUI.color = Color.red;
}
else
{
//GUI.color = Color.white;
}
GUI.Box(new Rect(165, 390, 200, 100), "- Target -");
//GUI.Label(new Rect(10, 410, 200, 30), );
GUI.Label(new Rect(235, 420, 200, 30), players[target].name);
if (GUI.Button(new Rect(190, 450, 30, 30), "<"))
{
if (target > 0)
{
target--;
}
}
else if (GUI.Button(new Rect(310, 450, 30, 30), ">"))
{
if (target < players.Length - 1)
{
target++;
}
}
}
}
}