您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Spam heal key while holding mouse button in Sloop.io
// ==UserScript== // @name Sloop.io Heal Spam on Mouse Hold // @namespace https://greasyfork.org/users/yourname // @version 1.0 // @description Spam heal key while holding mouse button in Sloop.io // @author Copilot pro // @license MIT // @match *://sloop.io/* // @grant none // ==/UserScript== (function() { 'use strict'; const healKey = 'H'; // Change this to your actual heal key const spamRate = 100; // Time between each heal press (in ms) let spammer = null; // Start spamming when mouse is held down document.addEventListener('mousedown', () => { if (!spammer) { spammer = setInterval(() => { document.dispatchEvent(new KeyboardEvent('keydown', {key: healKey})); console.log('[Sloop Hack] Heal key pressed'); }, spamRate); } }); // Stop spamming when mouse is released document.addEventListener('mouseup', () => { if (spammer) { clearInterval(spammer); spammer = null; console.log('[Sloop Hack] Heal spam stopped'); } }); })();