Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. function printPos() {
  2. local = Entity.GetLocalPlayer();
  3. flags = Entity.GetProp(local, "CBasePlayer", "m_fFlags");
  4. isDucking = false;
  5. isFakeDucking = false;
  6. isHoldingE = false;
  7. isOverriding = false;
  8.  
  9. if(Input.IsKeyPressed(0x45)) {
  10. isHoldingE = true;
  11. }
  12.  
  13. if(UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
  14. isFakeDucking = true;
  15. }
  16.  
  17. if(flags & (1<<2) && !isFakeDucking) {
  18. isDucking = true;
  19. }
  20.  
  21. if(UI.IsHotkeyActive("Rage", "GENERAL", "Accuracy", "Minimum damage (on key)")) {
  22. isOverriding = true;
  23. }
  24.  
  25. stance = "";
  26. stance += isFakeDucking ? stance += "Fake duck " : isDucking ? "Crouch " : "Stand ";
  27.  
  28. stance += isHoldingE ? "+ E" : "";
  29.  
  30. dmg = isOverriding;
  31. string = "[ " + "\"location\", \"" + stance + "\", " + dmg + ", [" + Entity.GetHitboxPosition(local, 0) + "], [" + Local.GetViewAngles() + " ], \"Wallbang/Oneway\" ]\n";
  32.  
  33. Cheat.Print(string);
  34. }
  35.  
  36. UI.AddHotkey("Location Dev Tool");
  37.  
  38. function check_key() {
  39. if(UI.IsHotkeyActive("Script items", "Location Dev Tool"))
  40. printPos();
  41. }
  42.  
  43. Cheat.RegisterCallback("Draw", "check_key");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement