the initial commit to the repo.

This commit is contained in:
NukedBart 2025-10-25 01:27:14 +08:00
parent 025c032b8c
commit 1b757591b9
264 changed files with 21882 additions and 0 deletions

View file

@ -0,0 +1,29 @@
using System;
using EscapeFromTarkovCheat.Utils;
using UnityEngine;
namespace EscapeFromTarkovCheat.Features.Misc
{
public class SpeedHack : MonoBehaviour
{
public void Update()
{
if (Main.GameWorld != null && Settings.SpeedHack)
{
this.Enable();
}
}
private void Enable()
{
if (Main.LocalPlayer == null && Main.MainCamera == null)
{
return;
}
if (Input.GetKey(KeyCode.LeftShift))
{
Main.LocalPlayer.Transform.position += Settings.SpeedAddition * Time.deltaTime * Main.MainCamera.transform.forward;
}
}
}
}