From b08c2e9f4a51d36736768b17a7b16fd9ffacb88f Mon Sep 17 00:00:00 2001 From: Jadis <49281043+jadis0x@users.noreply.github.com> Date: Sun, 28 Aug 2022 18:35:21 +0300 Subject: [PATCH] Update Misc.cs --- DevourClient/Hacks/Misc.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/DevourClient/Hacks/Misc.cs b/DevourClient/Hacks/Misc.cs index c85f46c..ee387e3 100644 --- a/DevourClient/Hacks/Misc.cs +++ b/DevourClient/Hacks/Misc.cs @@ -4,6 +4,8 @@ using UnityEngine.UI; using System.Reflection; using System.Runtime.InteropServices; using DevourClient.Helpers; +using System.Linq; +using System.Collections.Generic; namespace DevourClient.Hacks { @@ -50,6 +52,22 @@ namespace DevourClient.Hacks nb.locomotion.SetPosition(setNewPosition); } + public static void TPItems() + { + try + { + NolanBehaviour Nolan = Player.GetPlayer(); + + List items = new List(); + items = Object.FindObjectsOfType().ToList(); + + foreach (SurvivalInteractable item in items) + { + item.transform.position = Nolan.transform.position + Nolan.transform.forward * Random.RandomRange(1f, 3f); + } + } + catch { } + } public static void SetSteamName(string name) {