您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Press Alt + A to stack bullets in 2.5 seconds! (You need max reload) Use 0/0/6/7/7/7/6
当前为
- // ==UserScript==
- // @name Stack bullets with Predator!!!
- // @namespace http://tampermonkey.net/
- // @version 1.5.9
- // @description Press Alt + A to stack bullets in 2.5 seconds! (You need max reload) Use 0/0/6/7/7/7/6
- // @author Ce Zhang
- // @match http://*diep.io/*
- // @match https://*diep.io/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- document.addEventListener("keydown", function(zEvent) {
- if (zEvent.altKey && zEvent.code === "KeyA") {
- function fire(t, w) {
- setTimeout(function() {
- input.keyDown(32);
- }, t * 1000);
- setTimeout(function() {
- input.keyUp(32);
- }, t * 1000 + w);
- }
- fire(0, 100);
- fire(0.75, 200);
- fire(1.5, 750);
- setTimeout(function() {
- input.keyDown(69);
- }, 2000);
- }
- });
- })();