From 22b2e583f79154a0eb180b51c21259a6d0581589 Mon Sep 17 00:00:00 2001 From: jadis0x <49281043+jadis0x@users.noreply.github.com> Date: Sun, 8 Jan 2023 21:07:48 +0300 Subject: [PATCH] "AutoRespawn" function has been updated --- DevourClient/Hacks/Misc.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DevourClient/Hacks/Misc.cs b/DevourClient/Hacks/Misc.cs index 6b9c49e..758e554 100644 --- a/DevourClient/Hacks/Misc.cs +++ b/DevourClient/Hacks/Misc.cs @@ -138,8 +138,9 @@ namespace DevourClient.Hacks { Il2Cpp.NolanBehaviour nb = Player.GetPlayer(); - Vector3 setNewPosition = nb.transform.position = new Vector3(0.0f, -100.0f, 0.0f); - nb.locomotion.SetPosition(setNewPosition); + Il2Cpp.SurvivalReviveInteractable _reviveInteractable = UnityEngine.Object.FindObjectOfType(); + + _reviveInteractable.Interact(nb.gameObject); } public static void TPItems()