Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. public static void Aimbot()
  2. {
  3. if (mOD.GetBestTarget() != null)
  4. {
  5. MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.LookAt(mOD.GetBestTarget().Memory.RootTransform.position + new Vector3(0f, 0.3f, 0f));
  6. MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.rotation = Quaternion.LookRotation(mOD.GetBestTarget().Memory.RootTransform.position + new Vector3(0f, 0.3f, 0f) - MonoBehaviourSingletonBase<PlayerGameData>.Instance.PlayerTransform.position);
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement