🌕 Moon Visuals 🌕 [New Visuals!]

Visuals created by me using the CSS of moomoo.io offcial, give me ideas!

目前為 2023-12-14 提交的版本,檢視 最新版本

// ==UserScript==
// @name         🌕 Moon Visuals 🌕 [New Visuals!]
// @namespace    http://tampermonkey.net/
// @version      1.1 (Beta!) 
// @description  Visuals created by me using the CSS of moomoo.io offcial, give me ideas!
// @author       DaRK :)
// @match        *://*.moomoo.io/*
// @icon         https://cdn.discordapp.com/attachments/1129277020661100605/1182191381809205268/john-wagner-bloodmoon.png?ex=6583cc85&is=65715785&hm=adb74fe6d62f3c27077b2f36e6febdf74d3280e2d303283cdb550e08c990aba9&
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    document.getElementById('loadingText').innerHTML = 'Moon Visuals Loading...';
    document.getElementById('loadingText').style.color = "b32821";
    document.getElementById("nameInput").style.backgroundColor = "black";
    document.getElementById("nameInput").style.color = "b32821";
    document.getElementById("enterGame").style.backgroundColor = "Black";
    document.getElementById("enterGame").style.color = "b32821";
    document.getElementById("mainMenu").style.backgroundImage = "url('https://cdn.discordapp.com/attachments/1129277020661100605/1182194954613837897/4062154.png?ex=6583cfd9&is=65715ad9&hm=b24b2649281c4a185c2995f5e466e7fc47f4ff5da145c8b6b07e121b799ae56e&')";
    document.getElementById("mainMenu").style.backgroundRepeat = "no-repeat";
    document.getElementById("mainMenu").style.backgroundSize = "cover";
    document.getElementById('enterGame').innerHTML ='🎮Enter Game!🎮';
    document.getElementById('enterGame').style.color = 'text-shadow: red 1px 1px 40px;';
    document.getElementById('nameInput').placeholder = "Ur Name Here xD";
    document.getElementById('diedText').innerHTML = '💥Why moon died?💥';
    document.getElementById('gameName').innerHTML = '🌕 Moon Visuals 🌕!';
    document.getElementById('gameName').style.color = "ffff66";
    document.getElementById("leaderboard").append ('🌕M̵͚͕͓͗ô̵̖͈͔̏̓ō̸͕̓͝ͅņ̵̬͈̐̄̎🌕');
    document.getElementById("leaderboard").style.color = "text-shadow: green 2px 2px 40px;";

    let ageBar = document.getElementById("ageBar");
    let hue = 0;

    function updateColor() {
        ageBar.style.backgroundColor = `hsl(${hue}, 100%, 50%)`;

        hue = (hue + 1) % 360;
    }

    let intervalId = setInterval(updateColor, 50);

})();