Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Best Agar.io Scripte | macro keys | + popsplit!!!!!! (enjoy)
  3. // @namespace http://tampermonkey.net/
  4. // @version 4.1
  5. // @description W = Macro Feed | D = Double-Split | E = 16-Split | R = Popsplit | Z = Triple-trick macro
  6. // @author KhalilYT - https://www.youtube.com/channel/UC8mMoBlWNb7W8yVS6n6lh3g
  7. // @match http://agar.io/*
  8. // @match http://petridish.pw/*
  9. // @match http://alis.io/*
  10. // @match http://www.astr.io/*
  11. // @match http://dual-agar.online/
  12. // @run-at document-end
  13. // @grant none
  14. // ==/UserScript==
  15. window.addEventListener('keydown', keydown);
  16. window.addEventListener('keyup', keyup);
  17. var Feed = false;
  18. var Dingus = false;
  19. var imlost = 25;
  20. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_e'> Press <b>E</b> to Tricksplit</span></span></center>";
  21. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_3'> Press <b>Z</b> to Triplesplit</span></span></center>";
  22. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>D</b> to Doublesplit</span></span></center>";
  23. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_d'> Press <b>R</b> to Popsplit</span></span></center>";
  24. document.getElementById("instructions").innerHTML += "<center><span class='text-muted'><span data-itr='instructions_q'> Press and hold <b>W</b> for macro feed</span></span></center>";
  25. load();
  26. function load() {
  27. if (document.getElementById("overlays").style.display!="none") {
  28. document.getElementById("settings").style.display = "block";
  29. if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();}
  30. document.getElementById('showMass').click();
  31. if (document.getElementById('darkTheme').checked) {document.getElementById('darkTheme').click();}
  32. document.getElementById('darkTheme').click();
  33. // Don't switch the code becauce the script will not work !
  34. } else {
  35. setTimeout(load, 100);
  36. }
  37. }
  38. function keydown(event) {
  39. if (event.keyCode == 87) {
  40. Feed = true;
  41. setTimeout(fukherriteindapussie, imlost);
  42. } // Tricksplit
  43. if (event.keyCode == 69) {
  44. ilikedick();
  45. setTimeout(ilikedick, imlost);
  46. setTimeout(ilikedick, imlost*2);
  47. setTimeout(ilikedick, imlost*3);
  48. } // Triplesplit
  49. if (event.keyCode == 90) {
  50. ilikedick();
  51. setTimeout(ilikedick, imlost);
  52. setTimeout(ilikedick, imlost*2);
  53. } // Doublesplit
  54. if (event.keyCode == 68) {
  55. ilikedick();
  56. setTimeout(ilikedick, imlost);
  57. } // PopSplit
  58. if (event.keyCode == 82) {
  59. ilikedick();
  60. setTimeout(ilikedick, imlost*8.2142354224);
  61. }
  62. } // When Player Lets Go Of W, It Stops Feeding
  63. function keyup(event) {
  64. if (event.keyCode == 87) {
  65. Feed = false;
  66. }
  67. if (event.keyCode == 79) {
  68. Dingus = false;
  69. }
  70. }
  71. // Feed Macro With W
  72. function fukherriteindapussie() {
  73. if (Feed) {
  74. window.onkeydown({keyCode: 87});
  75. window.onkeyup({keyCode: 87});
  76. setTimeout(fukherriteindapussie, imlost);
  77. }
  78. }
  79. function ilikedick() {
  80. $("body").trigger($.Event("keydown", { keyCode: 32}));
  81. $("body").trigger($.Event("keyup", { keyCode: 32}));
  82. }
  83. //Please don't switch the code { u know why ( ?° ?? ?°) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement