Greasy Fork

DEEP SPACE Client for bloxd.io

this is cool

目前为 2024-03-10 提交的版本。查看 最新版本

// ==UserScript==
      // @name         DEEP SPACE Client for bloxd.io
      // @namespace    http://tampermonkey.net/
      // @version      0.3
      // @description  this is cool
      // @author       GEORGECR
      // @match        https://bloxd.io/
      // @icon         https://i.postimg.cc/NMG91FWH/space-BG-loco.jpg
      // @license      MIT
      // @supportURL   https://github.com/damirarh/GreasyForkScripts
      // @match        https://www.trueachievements.com/game/*/achievements*
      // @grant        none
      // ==/UserScript==

      setInterval(function() {
          'use strict';
          document.title = "DEEP SPACE";
          const maintext = document.querySelector('.Title.FullyFancyText');
          maintext.style.fontFamily = {
          "name": "Montserrat",
          "weight": "400",
          "style": "normal",
          "source": "Fonts/Montserrat/Montserrat-Regular.ttf"
          };
          maintext.style.textShadow = " 10px 5px 5px #000000";
          maintext.style.webkitTextStroke = "none";




          document.querySelector('.Title.FullyFancyText').textContent = "DEEP SPACE";
          document.querySelector('.Title.FullyFancyText').style.backgroundImage = "https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif";
          let background = document.getElementsByClassName("Background");
          background[0].src = "https://i.postimg.cc/0yTx0G0L/client-BG.jpg";
          let names = document.getElementsByClassName("AvailableGameText");
          let imgs = document.getElementsByClassName("AvailableGameImg")
          let imgedits = document.getElementsByClassName("AvailableGame");


          setInterval(function() {
          const crosshair = document.querySelector(".CrossHair");
          if (crosshair) {
              crosshair.textContent = "";
              crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif)";
              crosshair.style.backgroundRepeat = "no-repeat";
              crosshair.style.backgroundSize = "contain";
              crosshair.style.width = "25px";
              crosshair.style.height = "25px";
          }
      }, 1000);



      // Hotbar
      (function() {
          'use strict';

          setInterval(function() {
              const hotbarslots = document.querySelectorAll(".item");
              const selectedslot = document.querySelectorAll(".SelectedItem");
              if (hotbarslots) {
                  hotbarslots.forEach(function(hotbar) {
                      hotbar.style.borderRadius = "8px";
                      hotbar.style.borderColor = "#000000";
                      hotbar.style.backgroundColor = "transparent";
                      hotbar.style.boxShadow = "none"
                      hotbar.style.outline = "transparent"
                  });
              }
              if (selectedslot) {
                  selectedslot.forEach(function(slot) {
                      slot.style.backgroundColor = "transparent";
                      slot.style.boxShadow = "none";
                      slot.style.borderRadius = "15px";
                      slot.style.borderColor = "#FFFFFF";
                      slot.style.outline = "transparent";
                  });
              }
          }, 1);
      })();
     (function() {
         'use strict'
     const text = document.createElement('div');
         text.style.position = "fixed";
         text.textContent = "DEEPSPACE"
         text.style.color = "#ADFF2F";
         text.style.fontSize ="15px"
         text.style.fontWeight = "bold";
         text.style.zIndex ="10000";
         text.style.borderRadius ="25px";
         text.style.bottom = "1%";
         text.style.left = "95%";
         text.style.letterSpacing = "2px";
         text.style.textAlign = "center";
         text.style.justifyContent = "center";
         text.style.transform = "translateX(-50%)";
         text.style.display = "flex";
         text.style.width = "105px";
         text.style.height = "36.5px";

         document.body.appendChild(text);
     })();
});