您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
by Ömer
// ==UserScript== // @name Swordz.io Fast teleport 2 // @namespace omega // @version 1.1.3 // @description by Ömer // @author Ömer // @match *.swordz.io // @license MIT // ==/UserScript== var respawn = false; function onUpdate() { if(respawn && document.getElementById('homeDiv').style.display === 'block') { document.getElementById('signDiv-signIn').click() } else { deathTimer = 60; } } setInterval(onUpdate, 150) document.onkeydown = function(e) { switch(e.keyCode) { case 68: respawn = !respawn break; case 87: inputAttack(true) break; } } function onRender() { ctx.fillStyle = respawn? 'green': 'red' ctx.fillText('Auto Respawn[D]', 120, 140) ctx.beginPath(), ctx.arc(WIDTH - 155 + 140 * Player.leaderboardTopX / mapWIDTH, HEIGHT - 60 - 155 + 140 * Player.leaderboardTopY / mapHEIGHT, 5.5, 0, 2 * Math.PI), ctx.fillStyle = '#ff0000', ctx.fill(), ctx.lineWidth = 5, ctx.strokeStyle = '#333', ctx.stroke(); requestAnimationFrame(onRender) } onRender()