FaLgOy's Macro for .io Games

Sets show mass and dark theme to true, provides a tricksplit with E or 4, triplesplit with 3, doublesplit with D or 2, faster feeding with Q, and split with 1

  1. // ==UserScript==
  2. // @name FaLgOy's Macro for .io Games
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Sets show mass and dark theme to true, provides a tricksplit with E or 4, triplesplit with 3, doublesplit with D or 2, faster feeding with Q, and split with 1
  6. // @author FaLgOy
  7. // @match https://abs0rb.me/*
  8. // @match https*://agar.io/*
  9. // @match https://agarabi.com/*
  10. // @match https://agarly.com/*
  11. // @match https://en.agar.bio/*
  12. // @match https://agar.biz/*
  13. // @match https://germs.io/*
  14. // @match https://vanish.io/*
  15. // @grant none
  16. // @run-at document-end
  17. // ==/UserScript==
  18. window.addEventListener('keydown', keydown);
  19. window.addEventListener('keyup', keyup);
  20. var Feed = false;
  21. var Dingus = false;
  22. var imlost = 25;
  23. var instructions = document.getElementById("instructions");
  24. instructions.style.lineHeight = "1.15";
  25. instructions.style.fontSize = "12.5px";
  26. instructions.style.marginTop = "-30px";
  27. instructions.innerHTML += "<center><span class='text-muted'><span data-itr='instructions_e'> Press <b>E</b> or <b>4</b> to split 4x</span></span></center>" +
  28. "<center><span class='text-muted'><span data-itr='instructions_3'> Press <b>3</b> to split 3x</span></span></center>" +
  29. "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>D</b> or <b>2</b> to split 2x</span></span></center>" +
  30. "<center><span class='text-muted'><span data-itr='instructions_q'> Press and hold <b>Q</b> for macro feed</span></span></center>";
  31. function keydown(event) {
  32. if (event.keyCode == 81) {
  33. Feed = true;
  34. setTimeout(fukherriteindapussie, imlost);
  35. } // Tricksplit
  36. if (event.keyCode == 69 || event.keyCode == 52) { //( ͡° ͜ʖ ͡°)
  37. ilikedick();
  38. setTimeout(ilikedick, imlost);
  39. setTimeout(ilikedick, imlost*2);
  40. setTimeout(ilikedick, imlost*3);
  41. } // Triplesplit
  42. if (event.keyCode == 51 || event.keyCode == 69) {
  43. ilikedick();
  44. setTimeout(ilikedick, imlost);
  45. setTimeout(ilikedick, imlost*2);
  46. } // Doublesplit
  47. if (event.keyCode == 68 || event.keyCode == 50) {
  48. ilikedick();
  49. setTimeout(ilikedick, imlost);
  50. } // Split
  51. if (event.keyCode == 49) {
  52. ilikedick();
  53. }// When Player Lets Go Of Q, It Stops Feeding
  54. if (event.keyCode == 83) { //key S
  55. X = window.innerWidth/2;
  56. Y = window.innerHeight/2;
  57. $("canvas").trigger($.Event("mousemove", {clientX: X, clientY: Y}));
  58. }// Freeze
  59. }
  60. function keyup(event) {
  61. if (event.keyCode == 81) {
  62. Feed = false;
  63. }
  64. if (event.keyCode == 79) {
  65. Dingus = false;
  66. }
  67. }
  68. // Feed Macro With Q
  69. function fukherriteindapussie() {
  70. if (Feed) {
  71. window.onkeydown({keyCode: 87});
  72. window.onkeyup({keyCode: 87});
  73. setTimeout(fukherriteindapussie, imlost);
  74. }
  75. }
  76. function ilikedick() {
  77. $("body").trigger($.Event("keydown", { keyCode: 32}));
  78. $("body").trigger($.Event("keyup", { keyCode: 32}));
  79. }
  80. //FaLgOy's Macro Pro Version :v