Flight improvements #2
@@ -3,6 +3,7 @@ using MelonLoader;
|
|||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using DevourClient.Helpers;
|
||||||
|
|
||||||
namespace DevourClient.Hacks
|
namespace DevourClient.Hacks
|
||||||
{
|
{
|
||||||
@@ -10,7 +11,7 @@ namespace DevourClient.Hacks
|
|||||||
{
|
{
|
||||||
public static void Fly(float speed) //normal speed 5f
|
public static void Fly(float speed) //normal speed 5f
|
||||||
{
|
{
|
||||||
NolanBehaviour nb = Object.FindObjectOfType<NolanBehaviour>();
|
NolanBehaviour nb = Player.GetPlayer();
|
||||||
Vector3 pos = nb.transform.position;
|
Vector3 pos = nb.transform.position;
|
||||||
if (Input.GetKey(KeyCode.W))
|
if (Input.GetKey(KeyCode.W))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user