Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Aimbot()
- {
- if (mOD.GetBestTarget() != null)
- {
- MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.LookAt(mOD.GetBestTarget().Memory.RootTransform.position + new Vector3(0f, 0.3f, 0f));
- MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.rotation = Quaternion.LookRotation(mOD.GetBestTarget().Memory.RootTransform.position + new Vector3(0f, 0.3f, 0f) - MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.position);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement