DolphinsFTW speed pellet

For instructions look after the // ==/UserScript==

当前为 2016-05-17 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name DolphinsFTW speed pellet
  3. // @namespace http://tampermonkey.net/
  4. // @version 2.5
  5. // @description For instructions look after the // ==/UserScript==
  6. // @author You
  7. // @match http://agarioforums.io
  8. // @match http://agarioforums.io/split/
  9. // @match http://agar.io/
  10. // @match http://agar.io
  11. // @grant none
  12. // ==/UserScript==
  13. Consider signing up to Agarioforums.net for fun times, a custom server and dedicated and hard working staff. Keys. Q for fast mass W. R for splitting 16 times, (when your teaming or are tricksplitting). You can also split with left click now and shoot some mass with right click :D.You can stop this alert box from coming by looking into the code, insturctions are provided.at the end you can add in ur name with special character after entering your name once to copy paste the spcial characters :D.
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. // Your code here...
  19.  
  20. //delete from here to next point to remove fast feed
  21. })();(function() {
  22. var amount = 20;
  23. var duration = 1; //ms
  24.  
  25. var overwriting = function(evt) {
  26. if (evt.keyCode === 81) { //The current key is Q for fast feed. to change that change the keycode. you can search up all the keycodes online
  27. for (var i = 0; i < amount; ++i) {
  28. setTimeout(function() {
  29. window.onkeydown({keyCode: 87});
  30. window.onkeyup({keyCode: 87});
  31. }, i * duration);
  32. }
  33. }
  34. };
  35. //delete until here from first comment to remove fast feed
  36. //Delete from here to next comment to remove tricks split splitting
  37. window.addEventListener('keydown', overwriting);
  38. })();
  39. (function() {
  40. var amount = 6;
  41. var duration = 50; //ms
  42.  
  43. var overwriting = function(evt) {
  44. if (evt.keyCode === 82) { // KEY_R
  45. for (var i = 0; i < amount; ++i) {
  46. setTimeout(function() {
  47. window.onkeydown({keyCode: 32});
  48. window.onkeyup({keyCode: 32});
  49. }, i * duration);
  50. }
  51. }
  52. };
  53. window.addEventListener('keydown', overwriting);
  54. })();
  55. // until here for trick splitting
  56. //Delete from here to delete the alert box
  57. //<![CDATA[
  58. setTimeout( function ( ) { alert( "Go into the coding and change this text to your name with cool characters to make an alert box come for easy copy and paste" ); }, 10000 );
  59. //]]>
  60. //until here
  61. //delete all this to remove mouse features
  62. $(
  63. function() {
  64. var feeddown = $.Event("keydown", { keyCode: 87}); //delete this row to remove just fast feed
  65. var feedup = $.Event("keyup", { keyCode: 87}); //delete this row to remove just fast feed
  66. var splitdown = $.Event("keydown", { keyCode: 32});// delete this row for just removal of mouse split
  67. var splitup = $.Event("keyup", { keyCode: 32});// delete this row for just removal of mouse split
  68. $(document).bind('mousedown', function(e) {
  69. if( (e.which == 3) ){
  70. $("body").trigger(feeddown); //delete this row to remove just fast feed
  71. $("body").trigger(feedup); //delete this row to remove just fast feed
  72. }
  73. else if( (e.which == 1) ){
  74. $("body").trigger(splitdown);// delete this row for just removal of mouse split
  75. $("body").trigger(splitup);// delete this row for just removal of mouse split
  76. }
  77. }).bind('contextmenu', function(e){
  78. e.preventDefault();
  79. });
  80. }
  81. )();
  82. //all the way till here