Greasy Fork is available in English.

🔥Noob Client🔥

Cinderace pvp client

  1. // ==UserScript==
  2. // @name 🔥Noob Client🔥
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-11-01
  5. // @description Cinderace pvp client
  6. // @author GEORGECR
  7. // @match https://bloxd.io/
  8. // @match https://bloxd.io/?utm_source=pwa
  9. // @icon https://i.postimg.cc/vZrNmvZY/channels4-profile-1.jpg
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function fast_refresh() {
  17. document.title = "Bloxd.io - Noob Client";
  18. const maintext = document.querySelector('.Title.FullyFancyText');
  19. if (maintext) {
  20. maintext.style.webkitTextStroke = "0px";
  21. maintext.textContent = "🔥NOOB CLIENT🔥";
  22. maintext.style.textShadow = "10px 5px 5px #ff6723";
  23. maintext.style.color = "#ffb02e";
  24. maintext.style.fontSize = "55px";
  25. maintext.style.whiteSpace = 'normal';
  26. }
  27.  
  28. const background = document.querySelector(".HomeBackground");
  29. if (background) {
  30. background.style.backgroundImage = 'url(https://i.postimg.cc/dQnpqmXd/image.png)';
  31. }
  32.  
  33. const crosshair = document.querySelector(".CrossHair");
  34. if (crosshair) {
  35. crosshair.textContent = "";
  36. crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/354b6bd7-1cd8-11ef-8822-bbb60d940ece.gif)";
  37. crosshair.style.backgroundRepeat = "no-repeat";
  38. crosshair.style.backgroundSize = "contain";
  39. crosshair.style.width = "19px";
  40. crosshair.style.height = "19px";
  41. }
  42.  
  43. document.querySelectorAll(".HotBarItem").forEach(hotbar => {
  44. hotbar.style.borderRadius = "12px";
  45. hotbar.style.borderColor = "#000000";
  46. hotbar.style.backgroundColor = "transparent";
  47. hotbar.style.boxShadow = "none";
  48. hotbar.style.outline = "transparent";
  49. });
  50.  
  51. document.querySelectorAll(".SelectedItem").forEach(slot => {
  52. slot.style.backgroundColor = "transparent";
  53. slot.style.boxShadow = "none";
  54. slot.style.borderRadius = "15px";
  55. slot.style.borderColor = "#ff6723";
  56. slot.style.outline = "transparent";
  57. });
  58. }
  59.  
  60. setInterval(fast_refresh, 70);
  61. const UI_aesthetics = () => {
  62. ['LogoContainer', 'cube', 'HomeScreenBottomLeft'].forEach(className => {
  63. document.querySelectorAll('.' + className).forEach(el => el.remove());
  64. });
  65.  
  66. ['GameAdsBanner', 'HomeBannerInner'].forEach(className => {
  67. document.querySelectorAll('.' + className).forEach(ads => {
  68. ads.style.opacity = '0';
  69. ads.style.transform = 'translateX(100%)';
  70. });
  71. });
  72.  
  73. ['TitleContainer'].forEach(className => {
  74. document.querySelectorAll('.' + className).forEach(optionsTR => {
  75. optionsTR.style.width = "600px";
  76. optionsTR.style.height = "80px";
  77. });
  78. });
  79.  
  80. ['PlayerNamePreview'].forEach(className => {
  81. document.querySelectorAll('.' + className).forEach(optionsTL => {
  82. optionsTL.style.color = "white";
  83. optionsTL.style.textShadow = "none";
  84. });
  85. });
  86.  
  87. ['SocialBarInner'].forEach(className => {
  88. document.querySelectorAll('.' + className).forEach(socialbox => {
  89. socialbox.style.backgroundColor = "#000000";
  90. socialbox.style.opacity = '1';
  91. });
  92. });
  93.  
  94. document.querySelectorAll('.AvailableGame').forEach(item => {
  95. item.style.border = "none";
  96. item.style.borderRadius = "0px";
  97. item.style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
  98. });
  99.  
  100. document.querySelectorAll('.AvailableGameTextInner').forEach(name => {
  101. name.style.textShadow = "none";
  102. });
  103.  
  104. document.querySelectorAll('.AvailableGameTextWrapperBackground').forEach(removebox => {
  105. removebox.style.opacity = "0";
  106. });
  107. };
  108.  
  109. document.addEventListener('DOMContentLoaded', UI_aesthetics);
  110. setInterval(UI_aesthetics, 1000);
  111.  
  112. // Create a CPS counter UI with preferred styling
  113. const cpsDisplay = document.createElement('div');
  114. cpsDisplay.style.position = 'fixed';
  115. cpsDisplay.style.top = '91%';
  116. cpsDisplay.style.left = '0.5%';
  117. cpsDisplay.style.backgroundColor = '#ffb02e';
  118. cpsDisplay.style.color = '#ff6723';
  119. cpsDisplay.style.opacity = '70%';
  120. cpsDisplay.style.padding = '5px 55px';
  121. cpsDisplay.style.fontSize = '16px';
  122. cpsDisplay.style.zIndex = '1000';
  123. cpsDisplay.style.fontWeight = 'bold';
  124. cpsDisplay.textContent = 'CPS: 0';
  125. document.body.appendChild(cpsDisplay);
  126.  
  127. // CPS tracking variables
  128. let clickTimes = [];
  129. let lastClickTime = 0;
  130.  
  131. const updateCPS = () => {
  132. const now = performance.now();
  133. clickTimes = clickTimes.filter(time => now - time <= 1000);
  134. const cps = clickTimes.length;
  135. cpsDisplay.textContent = `CPS: ${cps}`;
  136. if (cps === 0 && now - lastClickTime > 1000) {
  137. cpsDisplay.textContent = 'CPS: 0';
  138. }
  139. };
  140.  
  141. document.addEventListener('click', () => {
  142. const now = performance.now();
  143. clickTimes.push(now);
  144. lastClickTime = now;
  145. updateCPS();
  146. });
  147.  
  148. setInterval(updateCPS, 100);
  149.  
  150. const keys = [
  151. { key: 'W', top: '5px', left: '50%' },
  152. { key: 'A', top: '60px', left: '31.5%' },
  153. { key: 'S', top: '60px', left: '50%' },
  154. { key: 'D', top: '60px', left: '68%' },
  155. { key: 'LMB', top: '115px', left: '35.5%', width: '77px' },
  156. { key: 'RMB', top: '115px', left: '64%', width: '77px' },
  157. { key: '―――', top: '170px', left: '50%', height: '25px', width: '160px', fontSize: '18px' }
  158. ];
  159.  
  160. const container = document.createElement("div");
  161. Object.assign(container.style, {
  162. zIndex: "10000",
  163. width: "300px",
  164. height: "300px",
  165. transform: "translate(-50%, -50%)",
  166. top: "86%",
  167. left: "4.7%",
  168. position: "fixed",
  169. opacity: "70%"
  170. });
  171. document.body.appendChild(container);
  172.  
  173. const createKeyElement = ({ key, top, left, width = '50px', height = '50px', fontSize = '24px' }) => {
  174. const element = document.createElement('div');
  175. Object.assign(element.style, {
  176. position: 'fixed',
  177. color: '#ff6723',
  178. top,
  179. left,
  180. transform: 'translateX(-50%)',
  181. zIndex: '10000',
  182. fontWeight: 'bold',
  183. backgroundColor: '#ffb02e',
  184. fontSize,
  185. height,
  186. width,
  187. textAlign: 'center',
  188. lineHeight: height
  189. });
  190. element.textContent = key;
  191. container.appendChild(element);
  192. return element;
  193. };
  194.  
  195. const keyElements = keys.reduce((acc, keyConfig) => {
  196. acc[keyConfig.key] = createKeyElement(keyConfig);
  197. return acc;
  198. }, {});
  199.  
  200. const updateKeyStyle = (key, active) => {
  201. if (keyElements[key]) {
  202. keyElements[key].style.backgroundColor = active ? "#ff6723" : "#ffb02e";
  203. keyElements[key].style.color = active ? "#ffb02e" : "#ff6723";
  204. }
  205. };
  206.  
  207. document.addEventListener('keydown', ({ key }) => {
  208. const upperKey = key.toUpperCase();
  209. if (keyElements[upperKey]) updateKeyStyle(upperKey, true);
  210. if (key === ' ') updateKeyStyle('―――', true);
  211. });
  212.  
  213. document.addEventListener('keyup', ({ key }) => {
  214. const upperKey = key.toUpperCase();
  215. if (keyElements[upperKey]) updateKeyStyle(upperKey, false);
  216. if (key === ' ') updateKeyStyle('―――', false);
  217. });
  218.  
  219. document.addEventListener('mousedown', ({ button }) => {
  220. if (button === 0) updateKeyStyle('LMB', true);
  221. if (button === 2) updateKeyStyle('RMB', true);
  222. });
  223.  
  224. document.addEventListener('mouseup', ({ button }) => {
  225. if (button === 0) updateKeyStyle('LMB', false);
  226. if (button === 2) updateKeyStyle('RMB', false);
  227. });
  228.  
  229. // Add Noob Controls UI
  230. const noobControls = document.createElement('div');
  231. Object.assign(noobControls.style, {
  232. position: 'fixed',
  233. width: '300px',
  234. height: '60px',
  235. top: '90%',
  236. left: '90%',
  237. transform: 'translateX(-50%)',
  238. backgroundColor: '#000000',
  239. opacity: '80%',
  240. borderRadius: '10px',
  241. zIndex: '10001',
  242. display: 'flex',
  243. justifyContent: 'space-around',
  244. alignItems: 'center',
  245. padding: '10px',
  246. boxShadow: '0 0 15px rgba(0, 0, 0, 0.5)'
  247. });
  248.  
  249. const createButton = (text, onClick) => {
  250. const button = document.createElement('button');
  251. Object.assign(button.style, {
  252. color: '#ffb02e',
  253. backgroundColor: '#ff6723',
  254. fontSize: '16px',
  255. fontWeight: 'bold',
  256. border: 'none',
  257. padding: '10px 20px',
  258. borderRadius: '5px',
  259. cursor: 'pointer',
  260. boxShadow: '0 5px 10px rgba(0, 0, 0, 0.3)'
  261. });
  262. button.textContent = text;
  263. button.addEventListener('click', onClick);
  264. return button;
  265. };
  266.  
  267. const showNotification = (message) => {
  268. const notification = document.createElement('div');
  269. notification.textContent = message;
  270. Object.assign(notification.style, {
  271. position: 'fixed',
  272. top: '70%',
  273. left: '50%',
  274. transform: 'translate(-50%, -50%)',
  275. backgroundColor: '#ff6723',
  276. color: '#ffb02e',
  277. padding: '10px 20px',
  278. borderRadius: '5px',
  279. fontSize: '18px',
  280. fontWeight: 'bold',
  281. zIndex: '10002',
  282. textAlign: 'center',
  283. opacity: '1',
  284. transition: 'opacity 1s ease-out'
  285. });
  286. document.body.appendChild(notification);
  287.  
  288. setTimeout(() => {
  289. notification.style.opacity = '0';
  290. setTimeout(() => notification.remove(), 1000);
  291. }, 1000);
  292. };
  293.  
  294. const noobClickerButton = createButton('Noob Clicker', () => showNotification('Noob Clicker Activated'));
  295. const noobHaxButton = createButton('Noob Hax', () => showNotification('Noob Hax Activated'));
  296.  
  297. noobControls.appendChild(noobClickerButton);
  298. noobControls.appendChild(noobHaxButton);
  299.  
  300. document.body.appendChild(noobControls);
  301.  
  302. })();