Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. private void AimbotSilent()
  2. {
  3. foreach (PlayerScript playerScript in GetPlayers())
  4. {
  5. if (playerScript != null && Kube.BCS.FindPlayerById(Kube.BCS.playerId) != null && !playerScript.dead && !Kube.BCS.FindPlayerById(Kube.BCS.playerId).dead && ((Kube.BCS.FindPlayerById(Kube.BCS.playerId) != null && playerScript.team != Kube.BCS.FindPlayerById(Kube.BCS.playerId).team) || playerScript.team == -1) && Input.GetKey(KeyCode.Mouse0))
  6. {
  7. Vector3 rayOrigin = playerScript.head.transform.position - new Vector3(0f, 0.4f, 0f);
  8. Kube.BCS.FindPlayerById(Kube.BCS.playerId).CreateShot(rayOrigin, Vector3.zero, Kube.BCS.FindPlayerById(Kube.BCS.playerId).currentWeapon);
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement