Greasy Fork is available in English.

Diep.io Predator stacking

Auto stacks bullets for predator

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
  1. // ==UserScript==
  2. // @name Diep.io Predator stacking
  3. // @namespace ht// ==UserScript==
  4. // @namespace http://tampermonkey.net/
  5. // @version 1.1
  6. // @description Auto stacks bullets for predator
  7. // @author Mega
  8. // @match https://diep.io/
  9. // @grant none
  10. // @icon https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQq3-6vEF807N6VUfz_XsnHw0d7em92SzNIHg&usqp=CAU
  11. // ==/UserScript==
  12.  
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. function onSpace() {function fire(t,w) {
  18. setTimeout(function(){
  19. input.keyDown(32);
  20. }, t*1000);
  21. setTimeout(function(){
  22. input.keyUp(32);
  23. }, t*1000+w);
  24. }
  25.  
  26. fire(0,100);
  27. fire(0.75,200);
  28. fire(1.5,750);
  29. setTimeout(function(){input.keyDown(69);
  30. input.keyUp(69);},2000);
  31.  
  32. }
  33. function onKeydown(evt) {
  34. // Use https://keycode.info/ to get keys
  35. if (evt.keyCode == 90) {
  36. onSpace();
  37. }
  38. }
  39. document.addEventListener('keydown', onKeydown, true);
  40. })();