您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
WRX Client (EN) (Visual interface) Hat Hotkeys (look at the code for hotkeys) and animated hats Num Lock 2 and Num Lock 8 Good luck! (RU) (Визуал интерфейс) шапки панель (чтобы узнать горячие клавиши посмотрите в коде) и анимированные шапки Num Lock 2 and Num Lock 8 Удачи!
当前为
// ==UserScript== // @name 🎃WRX Client🎃 // @version 1.1 // @description WRX Client (EN) (Visual interface) Hat Hotkeys (look at the code for hotkeys) and animated hats Num Lock 2 and Num Lock 8 Good luck! (RU) (Визуал интерфейс) шапки панель (чтобы узнать горячие клавиши посмотрите в коде) и анимированные шапки Num Lock 2 and Num Lock 8 Удачи! // @author Warw1x // @match *://*.moomoo.io/* // @match *://*.moomoo.io/* // @match *://dev.moomoo.io/* // @icon https://moomoo.io/img/favicon.png?v=1 // @require https://cdnjs.cloudflare.com/ajax/libs/msgpack-lite/0.1.26/msgpack.min.js // @grant none // @license MIT // @namespace https://greasyfork.org/users/1083173 // ==/UserScript== (function() { 'use strict'; var myVar; var myVar2; var police = true; var ID_MooHead = 28; var ID_EMPTY = 0; var ID_PigHead = 29; document.addEventListener('keydown', function (e) { if (e.keyCode == 104 || e.keyCode == 100) { e.preventDefault(); if (police) { storeEquip(ID_MooHead); myVar = setTimeout(function(){ h1(); }, 500); } else { clearTimeout(myVar); clearTimeout(myVar2); storeEquip(ID_EMPTY); } police = !police; } }); function h1() { storeEquip(ID_MooHead); clearTimeout(myVar); myVar2 = setTimeout(function(){ h2(); }, 500); } function h2() { storeEquip(ID_PigHead); clearTimeout(myVar2); myVar = setTimeout(function(){ h1(); }, 500); } })(); (function() { 'use strict'; var myVar; var myVar2; var police = true; var ID_BummleHat = 8; var ID_EMPTY = 0; var ID_WinterCap = 15; document.addEventListener('keydown', function (e) { if (e.keyCode == 102 || e.keyCode == 98) { e.preventDefault(); if (police) { storeEquip(ID_BummleHat); myVar = setTimeout(function(){ h1(); }, 500); } else { clearTimeout(myVar); clearTimeout(myVar2); storeEquip(ID_EMPTY); } police = !police; } }); function h1() { storeEquip(ID_WinterCap); clearTimeout(myVar); myVar2 = setTimeout(function(){ h2(); }, 500); } function h2() { storeEquip(ID_BummleHat); clearTimeout(myVar2); myVar = setTimeout(function(){ h1(); }, 500); } })(); const a=document.createElement('div'); a.setAttribute('onclick',`"use strict"; function string_to_chat_packet(s){ var l=s.length; var buf=new ArrayBuffer(6+l); var view=new Uint8Array(buf); view[0]=146; view[1]=162; view[2]=99; view[3]=104; view[4]=145; view[5]=160+l; while(l--)view[6+l]=s.charCodeAt(l); return buf; } var anim=[ '.', '-', '+', '_' ].map(s=>string_to_chat_packet('WRX Client '+s)); var discard_message=string_to_chat_packet('[mesagge canceled]'); var frame=0; var frame_count=anim.length; var chat_style=document.getElementById('chatHolder').style; var first_send=true; var message_to_send=false; var was_chat_active=false; var old_send=WebSocket.prototype.send; WebSocket.prototype.send=function(data){ if(first_send){ first_send=false; window.setInterval(()=>{ if(message_to_send){ old_send.call(this,message_to_send); message_to_send=false; was_chat_active=false; return; } if(chat_style.display=='none'){ if(was_chat_active)old_send.call(this,discard_message); was_chat_active=false; return; } was_chat_active=true; if(frame==frame_count)frame=0; old_send.call(this,anim[frame++]); },560); } if( data instanceof Uint8Array &&data.length>6 &&data[0]==146 &&data[1]==162 &&data[2]==99 &&data[3]==104 &&data[4]==145 &&data[5]>160 ){ var off=data.byteOffset; message_to_send=data.buffer.slice(off,off+data.length); return; } return old_send.call(this,data); };`); a.click(); setInterval(changeHue, 10); document.getElementById("gameName").innerHTML = "🎃WRX Client🎃" document.getElementById("leaderboard").append('WRX Client🎃'); document.getElementById('enterGame').style.color = "White" document.getElementById('enterGame').innerHTML = "🎃Hello World!🎃" document.getElementById('loadingText').innerHTML = "🎃Loading🎃" document.getElementById('loadingText').style.color = "orange" document.getElementById('diedText').innerHTML = "🎃Good luck next time🎃" document.getElementById("gameName").style.color = "orange" document.getElementById("leaderboard").style.color = "orange" document.getElementById("allianceButton").style.color = "yellow"; document.getElementById("chatButton").style.color = "yellow"; document.getElementById("storeButton").style.color = "yellow"; document.getElementById("gameName").style.color = "orange" document.getElementById('diedText').style.color = "orange"; document.getElementById('adCard').remove(); document.getElementById('errorNotification').remove(); document.getElementById("promoImg").remove(); document.getElementById("setupCard").style.color = "Black" document.getElementById("ageText").style.color = "orange" document.getElementById("mapDisplay").style.borderRadius = "Black"; document.getElementById("mapDisplay").style.borderRadius = "Black"; document.getElementById("woodDisplay").style.color = "green"; document.getElementById("stoneDisplay").style.color = "Black"; document.getElementById("killCounter").style.color = "white"; document.getElementById("foodDisplay").style.color = "red"; document.getElementById("scoreDisplay").style.color = "yellow"; document.getElementById("mapDisplay").style.backgroundColor = "rgba(0, 0, 0, 0.6)"; document.getElementById('ageBar').style.backgroundColor = 'rgba(0, 0, 0, 0.6)' document.title = ' Modification by MrMeow '; $("#mapDisplay").css({background: `url('https://ksw2-center.glitch.me/users/fzb/map.png?z=${performance.now()}&u=a')`}); function changeHue() { hue += Math.random() * 3; } setInterval(changeHue, 20); setInterval(() => { setTimeout(() => { document.getElementById("chatBox").placeholder = "WRX Client"; setTimeout(() => { document.getElementById("chatBox").placeholder = "WRX Client."; setTimeout(() => { document.getElementById("chatBox").placeholder = "WRX Client.."; setTimeout(() => { document.getElementById("chatBox").placeholder = "WRX Client..."; }, 200); }, 200); }, 200); }, 200); }, 1000); let gconfig = { pressedKey: null, keys: { wintercap : ']', flipperhat : '[', emphelmet : 'u', turretgear : 'y', monkeyhead : '/', pandouhead : '.', bearhead : ',', bullHelmet : 't', soldier : 'c', booster : 'g', tankgear : 'b' }, ids: { wintercap: 15, flippethat: 31, emphelmet: 22, turretgear: 53, monkeyhead: 38, pandouhead: 36, bearhead: 37, bullhelmet: 7, soldier: 6, booster: 12, tankgear: 40 }, document: document, functions: { injectKeys: function(keycode) { gconfig.pressedKey = keycode.key gconfig.functions.getKeys(gconfig.pressedKey) }, getKeys: function(arg) { switch(arg) { case gconfig.keys.bullHelmet: { gconfig.functions.equipHat(gconfig.ids.bullhelmet); } break; case gconfig.keys.soldier: { gconfig.functions.equipHat(gconfig.ids.soldier); } break; case gconfig.keys.booster: { gconfig.functions.equipHat(gconfig.ids.booster); } break; case gconfig.keys.turret: { gconfig.functions.equipHat(gconfig.ids.turret); } break; case gconfig.keys.tankgear: { gconfig.functions.equipHat(gconfig.ids.tankgear); } break; case gconfig.keys.pandouhead: { gconfig.functions.equipHat(gconfig.ids.pandouhead); } break; case gconfig.keys.bearhead: { gconfig.functions.equipHat(gconfig.ids.bearhead); } break; case gconfig.keys.monkeyhead: { gconfig.functions.equipHat(gconfig.ids.monkeyhead); } break; case gconfig.keys.turetgear: { gconfig.functions.equipHat(gconfig.ids.turretgear); } break; case gconfig.keys.emphelmet: { gconfig.functions.equipHat(gconfig.ids.emphelmet); } break; case gconfig.keys.flipperhat: { gconfig.functions.equipHat(gconfig.ids.flippethat); } break; case gconfig.keys.wintercap: { gconfig.functions.equipHat(gconfig.ids.wintercap); } break; } }, equipHat: function(argsNum) { console.log(argsNum) gconfig.window.storeEquip(argsNum) } }, window: window }; document.addEventListener('keydown', e => { gconfig.functions.injectKeys(e) }) var fadingspeed = 100 // lower = faster, higher = slower var d = 0; function e(e, n = d) { document.getElementById(e).style["background-color"] = "hsl(" + n + ", 100%, 50%)"; } setInterval(function() { (function(e, n) { e(n); })(e, "ageBarBody"), d++; }, fadingspeed);