// ==UserScript==
// @name KeyBoard Panel v2
// @namespace >Nudo#3310
// @version 0.2
// @description The best public keyboard panel in Sploop.io ! Next to the inscription "MADE BY NUDO" you can change the color of the text on the keyboard and it is saved after page reload. When you press the button, the keyboard will show that you have enabled the automatic attack, and will be highlighted in blue. Also on X.
// @author Nudo
// @match *://sploop.io/*
// @match *://moomoo.io/*
// @match *://*.moomoo.io/*
// @icon https://media.discordapp.net/attachments/878345257786429471/922818957159829534/favicons_1_1.png
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js
// @grant none
// @downloadURL https://update.greasyfork.icu/scripts/437267/KeyBoard%20Panel%20v2.user.js
// @updateURL https://update.greasyfork.icu/scripts/437267/KeyBoard%20Panel%20v2.meta.js
// ==/UserScript==
/* Re-enable contextmenu on the right mouse button.
let elm = document.getElementsByTagName('*')
for(let i = 0; i < elm.length; ++i) {
elm[i].oncontextmenu = null
}
*/
let fps = {
old: Date.now(),
count: 0,
result: null,
updateTime: 750
}
function updateFPS() {
let newDate = Date.now(),
lastDate = newDate - fps.old
if (lastDate < fps.updateTime) ++fps.count
else {
fps.result = Math.round(fps.count / (lastDate / 1000))
if ($('#ping').css('display') == 'inline-flex') $("#ping > i").text('Ping: ' + (window.pingTime != undefined ? window.pingTime : 0))
$("#fps > i").text('Fps: ' + fps.result)
fps.count = 0
fps.old = newDate
}
requestAnimationFrame(updateFPS)
}
requestAnimationFrame(updateFPS)
let keyBoard = `
Made by Nudo qwer asdf ———————x LCps: 0RCps: 0 Fps: 0Ping: 0