Wall Glitch Vertix

allows into walls through corners, 'q' to start, 'e' to end

  1. // ==UserScript==
  2. // @name Wall Glitch Vertix
  3. // @namespace http://vertix.io/
  4. // @version 1.02
  5. // @description allows into walls through corners, 'q' to start, 'e' to end
  6. // @author Meatman2tasty
  7. // @match http://vertix.io/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. function wallShift() {
  12. setTimeout(function() {
  13. keys.d = 1;
  14. setTimeout (function() {
  15. keys.d = 0;
  16. setTimeout (function() {
  17. keys.u = 1;
  18. setTimeout (function() {
  19. keys.u = 0;
  20. }, 500);
  21. }, 500);
  22. }, 500);
  23. }, 500);
  24. }
  25.  
  26. var active = false;
  27. var interval = void 0;
  28.  
  29. function activate(event) { //'q' to activate
  30. event.preventDefault();
  31. if (event.keyCode === 81 && !active) {
  32. active = true;
  33. interval = setInterval(wallShift, 10);
  34. }
  35. }
  36.  
  37. function deactivate(event) { //'e' to deactivate
  38. event.preventDefault();
  39. if (event.keyCode === 69) {
  40. active = false;
  41. clearInterval(interval);
  42. }
  43. }
  44.  
  45. c.addEventListener("keydown", activate, false);
  46. c.addEventListener("keyup", deactivate, false);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址