Ultra Fast Macros For Gaver.io, Gota.io & Bubla.io

Macros For Gaver.io and Bubla.io made by HarmZ

  1. // ==UserScript==
  2. // @name Ultra Fast Macros For Gaver.io, Gota.io & Bubla.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.2.4
  5. // @description Macros For Gaver.io and Bubla.io made by HarmZ
  6. // @author HarmZ
  7. // @match http://gaver.io/*
  8. // @match http://gota.io/*
  9. // @match http://3rb.be/*
  10. // @match http://bubla.io/*
  11. // @run-at document-end
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. window.addEventListener('keydown', keydown);
  16. window.addEventListener('keyup', keyup);
  17.  
  18. var EjectDown = false;
  19.  
  20. var speed = 9999999999999999999999999999999999999999999999999999999999999;
  21.  
  22. function keydown(event) {
  23. if (event.keyCode == 87 & EjectDown === true) { // here we put key (W)
  24. EjectDown = true;
  25. setTimeout(eject, speed);
  26. }
  27. }
  28. function keyup(event) {
  29. if (event.keyCode == 87) { // here put W (*2)
  30. EjectDown = false;
  31. }
  32. }
  33.  
  34. function eject() {
  35. if (EjectDown) {
  36. window.onkeydown({keyCode: 87}); //here put W (*3)
  37. window.onkeyup({keyCode: 87});
  38. setTimeout(eject, speed);
  39. }
  40. }
  41. var welcome="Hey Bro,check out my YT Channel for new scripts, http://bit.ly/HarmZ";
  42. alert(welcome);
  43. //Made by HarmZ