DEEP SPACE Client for bloxd.io

this is cool

当前为 2024-03-16 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name DEEP SPACE Client for bloxd.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description this is cool
  6. // @author GEORGECR
  7. // @match https://bloxd.io/
  8. // @icon https://i.postimg.cc/NMG91FWH/space-BG-loco.jpg
  9. // @license MIT
  10. // @supportURL https://github.com/damirarh/GreasyForkScripts
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. setInterval(function() {
  15. 'use strict';
  16. document.title = "DEEP SPACE";
  17. const maintext = document.querySelector('.Title.FullyFancyText');
  18. maintext.style.fontFamily = {
  19. "name": "Montserrat",
  20. "weight": "400",
  21. "style": "normal",
  22. "source": "Fonts/Montserrat/Montserrat-Regular.ttf"
  23. };
  24. maintext.style.textShadow = " 10px 5px 5px #000000";
  25. maintext.style.webkitTextStroke = "none";
  26.  
  27.  
  28.  
  29.  
  30. document.querySelector('.Title.FullyFancyText').textContent = "DEEP SPACE";
  31. document.querySelector('.Title.FullyFancyText').style.backgroundImage = "https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif";
  32. let background = document.getElementsByClassName("Background");
  33. background[0].src = "https://i.postimg.cc/0yTx0G0L/client-BG.jpg";
  34. let names = document.getElementsByClassName("AvailableGameText");
  35. let imgs = document.getElementsByClassName("AvailableGameImg")
  36. let imgedits = document.getElementsByClassName("AvailableGame");
  37.  
  38.  
  39. setInterval(function() {
  40. const crosshair = document.querySelector(".CrossHair");
  41. if (crosshair) {
  42. crosshair.textContent = "";
  43. crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif)";
  44. crosshair.style.backgroundRepeat = "no-repeat";
  45. crosshair.style.backgroundSize = "contain";
  46. crosshair.style.width = "25px";
  47. crosshair.style.height = "25px";
  48. }
  49. }, 1000);
  50.  
  51.  
  52.  
  53. // Hotbar
  54. (function() {
  55. 'use strict';
  56.  
  57. setInterval(function() {
  58. const hotbarslots = document.querySelectorAll(".item");
  59. const selectedslot = document.querySelectorAll(".SelectedItem");
  60. if (hotbarslots) {
  61. hotbarslots.forEach(function(hotbar) {
  62. hotbar.style.borderRadius = "8px";
  63. hotbar.style.borderColor = "#000000";
  64. hotbar.style.backgroundColor = "transparent";
  65. hotbar.style.boxShadow = "none"
  66. hotbar.style.outline = "transparent"
  67. });
  68. }
  69. if (selectedslot) {
  70. selectedslot.forEach(function(slot) {
  71. slot.style.backgroundColor = "transparent";
  72. slot.style.boxShadow = "none";
  73. slot.style.borderRadius = "15px";
  74. slot.style.borderColor = "#FFFFFF";
  75. slot.style.outline = "transparent";
  76. });
  77. }
  78. }, 1);
  79. })();
  80. (function() {
  81. 'use strict'
  82. const text = document.createElement('div');
  83. text.style.position = "fixed";
  84. text.textContent = "DEEPSPACE"
  85. text.style.color = "#ADFF2F";
  86. text.style.fontSize ="15px"
  87. text.style.fontWeight = "bold";
  88. text.style.zIndex ="10000";
  89. text.style.borderRadius ="25px";
  90. text.style.bottom = "1%";
  91. text.style.left = "95%";
  92. text.style.letterSpacing = "2px";
  93. text.style.textAlign = "center";
  94. text.style.justifyContent = "center";
  95. text.style.transform = "translateX(-50%)";
  96. text.style.display = "flex";
  97. text.style.width = "105px";
  98. text.style.height = "36.5px";
  99.  
  100. document.body.appendChild(text);
  101. })();
  102. document.querySelectorAll('.AvailableGame').forEach(item => {
  103. item.style.border = "none";
  104. })
  105.  
  106. names[0].style.textShadow = "none";
  107. imgedits[0].style.border = "none";
  108. imgedits[0].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  109. names[1].style.textShadow = "none";
  110. imgedits[1].style.border = "none";
  111. imgedits[1].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  112. names[2].style.textShadow = "none";
  113. imgedits[2].style.border = "none";
  114. imgedits[2].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  115. names[3].style.textShadow = "none";
  116. imgedits[3].style.border = "none";
  117. imgedits[3].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  118. names[4].style.textShadow = "none";
  119. imgedits[4].style.border = "none";
  120. imgedits[4].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  121. names[5].style.textShadow = "none";
  122. imgedits[5].style.border = "none";
  123. imgedits[5].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  124. names[6].style.textShadow = "none";
  125. imgedits[6].style.border = "none";
  126. imgedits[6].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  127. names[7].style.textShadow = "none";
  128. imgedits[7].style.border = "none";
  129. imgedits[7].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  130. names[8].style.textShadow = "none";
  131. imgedits[8].style.border = "none";
  132. imgedits[8].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  133. names[9].style.textShadow = "none";
  134. imgedits[9].style.border = "none";
  135. imgedits[9].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  136. names[10].style.textShadow = "none";
  137. imgedits[10].style.border = "none";
  138. imgedits[10].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  139. names[11].style.textShadow = "none";
  140. imgedits[11].style.border = "none";
  141. imgedits[11].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  142. names[12].style.textShadow = "none";
  143. imgedits[12].style.border = "none";
  144. imgedits[12].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  145. names[13].style.textShadow = "none";
  146. imgedits[13].style.border = "none";
  147. imgedits[13].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  148. names[14].style.textShadow = "none";
  149. imgedits[14].style.border = "none";
  150. imgedits[14].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  151. names[15].style.textShadow = "none";
  152. imgedits[15].style.border = "none";
  153. imgedits[15].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  154. names[16].style.textShadow = "none";
  155. imgedits[16].style.border = "none";
  156. imgedits[16].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  157. names[17].style.textShadow = "none";
  158. imgedits[17].style.border = "none";
  159. imgedits[17].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  160. names[18].style.textShadow = "none";
  161. imgedits[18].style.border = "none";
  162. imgedits[18].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  163.  
  164.  
  165. },100);