zenken

Untitled

May 13th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.02 KB | None | 0 0
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Reflection;
  7. using System.Text.RegularExpressions;
  8. using UnityEngine;
  9.  
  10. namespace DeadFrontier2
  11. {
  12. // Token: 0x02000003 RID: 3
  13. internal class Main : MonoBehaviour
  14. {
  15. // Token: 0x17000001 RID: 1
  16. // (get) Token: 0x0600000E RID: 14 RVA: 0x00002082 File Offset: 0x00000282
  17. public static Color TestColor
  18. {
  19. get
  20. {
  21. return new Color(1f, 0f, 1f, 1f);
  22. }
  23. }
  24.  
  25. // Token: 0x0600000F RID: 15 RVA: 0x00003410 File Offset: 0x00001610
  26. private void SaveConfig()
  27. {
  28. PlayerPrefs.SetInt("TransformMovement", (this.TransformMovement > false) ? 1 : 0);
  29. PlayerPrefs.SetInt("OHK", (this.OHK > false) ? 1 : 0);
  30. PlayerPrefs.SetInt("MobVac", (this.MobVac > false) ? 1 : 0);
  31. PlayerPrefs.SetInt("ConVac", (this.ConVac > false) ? 1 : 0);
  32. PlayerPrefs.SetInt("Playeresp", (this.Playeresp > false) ? 1 : 0);
  33. PlayerPrefs.SetInt("Enemyesp", (this.Enemyesp > false) ? 1 : 0);
  34. PlayerPrefs.SetInt("Containeresp", (this.Containeresp > false) ? 1 : 0);
  35. PlayerPrefs.SetInt("Chamsesp", (this.Chamsesp > false) ? 1 : 0);
  36. PlayerPrefs.Save();
  37. Debug.Log("Config saved.");
  38. }
  39.  
  40. // Token: 0x06000010 RID: 16 RVA: 0x000034C4 File Offset: 0x000016C4
  41. private void LoadConfig()
  42. {
  43. if (PlayerPrefs.HasKey("TransformMovement"))
  44. {
  45. this.TransformMovement = PlayerPrefs.GetInt("TransformMovement") == 1;
  46. this.OHK = PlayerPrefs.GetInt("OHK") == 1;
  47. this.MobVac = PlayerPrefs.GetInt("MobVac") == 1;
  48. this.ConVac = PlayerPrefs.GetInt("ConVac") == 1;
  49. this.Playeresp = PlayerPrefs.GetInt("Playeresp") == 1;
  50. this.Enemyesp = PlayerPrefs.GetInt("Enemyesp") == 1;
  51. this.Containeresp = PlayerPrefs.GetInt("Containeresp") == 1;
  52. this.Chamsesp = PlayerPrefs.GetInt("Chamsesp") == 1;
  53. Debug.Log("Config loaded.");
  54. }
  55. }
  56.  
  57. // Token: 0x06000011 RID: 17 RVA: 0x00003584 File Offset: 0x00001784
  58. private void DrawMenu(int windowID)
  59. {
  60. GUILayout.BeginHorizontal(new GUILayoutOption[0]);
  61. for (int i = 0; i < this.tabNames.Length; i++)
  62. {
  63. if (GUILayout.Toggle(this.selectedTab == i, this.tabNames[i], "Button", new GUILayoutOption[] { GUILayout.ExpandWidth(true) }))
  64. {
  65. this.selectedTab = i;
  66. }
  67. }
  68. GUILayout.EndHorizontal();
  69. switch (this.selectedTab)
  70. {
  71. case 0:
  72. GUILayout.BeginVertical(GUI.skin.box, new GUILayoutOption[0]);
  73. GUILayout.BeginHorizontal(new GUILayoutOption[0]);
  74. GUILayout.BeginVertical(new GUILayoutOption[0]);
  75. this.OHK = GUILayout.Toggle(this.OHK, "1 HP Zombies", new GUILayoutOption[0]);
  76. this.MobVac = GUILayout.Toggle(this.MobVac, "Zombie Vac", new GUILayoutOption[0]);
  77. Main.incomingDamageActive = GUILayout.Toggle(Main.incomingDamageActive, "God Mode", new GUILayoutOption[0]);
  78. Main.footstepRangeActive = GUILayout.Toggle(Main.footstepRangeActive, "Visibility Range", new GUILayoutOption[0]);
  79. Main.visibilityRangeActive = GUILayout.Toggle(Main.visibilityRangeActive, "Footstep Range", new GUILayoutOption[0]);
  80. Main.freezePlayer = GUILayout.Toggle(Main.freezePlayer, "Freeze Player", new GUILayoutOption[0]);
  81. GUILayout.EndVertical();
  82. GUILayout.Space(10f);
  83. GUILayout.BeginVertical(new GUILayoutOption[0]);
  84. this.ConVac = GUILayout.Toggle(this.ConVac, "ContVac(Risky)", new GUILayoutOption[0]);
  85. this.ShowHealthbar = GUILayout.Toggle(this.ShowHealthbar, "Show HP", new GUILayoutOption[0]);
  86. this.aimbotEnabled = GUILayout.Toggle(this.aimbotEnabled, "Aimbot", new GUILayoutOption[0]);
  87. this.isNoClipEnabled = GUILayout.Toggle(this.isNoClipEnabled, "No-Clip", new GUILayoutOption[0]);
  88. Main.instantLootActive = GUILayout.Toggle(Main.instantLootActive, "InstantLoot", new GUILayoutOption[0]);
  89. Main.weaponColliders = GUILayout.Toggle(Main.weaponColliders, "Infinite Range", new GUILayoutOption[0]);
  90. GUILayout.EndVertical();
  91. GUILayout.EndHorizontal();
  92. GUILayout.EndVertical();
  93. break;
  94. case 1:
  95. GUILayout.BeginVertical(GUI.skin.box, new GUILayoutOption[0]);
  96. GUILayout.BeginHorizontal(new GUILayoutOption[0]);
  97. GUILayout.BeginVertical(new GUILayoutOption[0]);
  98. this.Enemyesp = GUILayout.Toggle(this.Enemyesp, "Zombies", new GUILayoutOption[0]);
  99. this.Playeresp = GUILayout.Toggle(this.Playeresp, "Players", new GUILayoutOption[0]);
  100. this.DoorEsp = GUILayout.Toggle(this.DoorEsp, "Doors", new GUILayoutOption[0]);
  101. GUILayout.EndVertical();
  102. GUILayout.Space(10f);
  103. GUILayout.BeginVertical(new GUILayoutOption[0]);
  104. this.Containeresp = GUILayout.Toggle(this.Containeresp, "Container", new GUILayoutOption[0]);
  105. this.Chamsesp = GUILayout.Toggle(this.Chamsesp, "Chams", new GUILayoutOption[0]);
  106. GUILayout.EndVertical();
  107. GUILayout.EndHorizontal();
  108. GUILayout.EndVertical();
  109. break;
  110. case 2:
  111. GUILayout.BeginVertical(GUI.skin.box, new GUILayoutOption[0]);
  112. GUILayout.BeginHorizontal(new GUILayoutOption[0]);
  113. GUILayout.BeginVertical(new GUILayoutOption[0]);
  114. if (GUILayout.Button("Police Station", new GUILayoutOption[0]) && this.player != null)
  115. {
  116. this.player.transform.position = new Vector3(-949.4828f, 0.068f, 17.1117f);
  117. }
  118. if (GUILayout.Button("Lvl50 Archbrook", new GUILayoutOption[0]) && this.player != null)
  119. {
  120. this.player.transform.position = new Vector3(906.3092f, 0.01f, -23.9571f);
  121. }
  122. GUILayout.EndVertical();
  123. GUILayout.Space(10f);
  124. GUILayout.BeginVertical(new GUILayoutOption[0]);
  125. GUILayout.EndVertical();
  126. GUILayout.EndHorizontal();
  127. GUILayout.EndVertical();
  128. break;
  129. }
  130. GUILayout.BeginArea(new Rect(10f, this.menuRect.height - 30f, this.menuRect.width - 20f, 40f));
  131. GUILayout.BeginHorizontal(new GUILayoutOption[0]);
  132. if (GUILayout.Button("Save Config", new GUILayoutOption[0]))
  133. {
  134. this.SaveConfig();
  135. }
  136. if (GUILayout.Button("Load Config", new GUILayoutOption[0]))
  137. {
  138. this.LoadConfig();
  139. }
  140. GUILayout.EndHorizontal();
  141. GUILayout.EndArea();
  142. GUI.DragWindow();
  143. }
  144.  
  145. // Token: 0x06000012 RID: 18 RVA: 0x000039E8 File Offset: 0x00001BE8
  146. public static List<Transform> GetAllBones(Animator a)
  147. {
  148. return new List<Transform>
  149. {
  150. a.GetBoneTransform(HumanBodyBones.Head),
  151. a.GetBoneTransform(HumanBodyBones.Neck),
  152. a.GetBoneTransform(HumanBodyBones.Spine),
  153. a.GetBoneTransform(HumanBodyBones.Hips),
  154. a.GetBoneTransform(HumanBodyBones.LeftShoulder),
  155. a.GetBoneTransform(HumanBodyBones.LeftUpperArm),
  156. a.GetBoneTransform(HumanBodyBones.LeftLowerArm),
  157. a.GetBoneTransform(HumanBodyBones.LeftHand),
  158. a.GetBoneTransform(HumanBodyBones.RightShoulder),
  159. a.GetBoneTransform(HumanBodyBones.RightUpperArm),
  160. a.GetBoneTransform(HumanBodyBones.RightLowerArm),
  161. a.GetBoneTransform(HumanBodyBones.RightHand),
  162. a.GetBoneTransform(HumanBodyBones.LeftUpperLeg),
  163. a.GetBoneTransform(HumanBodyBones.LeftLowerLeg),
  164. a.GetBoneTransform(HumanBodyBones.LeftFoot),
  165. a.GetBoneTransform(HumanBodyBones.RightUpperLeg),
  166. a.GetBoneTransform(HumanBodyBones.RightLowerLeg),
  167. a.GetBoneTransform(HumanBodyBones.RightFoot)
  168. };
  169. }
  170.  
  171. // Token: 0x06000013 RID: 19 RVA: 0x00003AF0 File Offset: 0x00001CF0
  172. public static string GetLootContainerNames(string pText)
  173. {
  174. pText = pText.Replace("BarrelA_Barrel1 (1)3_Optimized", "Barrel").Replace("BarrelA_Barrel2 (1)2_Optimized", "Barrel").Replace("PowerboxA_Powerbox20_Optimized", "Powerbox")
  175. .Replace("PowerboxA_Powerbox31_Optimized", "Powerbox")
  176. .Replace("PowerboxA_Powerbox12_Optimized", "Powerbox")
  177. .Replace("BarrelA_Barrel1 (1)3_Optimized", "Barrel")
  178. .Replace("BarrelA_Barrel21_Optimized", "Barrel")
  179. .Replace("BarrelA_Barrel10_Optimized", "Barrel")
  180. .Replace("CarTruckA_Car1A0_Optimized", "Truck")
  181. .Replace("CarTruckA_Car1B1_Optimized", "Truck")
  182. .Replace("Cupboard_kitch_down1 (2)", "Kitchen Cupboard")
  183. .Replace("Cupboard_kitch_down1 (5)", "Kitchen Cupboard")
  184. .Replace("Cupboard_kitch_down1 (1)", "Kitchen Cupboard")
  185. .Replace("Cupboard_kitch_down3 (3)", "Kitchen Cupboard")
  186. .Replace("Cupboard_kitch_down1 (4)", "Kitchen Cupboard")
  187. .Replace("Cupboard_kitch_down3 (2)", "Kitchen Cupboard")
  188. .Replace("Cupboard_kitch_down3 (1)", "Kitchen Cupboard")
  189. .Replace("CarBusA_Bus20_Optimized", "Bus")
  190. .Replace("CarBusA_Bus11_Optimized", "Bus")
  191. .Replace("Cupboard_kitch_up3 (2)", "Kitchen Cupboard")
  192. .Replace("Cupboard_kitch_up2 (1)", "Kitchen Cupboard")
  193. .Replace("Desk_large_Simple_Grid", "Desk Large")
  194. .Replace("ZombieWoman_B_v01 (1)", "Zombie Woman")
  195. .Replace("CarB_Car3B0_Optimized", "Car")
  196. .Replace("CarB_Car3A1_Optimized", "Car")
  197. .Replace("CarA_Car4B1_Optimized", "Car")
  198. .Replace("Bathroom_Furniture_02", "Bathroom Furniture")
  199. .Replace("Bathroom_Furniture_01", "Bathroom Furniture")
  200. .Replace("ZombieMan_D_V1 (1)", "Zombie Man")
  201. .Replace("Cupboard_kitch_down2", "Kitchen Cupboard")
  202. .Replace("Cupboard_kitch_down3", "Kitchen Cupboard")
  203. .Replace("CarA_Car40_Optimized", "Car")
  204. .Replace("FemaleCorpseDecayed", "Female Corpse Decayed")
  205. .Replace("ZombieWoman_A01 (1)", "Zombie Woman")
  206. .Replace("ZombieWomanC_V1 (1)", "Zombie Woman")
  207. .Replace("ZombieWomanD_V1 (1)", "Zombie Woman")
  208. .Replace("Bed_Cabinet_Medical", "Bed Cabinet Medical")
  209. .Replace("ZombieMan_C_V1 (1)", "Zombie Man")
  210. .Replace("Cupboard_kitch_up1", "Kitchen Cupboard")
  211. .Replace("Cupboard_kitch_up3", "Kitchen Cupboard")
  212. .Replace("ZombieMan_D_V1 (1)", "Zombie Man")
  213. .Replace("ZombieWoman_B_v01", "Zombie Woman")
  214. .Replace("ZombieMan_B01 (1)", "Zombie Man")
  215. .Replace("ZombieWoman_A01", "Zombie Woman")
  216. .Replace("ZombieWomanC_V1", "Zombie Woman")
  217. .Replace("ZombieWomanD_V1", "Zombie Woman")
  218. .Replace("ZombieManA (1)", "Zombie Man")
  219. .Replace("ZombieMan_C_V1", "Zombie Man")
  220. .Replace("ZombieMan_D_V1", "Zombie Man")
  221. .Replace("FemaleCorpseA", "Female Corpse")
  222. .Replace("FemaleCorpseB", "Female Corpse")
  223. .Replace("FemaleCorpseC", "Female Corpse")
  224. .Replace("FemaleCorpseD", "Female Corpse")
  225. .Replace("FemaleCorpseE", "Female Corpse")
  226. .Replace("Cupboard_old1", "Old Cupboard")
  227. .Replace("Cupboard_old2", "Old Cupboard")
  228. .Replace("Cupboard_old3", "Old Cupboard")
  229. .Replace("Cupboard_old4", "Old Cupboard")
  230. .Replace("Cupboard_old5", "Old Cupboard")
  231. .Replace("ZombieMan_B01", "Zombie Man")
  232. .Replace("Sideboard_1", "Sideboard")
  233. .Replace("Sideboard_2", "Sideboard")
  234. .Replace("Sideboard_3", "Sideboard")
  235. .Replace("MaleCorpseA", "Male Corpse")
  236. .Replace("MaleCorpseB", "Male Corpse")
  237. .Replace("MaleCorpseC", "Male Corpse")
  238. .Replace("MaleCorpseD", "Male Corpse")
  239. .Replace("MaleCorpseE", "Male Corpse")
  240. .Replace("MaleCorpseF", "Male Corpse")
  241. .Replace("MaleCorpseG", "Male Corpse")
  242. .Replace("Wardrobe3_B", "Wardrobe")
  243. .Replace("Wardrobe3_A", "Wardrobe")
  244. .Replace("ZombieManA", "Zombie Man")
  245. .Replace("ZombieManB", "Zombie Man")
  246. .Replace("Desk_Large", "Desk Large")
  247. .Replace("PowerboxA", "Powerbox")
  248. .Replace("PowerboxB", "Powerbox")
  249. .Replace("CarTruckA", "Truck")
  250. .Replace("DumpsterA", "Dumpster")
  251. .Replace("Cupboard1", "Cupboard")
  252. .Replace("Wardrobe1", "Wardrobe")
  253. .Replace("Wardrobe2", "Wardrobe")
  254. .Replace("Cupboard2", "Cupboard")
  255. .Replace("Cabinet_2", "Cabinet")
  256. .Replace("TractorA", "Tractor")
  257. .Replace("Cupboard", "Cupboard")
  258. .Replace("CarBusA", "Bus")
  259. .Replace("CarVanA", "Van")
  260. .Replace("BarrelA", "Barrel")
  261. .Replace("BarrelB", "Barrel")
  262. .Replace("Cabinet", "Cabinet")
  263. .Replace("Desk_1", "Desk")
  264. .Replace("Desk_2", "Desk")
  265. .Replace("Desk_3", "Desk")
  266. .Replace("BinA", "Trash Bin")
  267. .Replace("BinB", "Trash Bin")
  268. .Replace("CarA", "Car")
  269. .Replace("CarB", "Car")
  270. .Replace("ShelfBase01", "Shelf")
  271. .Replace("Enemy1", "Boss Loot")
  272. .Replace("cardboard_boxes", "Cardboard Boxes B")
  273. .Replace("cardboard_boxes_small", "Cardboard Boxes Small")
  274. .Replace("cardboard_boxes_small_2", "Cardboard Boxes Small")
  275. .Replace("Cupboard_Old_Paint1", "Cardboard Boxes Small");
  276. return new Regex("\\([\\d-]\\)").Replace(pText, string.Empty);
  277. }
  278.  
  279. // Token: 0x06000014 RID: 20 RVA: 0x00004130 File Offset: 0x00002330
  280. public static string GetDoorNames(string pText)
  281. {
  282. pText = pText.Replace("BasicDoor 3M(Clone)", "Basic Door").Replace("BasicDoor 3M", "Basic Door").Replace("BasicDoubleDoor 3M", "Double Door")
  283. .Replace("BasicHallDoubleDoor 5M", "Double Door")
  284. .Replace("BasicHallDoubleDoor 5M(Clone)", "Double Door")
  285. .Replace("StairExit", "Stair Exit");
  286. return new Regex("\\([\\d-]\\)").Replace(pText, string.Empty);
  287. }
  288.  
  289. // Token: 0x06000015 RID: 21 RVA: 0x000041B0 File Offset: 0x000023B0
  290. public void OnGUI()
  291. {
  292. if (this.showMenu)
  293. {
  294. GUI.backgroundColor = Color.black;
  295. this.menuRect = GUI.Window(0, this.menuRect, new GUI.WindowFunction(this.DrawMenu), "DeadFrontierz by Dreamz");
  296. }
  297. if (this.aimbotEnabled)
  298. {
  299. this.Aimbot();
  300. }
  301. if (Main.instantLootActive)
  302. {
  303. this.ApplyInstantLootModification(true);
  304. }
  305. else
  306. {
  307. this.ApplyInstantLootModification(false);
  308. }
  309. if (Main.footstepRangeActive)
  310. {
  311. this.ApplyFootstepRangeModification();
  312. }
  313. if (Main.incomingDamageActive)
  314. {
  315. this.ApplyIncomingDamageModification();
  316. }
  317. if (Main.visibilityRangeActive)
  318. {
  319. this.ApplyVisibilityRangeModification();
  320. }
  321. if (this.Enemyesp)
  322. {
  323. foreach (CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated in Main.EnemyBase)
  324. {
  325. Vector3 vector = Main.cam.WorldToScreenPoint(cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.transform.position);
  326. Animator component = cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.GetComponent<Animator>();
  327. if (ESPUtils.IsOnScreen(vector) && cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.health > 0f && this.Enemyesp)
  328. {
  329. ESPUtils.DrawAllBones(Main.GetAllBones(component), ESPUtils.GetHealthColour(cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.health, 99999f));
  330. Vector2 vector2 = new Vector2(vector.x, (float)Screen.height - vector.y + 8f);
  331. string text = "Zombie\nHP: ";
  332. CF_7ce4616aaf704c97b51300c32faee12c71db29d1_Corpsefuscated health = cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.health;
  333. ESPUtils.DrawString(vector2, text + health.ToString() + "\n", Color.red, true, 12, FontStyle.Bold, 1);
  334. }
  335. }
  336. }
  337. if (this.Playeresp)
  338. {
  339. foreach (CF_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated cf_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated in Main.Playerst)
  340. {
  341. Vector3 vector3 = Main.cam.WorldToScreenPoint(cf_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated.transform.position);
  342. Animator component2 = cf_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated.GetComponent<Animator>();
  343. if (ESPUtils.IsOnScreen(vector3) && this.Playeresp)
  344. {
  345. ESPUtils.DrawAllBones(Main.GetAllBones(component2), Color.green);
  346. ESPUtils.DrawString(new Vector2(vector3.x, (float)Screen.height - vector3.y + 8f), cf_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated.characterName + "\nCharID: " + cf_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated.characterID.ToString(), Color.green, true, 12, FontStyle.Bold, 1);
  347. }
  348. }
  349. }
  350. if (this.Containeresp)
  351. {
  352. foreach (CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated in Main.ContainerBase)
  353. {
  354. Vector3 vector4 = Main.cam.WorldToScreenPoint(cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated.transform.position);
  355. if (ESPUtils.IsOnScreen(vector4) && cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated.requireLootAllowed && this.Containeresp)
  356. {
  357. ESPUtils.DrawString(new Vector2(vector4.x, (float)Screen.height - vector4.y + 8f), Main.GetLootContainerNames(cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated.gameObject.name) + "\n", Color.cyan, true, 12, FontStyle.Bold, 1);
  358. }
  359. }
  360. }
  361. if (this.DoorEsp)
  362. {
  363. foreach (Transform transform in Main.Offices)
  364. {
  365. Vector3 vector5 = Main.cam.WorldToScreenPoint(transform.position);
  366. if (ESPUtils.IsOnScreen(vector5))
  367. {
  368. ESPUtils.DrawString(new Vector2(vector5.x, (float)Screen.height - vector5.y + 8f), Main.GetDoorNames(transform.gameObject.name) + "\n", Color.yellow, true, 12, FontStyle.Bold, 1);
  369. }
  370. }
  371. }
  372. }
  373.  
  374. // Token: 0x06000016 RID: 22 RVA: 0x00004594 File Offset: 0x00002794
  375. private void Start()
  376. {
  377. Main.headChamsMaterial = new Material(Shader.Find("Hidden/Internal-Colored"))
  378. {
  379. hideFlags = (HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor)
  380. };
  381. Main.headChamsMaterial.SetInt("_ZTest", 8);
  382. Main.headChamsMaterial.SetColor("_Color", Color.blue);
  383. Main.headChamsMaterial.SetInt("_SrcBlend", 1);
  384. Main.headChamsMaterial.SetInt("_DstBlend", 0);
  385. Main.headChamsMaterial.SetInt("_Cull", 0);
  386. Main.headChamsMaterial.SetInt("_Blend", 0);
  387. Main.headChamsMaterial.SetInt("_Mode", 0);
  388. Main.headChamsMaterial.SetFloat("_Glossiness", 0f);
  389. Main.headChamsMaterial.SetFloat("_Metallic", 0f);
  390. }
  391.  
  392. // Token: 0x06000017 RID: 23
  393. public void Update()
  394. {
  395. if (Input.GetKeyDown(KeyCode.Insert))
  396. {
  397. this.showMenu = !this.showMenu;
  398. }
  399. this.natNextUpdateTime += Time.deltaTime;
  400. if (this.natNextUpdateTime >= 2f)
  401. {
  402. Main.ContainerBase = global::UnityEngine.Object.FindObjectsOfType<CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated>().ToList<CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated>();
  403. Main.EnemyBase = global::UnityEngine.Object.FindObjectsOfType<CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated>().ToList<CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated>();
  404. Main.Playerst = global::UnityEngine.Object.FindObjectsOfType<CF_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated>().ToList<CF_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated>();
  405. Main.PlayerHealthbar = global::UnityEngine.Object.FindObjectsOfType<CF_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated>().ToList<CF_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated>();
  406. Main.Offices = (from t in global::UnityEngine.Object.FindObjectsOfType<Transform>()
  407. where this.doorKeywords.Any((string keyword) => t.gameObject.name.ToLower().Contains(keyword))
  408. select t).ToList<Transform>();
  409. if (this.Chamsesp)
  410. {
  411. this.ApplyHeadChamsToZombies();
  412. }
  413. this.natNextUpdateTime = 0f;
  414. }
  415. if (Input.GetMouseButton(1) && this.aimbotEnabled)
  416. {
  417. this.AimAtClosestEnemyHead();
  418. }
  419. if (Input.GetKeyDown(KeyCode.F10))
  420. {
  421. this.DumpAllGameObjects();
  422. }
  423. if (Main.weaponColliders != this.weaponCollidersLastState)
  424. {
  425. if (Main.weaponColliders)
  426. {
  427. this.InflateWeaponColliders(999999f);
  428. }
  429. else
  430. {
  431. this.InflateWeaponColliders(0.6f);
  432. }
  433. this.weaponCollidersLastState = Main.weaponColliders;
  434. }
  435. if (Main.freezePlayer && this.player != null)
  436. {
  437. if (this.frozenPosition == Vector3.zero)
  438. {
  439. this.frozenPosition = this.player.transform.position;
  440. }
  441. this.player.transform.position = this.frozenPosition;
  442. }
  443. else
  444. {
  445. this.frozenPosition = Vector3.zero;
  446. }
  447. if (this.player == null)
  448. {
  449. this.player = GameObject.Find("Player");
  450. if (this.player != null)
  451. {
  452. this.characterController = this.player.GetComponent<CharacterController>();
  453. }
  454. }
  455. if (this.player != null && this.characterController != null)
  456. {
  457. if (this.isNoClipEnabled)
  458. {
  459. this.characterController.enabled = false;
  460. }
  461. else
  462. {
  463. this.characterController.enabled = true;
  464. }
  465. }
  466. if (this.ShowHealthbar)
  467. {
  468. foreach (CF_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated cf_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated in Main.PlayerHealthbar)
  469. {
  470. cf_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated.compassArrow.gameObject.SetActive(true);
  471. cf_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated.statusText.gameObject.SetActive(true);
  472. cf_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated.characterNameTextTemplate.gameObject.SetActive(true);
  473. cf_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated.interactionText.gameObject.SetActive(true);
  474. }
  475. }
  476. if (this.TransformMovement)
  477. {
  478. if (Input.GetKey(KeyCode.LeftControl))
  479. {
  480. CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position += 1.25f * Camera.main.transform.forward;
  481. }
  482. if (Input.GetKeyDown(KeyCode.UpArrow))
  483. {
  484. CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position += new Vector3(0f, 5f, 0f);
  485. }
  486. if (Input.GetKeyDown(KeyCode.DownArrow))
  487. {
  488. CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position += new Vector3(0f, -5f, 0f);
  489. }
  490. }
  491. if (this.OHK)
  492. {
  493. foreach (CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated in Main.EnemyBase)
  494. {
  495. if (cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.health > 0f)
  496. {
  497. cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.health = 0.1f;
  498. }
  499. }
  500. }
  501. if (this.MobVac)
  502. {
  503. foreach (CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated2 in Main.EnemyBase)
  504. {
  505. cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated2.transform.position = new Vector3(CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.x, CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.y, CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.z + 3f);
  506. }
  507. }
  508. if (this.ConVac)
  509. {
  510. foreach (CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated in Main.ContainerBase)
  511. {
  512. if (cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated.requireLootAllowed)
  513. {
  514. cf_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated.transform.position = new Vector3(CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.x, CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.y, CF_d805f451e3be3065db4f93b7f501851780f4df27_Corpsefuscated.player.transform.position.z + 3f);
  515. }
  516. }
  517. }
  518. }
  519.  
  520. // Token: 0x06000018 RID: 24 RVA: 0x00004B2C File Offset: 0x00002D2C
  521. public void ApplyFootstepRangeModification()
  522. {
  523. this.player = GameObject.Find("Player");
  524. if (this.player != null)
  525. {
  526. this.comp = this.player.GetComponent<CF_8e13141191f104f691ee62491ff28eb32caf3c96_Corpsefuscated>();
  527. if (this.comp != null)
  528. {
  529. IDictionary dictionary = (IDictionary)this.comp.GetType().GetField("CF_ca685e3e6a3d252da431bba0ea6d1344343ccfcb_Corpsefuscated", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).GetValue(this.comp);
  530. if (dictionary != null)
  531. {
  532. foreach (object obj in dictionary)
  533. {
  534. DictionaryEntry dictionaryEntry = (DictionaryEntry)obj;
  535. if (dictionaryEntry.Key.ToString() == "footstepRange")
  536. {
  537. dictionary[dictionaryEntry.Key] = -30;
  538. break;
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545.  
  546. // Token: 0x06000019 RID: 25 RVA: 0x00004C18 File Offset: 0x00002E18
  547. public void ApplyIncomingDamageModification()
  548. {
  549. this.player = GameObject.Find("Player");
  550. if (this.player != null)
  551. {
  552. this.comp = this.player.GetComponent<CF_8e13141191f104f691ee62491ff28eb32caf3c96_Corpsefuscated>();
  553. if (this.comp != null)
  554. {
  555. IDictionary dictionary = (IDictionary)this.comp.GetType().GetField("CF_56ec253bae376ae9a857c68158e8621dabd5ff8e_Corpsefuscated", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).GetValue(this.comp);
  556. if (dictionary != null)
  557. {
  558. List<object> list = new List<object>();
  559. int num = 0;
  560. foreach (object obj in dictionary)
  561. {
  562. DictionaryEntry dictionaryEntry = (DictionaryEntry)obj;
  563. object key = dictionaryEntry.Key;
  564. object value = dictionaryEntry.Value;
  565. if (key.ToString() == "incomingDamageMulti")
  566. {
  567. list.Add(key);
  568. }
  569. num++;
  570. }
  571. foreach (object obj2 in list)
  572. {
  573. dictionary[obj2] = 0f;
  574. }
  575. }
  576. }
  577. }
  578. }
  579.  
  580. // Token: 0x0600001A RID: 26 RVA: 0x00004D5C File Offset: 0x00002F5C
  581. public void ApplyVisibilityRangeModification()
  582. {
  583. this.player = GameObject.Find("Player");
  584. if (this.player != null)
  585. {
  586. this.comp = this.player.GetComponent<CF_8e13141191f104f691ee62491ff28eb32caf3c96_Corpsefuscated>();
  587. if (this.comp != null)
  588. {
  589. IDictionary dictionary = (IDictionary)this.comp.GetType().GetField("CF_56ec253bae376ae9a857c68158e8621dabd5ff8e_Corpsefuscated", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).GetValue(this.comp);
  590. if (dictionary != null)
  591. {
  592. foreach (object obj in dictionary)
  593. {
  594. DictionaryEntry dictionaryEntry = (DictionaryEntry)obj;
  595. if (dictionaryEntry.Key.ToString() == "visibilityRange")
  596. {
  597. dictionary[dictionaryEntry.Key] = -30.0;
  598. break;
  599. }
  600. }
  601. }
  602. }
  603. }
  604. }
  605.  
  606. // Token: 0x0600001B RID: 27 RVA: 0x00004E4C File Offset: 0x0000304C
  607. public void ApplyInstantLootModification(bool state)
  608. {
  609. GameObject gameObject = GameObject.Find("Player");
  610. if (gameObject != null)
  611. {
  612. Component component = gameObject.GetComponent("CF_2e290af84f0d934a5613892477e5e1bc52e28378_Corpsefuscated");
  613. if (component != null)
  614. {
  615. float num = (state ? 3f : 0.1f);
  616. FieldInfo field = component.GetType().GetField("CF_56ec253bae376ae9a857c68158e8621dabd5ff8e_Corpsefuscated", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
  617. if (field != null)
  618. {
  619. field.SetValue(component, num);
  620. }
  621. }
  622. }
  623. }
  624.  
  625. // Token: 0x0600001C RID: 28 RVA: 0x00004EB8 File Offset: 0x000030B8
  626. private void Aimbot()
  627. {
  628. float num = 150f;
  629. Vector2 vector = new Vector2((float)Screen.width / 2f, (float)Screen.height / 2f);
  630. this.DrawFOVCircle(num, vector);
  631. GameObject closestEnemy = this.GetClosestEnemy();
  632. if (closestEnemy != null)
  633. {
  634. Animator component = closestEnemy.GetComponent<Animator>();
  635. Transform targetBone = this.GetTargetBone(component);
  636. if (targetBone != null)
  637. {
  638. Quaternion quaternion = Quaternion.LookRotation(targetBone.position - this.player.transform.position);
  639. this.player.transform.rotation = Quaternion.Slerp(this.player.transform.rotation, quaternion, Time.deltaTime * 10f);
  640. }
  641. }
  642. }
  643.  
  644. // Token: 0x0600001D RID: 29 RVA: 0x0000209D File Offset: 0x0000029D
  645. private void DrawFOVCircle(float radius, Vector2 screenCenter)
  646. {
  647. ESPUtils.DrawCircle(Color.white, screenCenter, radius);
  648. }
  649.  
  650. // Token: 0x0600001E RID: 30 RVA: 0x00004F74 File Offset: 0x00003174
  651. public void Aim()
  652. {
  653. if (Application.isPlaying)
  654. {
  655. GameObject closestEnemy = this.GetClosestEnemy();
  656. if (closestEnemy != null)
  657. {
  658. Animator component = closestEnemy.GetComponent<Animator>();
  659. Transform targetBone = this.GetTargetBone(component);
  660. if (targetBone != null)
  661. {
  662. Quaternion quaternion = Quaternion.LookRotation(targetBone.position - base.transform.position);
  663. base.transform.rotation = Quaternion.RotateTowards(base.transform.rotation, quaternion, this.aimSmooth * Time.deltaTime);
  664. return;
  665. }
  666. }
  667. }
  668. else
  669. {
  670. this.targetPosition = this.cameraController.transform.position + this.cameraController.transform.forward * this.aimDistance;
  671. base.transform.rotation = Quaternion.LookRotation((this.targetPosition - base.transform.position).normalized, Vector3.up) * Quaternion.Euler(this.rotationOffset);
  672. }
  673. }
  674.  
  675. // Token: 0x0600001F RID: 31 RVA: 0x00005078 File Offset: 0x00003278
  676. private GameObject GetClosestEnemy()
  677. {
  678. GameObject gameObject = null;
  679. float num = this.maxAimbotDistance;
  680. foreach (CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated in Main.EnemyBase)
  681. {
  682. if (cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated != null)
  683. {
  684. float num2 = Vector3.Distance(base.transform.position, cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.transform.position);
  685. if (num2 < num)
  686. {
  687. num = num2;
  688. gameObject = cf_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated.gameObject;
  689. }
  690. }
  691. }
  692. return gameObject;
  693. }
  694.  
  695. // Token: 0x06000020 RID: 32 RVA: 0x00005104 File Offset: 0x00003304
  696. private Transform GetTargetBone(Animator animator)
  697. {
  698. Transform transform = animator.GetBoneTransform(HumanBodyBones.Head);
  699. if (transform == null)
  700. {
  701. transform = animator.transform.Find("Geo/Zombie_Parts/Head");
  702. }
  703. return transform;
  704. }
  705.  
  706. // Token: 0x06000021 RID: 33 RVA: 0x00005138 File Offset: 0x00003338
  707. public void MouseMove(Vector3 screenPos)
  708. {
  709. float num = 10f;
  710. float num2 = (screenPos.x - (float)(Screen.width / 2)) / num;
  711. float num3 = (screenPos.y - (float)(Screen.height / 2)) / num;
  712. Cursor.lockState = CursorLockMode.Locked;
  713. Cursor.visible = false;
  714. Vector3 vector = new Vector3(num2, num3, 0f);
  715. Cursor.SetCursor(null, vector, CursorMode.Auto);
  716. }
  717.  
  718. // Token: 0x06000022 RID: 34 RVA: 0x00005198 File Offset: 0x00003398
  719. private void AimAtClosestEnemyHead()
  720. {
  721. GameObject[] array = GameObject.FindGameObjectsWithTag("Enemy");
  722. GameObject gameObject = null;
  723. float num = this.maxAimbotDistance;
  724. foreach (GameObject gameObject2 in array)
  725. {
  726. float num2 = Vector3.Distance(this.player.transform.position, gameObject2.transform.position);
  727. if (num2 < num)
  728. {
  729. gameObject = gameObject2;
  730. num = num2;
  731. }
  732. }
  733. if (gameObject != null)
  734. {
  735. Transform headTransform = this.GetHeadTransform(gameObject);
  736. if (headTransform != null)
  737. {
  738. Quaternion quaternion = Quaternion.LookRotation(headTransform.position - this.cameraController.transform.position);
  739. this.cameraController.transform.rotation = Quaternion.Slerp(this.cameraController.transform.rotation, quaternion, Time.deltaTime * this.aimSmooth);
  740. }
  741. }
  742. }
  743.  
  744. // Token: 0x06000023 RID: 35 RVA: 0x0000526C File Offset: 0x0000346C
  745. private Transform GetHeadTransform(GameObject enemy)
  746. {
  747. Transform transform = enemy.transform.Find("Geo");
  748. if (transform != null)
  749. {
  750. Transform transform2 = transform.Find("Zombie_Parts");
  751. if (transform2 != null)
  752. {
  753. return transform2.Find("Head");
  754. }
  755. }
  756. return null;
  757. }
  758.  
  759. // Token: 0x06000024 RID: 36 RVA: 0x000052B8 File Offset: 0x000034B8
  760. public void ToggleNoClip()
  761. {
  762. if (this.player == null)
  763. {
  764. this.player = GameObject.Find("Player");
  765. if (this.player != null)
  766. {
  767. this.characterController = this.player.GetComponent<CharacterController>();
  768. }
  769. }
  770. if (this.player != null && this.characterController != null)
  771. {
  772. if (this.isNoClipEnabled)
  773. {
  774. this.characterController.enabled = false;
  775. return;
  776. }
  777. this.characterController.enabled = true;
  778. }
  779. }
  780.  
  781. // Token: 0x06000025 RID: 37 RVA: 0x00005340 File Offset: 0x00003540
  782. public void ApplyHeadChamsToZombies()
  783. {
  784. GameObject[] array = GameObject.FindGameObjectsWithTag("Enemy");
  785. if (array.Length != 0)
  786. {
  787. foreach (GameObject gameObject in array)
  788. {
  789. string name = gameObject.name;
  790. Transform transform = gameObject.transform;
  791. Transform transform2 = this.FindHeadInHierarchy(gameObject.transform);
  792. if (transform2 != null)
  793. {
  794. Renderer component = transform2.GetComponent<Renderer>();
  795. if (component != null)
  796. {
  797. component.material = Main.headChamsMaterial;
  798. }
  799. }
  800. }
  801. }
  802. }
  803.  
  804. // Token: 0x06000026 RID: 38 RVA: 0x000053B0 File Offset: 0x000035B0
  805. private Transform FindHeadInHierarchy(Transform enemyTransform)
  806. {
  807. foreach (object obj in enemyTransform)
  808. {
  809. Transform transform = (Transform)obj;
  810. if (transform.name.ToLower().Contains("head"))
  811. {
  812. return transform;
  813. }
  814. Transform transform2 = this.FindHeadInHierarchy(transform);
  815. if (transform2 != null)
  816. {
  817. return transform2;
  818. }
  819. }
  820. return null;
  821. }
  822.  
  823. // Token: 0x06000027 RID: 39 RVA: 0x00005434 File Offset: 0x00003634
  824. public void InflateWeaponColliders(float radius)
  825. {
  826. foreach (CF_c241fb54e59af74ac88dff61a4ae4ee48265d031_Corpsefuscated cf_c241fb54e59af74ac88dff61a4ae4ee48265d031_Corpsefuscated in global::UnityEngine.Object.FindObjectsOfType<CF_c241fb54e59af74ac88dff61a4ae4ee48265d031_Corpsefuscated>())
  827. {
  828. foreach (FieldInfo fieldInfo in cf_c241fb54e59af74ac88dff61a4ae4ee48265d031_Corpsefuscated.GetType().GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
  829. {
  830. if (typeof(IEnumerable<Collider>).IsAssignableFrom(fieldInfo.FieldType))
  831. {
  832. IEnumerable<Collider> enumerable = fieldInfo.GetValue(cf_c241fb54e59af74ac88dff61a4ae4ee48265d031_Corpsefuscated) as IEnumerable<Collider>;
  833. if (enumerable != null)
  834. {
  835. foreach (Collider collider in enumerable)
  836. {
  837. SphereCollider sphereCollider = collider as SphereCollider;
  838. if (sphereCollider != null)
  839. {
  840. sphereCollider.radius = radius;
  841. if (!string.IsNullOrEmpty(sphereCollider.name))
  842. {
  843. string name = sphereCollider.name;
  844. }
  845. }
  846. }
  847. }
  848. }
  849. }
  850. }
  851. }
  852.  
  853. // Token: 0x06000028 RID: 40 RVA: 0x00005518 File Offset: 0x00003718
  854. private void DumpAllGameObjects()
  855. {
  856. using (StreamWriter streamWriter = new StreamWriter("GameObjectDump.txt"))
  857. {
  858. foreach (GameObject gameObject in global::UnityEngine.Object.FindObjectsOfType<GameObject>())
  859. {
  860. string fullPath = this.GetFullPath(gameObject.transform);
  861. streamWriter.WriteLine("[GO] " + gameObject.name + " | Path: " + fullPath);
  862. }
  863. }
  864. Debug.Log("✅ Dumped all GameObjects to GameObjectDump.txt");
  865. }
  866.  
  867. // Token: 0x06000029 RID: 41 RVA: 0x0000559C File Offset: 0x0000379C
  868. private string GetFullPath(Transform current)
  869. {
  870. string text = "/" + current.name;
  871. while (current.parent != null)
  872. {
  873. current = current.parent;
  874. text = "/" + current.name + text;
  875. }
  876. return text;
  877. }
  878.  
  879. // Token: 0x04000008 RID: 8
  880. private bool TransformMovement;
  881.  
  882. // Token: 0x04000009 RID: 9
  883. private bool OHK;
  884.  
  885. // Token: 0x0400000A RID: 10
  886. private bool Enemyesp = true;
  887.  
  888. // Token: 0x0400000B RID: 11
  889. private bool Containeresp;
  890.  
  891. // Token: 0x0400000C RID: 12
  892. private bool Playeresp;
  893.  
  894. // Token: 0x0400000D RID: 13
  895. private bool Chamsesp;
  896.  
  897. // Token: 0x0400000E RID: 14
  898. private bool MobVac;
  899.  
  900. // Token: 0x0400000F RID: 15
  901. private bool ConVac;
  902.  
  903. // Token: 0x04000010 RID: 16
  904. private bool ShowHealthbar;
  905.  
  906. // Token: 0x04000011 RID: 17
  907. private GameObject player;
  908.  
  909. // Token: 0x04000012 RID: 18
  910. private CF_8e13141191f104f691ee62491ff28eb32caf3c96_Corpsefuscated comp;
  911.  
  912. // Token: 0x04000013 RID: 19
  913. private static bool footstepRangeActive = false;
  914.  
  915. // Token: 0x04000014 RID: 20
  916. private static bool incomingDamageActive = false;
  917.  
  918. // Token: 0x04000015 RID: 21
  919. private static bool visibilityRangeActive = false;
  920.  
  921. // Token: 0x04000016 RID: 22
  922. private static bool espActive = false;
  923.  
  924. // Token: 0x04000017 RID: 23
  925. private static bool isVisible = true;
  926.  
  927. // Token: 0x04000018 RID: 24
  928. public static bool enemyEspActive = false;
  929.  
  930. // Token: 0x04000019 RID: 25
  931. public static bool playerEspActive = false;
  932.  
  933. // Token: 0x0400001A RID: 26
  934. public static bool npcEspActive = false;
  935.  
  936. // Token: 0x0400001B RID: 27
  937. public static bool instantLootActive = false;
  938.  
  939. // Token: 0x0400001C RID: 28
  940. public bool aimbotEnabled;
  941.  
  942. // Token: 0x0400001D RID: 29
  943. public float maxAimbotDistance = 15550f;
  944.  
  945. // Token: 0x0400001E RID: 30
  946. public Camera cameraController;
  947.  
  948. // Token: 0x0400001F RID: 31
  949. public float aimSmooth = 10f;
  950.  
  951. // Token: 0x04000020 RID: 32
  952. public float aimDistance = 50f;
  953.  
  954. // Token: 0x04000021 RID: 33
  955. public Vector3 rotationOffset = Vector3.zero;
  956.  
  957. // Token: 0x04000022 RID: 34
  958. public bool DoorEsp;
  959.  
  960. // Token: 0x04000023 RID: 35
  961. private Vector3 targetPosition;
  962.  
  963. // Token: 0x04000024 RID: 36
  964. private bool isNoClipEnabled;
  965.  
  966. // Token: 0x04000025 RID: 37
  967. private CharacterController characterController;
  968.  
  969. // Token: 0x04000026 RID: 38
  970. private Dictionary<GameObject, float> playerHealthCache = new Dictionary<GameObject, float>();
  971.  
  972. // Token: 0x04000027 RID: 39
  973. public static bool weaponColliders = false;
  974.  
  975. // Token: 0x04000028 RID: 40
  976. private bool weaponCollidersLastState;
  977.  
  978. // Token: 0x04000029 RID: 41
  979. public static bool freezePlayer = false;
  980.  
  981. // Token: 0x0400002A RID: 42
  982. private Vector3 frozenPosition;
  983.  
  984. // Token: 0x0400002B RID: 43
  985. private Vector3 policeStationPos = new Vector3(-949.4828f, 0.068f, 17.1117f);
  986.  
  987. // Token: 0x0400002C RID: 44
  988. private Vector3 archbrookPos = new Vector3(906.3092f, 0.01f, -23.9571f);
  989.  
  990. // Token: 0x0400002D RID: 45
  991. public static List<CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated> ContainerBase = new List<CF_a1b81d72fa50e48f12bfd55dd95dc7e4ea230166_Corpsefuscated>();
  992.  
  993. // Token: 0x0400002E RID: 46
  994. public static List<CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated> EnemyBase = new List<CF_b01305f761ea65b017350a752dbb3a7860aa790e_Corpsefuscated>();
  995.  
  996. // Token: 0x0400002F RID: 47
  997. public static List<CF_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated> Playerst = new List<CF_f9ea1dc1978da4f019f187f7ab2f7f55ae4ab798_Corpsefuscated>();
  998.  
  999. // Token: 0x04000030 RID: 48
  1000. public static List<CF_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated> PlayerHealthbar = new List<CF_1382b9b6b9205bb038b69eeb031616c3d99b7a69_Corpsefuscated>();
  1001.  
  1002. // Token: 0x04000031 RID: 49
  1003. public static List<Transform> Offices = new List<Transform>();
  1004.  
  1005. // Token: 0x04000032 RID: 50
  1006. private string[] doorKeywords = new string[] { "basicdoubledoor 3m", "BasicHallDoubleDoor 5M", "basicdoor 3m", "stairexit" };
  1007.  
  1008. // Token: 0x04000033 RID: 51
  1009. private float natNextUpdateTime;
  1010.  
  1011. // Token: 0x04000034 RID: 52
  1012. private static Material chamsMaterial;
  1013.  
  1014. // Token: 0x04000035 RID: 53
  1015. private static Material headChamsMaterial;
  1016.  
  1017. // Token: 0x04000036 RID: 54
  1018. public static Camera cam;
  1019.  
  1020. // Token: 0x04000037 RID: 55
  1021. private bool showMenu = true;
  1022.  
  1023. // Token: 0x04000038 RID: 56
  1024. private Rect menuRect = new Rect(10f, 10f, 259f, 225f);
  1025.  
  1026. // Token: 0x04000039 RID: 57
  1027. private int selectedTab;
  1028.  
  1029. // Token: 0x0400003A RID: 58
  1030. private string[] tabNames = new string[] { "Main", "Esp", "Teleports" };
  1031. }
  1032. }
  1033.  
Advertisement
Add Comment
Please, Sign In to add comment