Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  8. if(Input.IsKeyPressed(0x45)) {
  9. isHoldingE = true;
  10. }
  11.  
  12. if(UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
  13. isFakeDucking = true;
  14. }
  15.  
  16. if(flags & (1<<2) && !isFakeDucking) {
  17. isDucking = true;
  18. }
  19. stance = "";
  20. stance += isFakeDucking ? stance += "Fake duck " : isDucking ? "Crouch " : "Stand ";
  21.  
  22. stance += isHoldingE ? "+ E" : "";
  23.  
  24. string = "[ " + "\"location\", \"" + stance + "\", " + DAMAGE_INT + ", [" + Entity.GetHitboxPosition(local, 0) + "], [" + Local.GetViewAngles() + " ], \"Wallbang/Oneway\" ]\n";
  25.  
  26. Cheat.Print(string);
  27. }
  28.  
  29. UI.AddHotkey("Location Dev Tool");
  30.  
  31. function check_key() {
  32. if(UI.IsHotkeyActive("Script items", "Location Dev Tool"))
  33. printPos();
  34. }
  35.  
  36. Cheat.RegisterCallback("Draw", "check_key");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement