Yohoho.io Money Hack Button Menu

Cool money hack menu for yohoho.io with animations and style, coded by Spec

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

  1. // ==UserScript==
  2. // @name Yohoho.io Money Hack Button Menu
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.4
  5. // @description Cool money hack menu for yohoho.io with animations and style, coded by Spec
  6. // @author SpEc
  7. // @match *://yohoho.io/*
  8. // @grant none
  9. // @license GNU GPLv3
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Create menu overlay with gradient and animation
  16. let menuOverlay = document.createElement("div");
  17. menuOverlay.style.position = "fixed";
  18. menuOverlay.style.top = "50%";
  19. menuOverlay.style.left = "50%";
  20. menuOverlay.style.transform = "translate(-50%, -50%)";
  21. menuOverlay.style.padding = "30px";
  22. menuOverlay.style.background = "linear-gradient(135deg, #1e3c72, #2a5298)";
  23. menuOverlay.style.borderRadius = "15px";
  24. menuOverlay.style.color = "#fff";
  25. menuOverlay.style.zIndex = "10000";
  26. menuOverlay.style.textAlign = "center";
  27. menuOverlay.style.boxShadow = "0 0 20px rgba(0, 0, 0, 0.5)";
  28. menuOverlay.style.opacity = "0";
  29. menuOverlay.style.transition = "opacity 0.5s ease-in-out";
  30. menuOverlay.style.display = "none";
  31. document.body.appendChild(menuOverlay);
  32.  
  33. // Menu animations
  34. const showMenu = () => {
  35. menuOverlay.style.display = "block";
  36. setTimeout(() => {
  37. menuOverlay.style.opacity = "1";
  38. }, 10);
  39. };
  40.  
  41. const hideMenu = () => {
  42. menuOverlay.style.opacity = "0";
  43. setTimeout(() => {
  44. menuOverlay.style.display = "none";
  45. }, 500);
  46. };
  47.  
  48. // Create menu title with gradient text effect
  49. let menuTitle = document.createElement("h2");
  50. menuTitle.innerHTML = "Yohoho.io Money Glitch";
  51. menuTitle.style.marginBottom = "20px";
  52. menuTitle.style.background = "linear-gradient(90deg, #ff7e5f, #feb47b)";
  53. menuTitle.style.webkitBackgroundClip = "text";
  54. menuTitle.style.webkitTextFillColor = "transparent";
  55. menuOverlay.appendChild(menuTitle);
  56.  
  57. // Button creator function with animations
  58. function createButton(label, amount) {
  59. let button = document.createElement("button");
  60. button.innerHTML = label;
  61. button.style.padding = "15px 30px";
  62. button.style.margin = "10px";
  63. button.style.background = "linear-gradient(90deg, #00b09b, #96c93d)";
  64. button.style.color = "#fff";
  65. button.style.border = "none";
  66. button.style.borderRadius = "30px";
  67. button.style.cursor = "pointer";
  68. button.style.fontSize = "16px";
  69. button.style.transition = "transform 0.2s ease, background 0.3s";
  70. button.addEventListener("mouseenter", () => button.style.transform = "scale(1.1)");
  71. button.addEventListener("mouseleave", () => button.style.transform = "scale(1)");
  72. button.addEventListener("click", () => setCoins(amount));
  73. menuOverlay.appendChild(button);
  74. }
  75.  
  76. // Add buttons for different amounts
  77. createButton("Add 10K Coins", 10000);
  78. createButton("Add 50K Coins", 50000);
  79. createButton("Add 100K Coins", 100000);
  80. createButton("Set Coins to 1M", 1000000);
  81.  
  82. // Create Close button with color animation
  83. let closeButton = document.createElement("button");
  84. closeButton.innerHTML = "Close Menu";
  85. closeButton.style.padding = "15px 30px";
  86. closeButton.style.marginTop = "20px";
  87. closeButton.style.background = "#ff5f6d";
  88. closeButton.style.background = "linear-gradient(90deg, #ff5f6d, #ffc371)";
  89. closeButton.style.color = "#fff";
  90. closeButton.style.border = "none";
  91. closeButton.style.borderRadius = "30px";
  92. closeButton.style.cursor = "pointer";
  93. closeButton.style.transition = "transform 0.2s ease, background 0.3s";
  94. closeButton.addEventListener("mouseenter", () => closeButton.style.transform = "scale(1.1)");
  95. closeButton.addEventListener("mouseleave", () => closeButton.style.transform = "scale(1)");
  96. closeButton.addEventListener("click", hideMenu);
  97. menuOverlay.appendChild(closeButton);
  98.  
  99. // Create footer with your alias and credits
  100. let footer = document.createElement("p");
  101. footer.innerHTML = "Coded by Spec";
  102. footer.style.marginTop = "20px";
  103. footer.style.fontSize = "14px";
  104. footer.style.color = "#ccc";
  105. footer.style.fontStyle = "italic";
  106. menuOverlay.appendChild(footer);
  107.  
  108. // Function to set coins
  109. async function setCoins(amount) {
  110. let sessionId = localStorage.sessionId;
  111. if (!sessionId) {
  112. alert("Session ID not found. Make sure you are logged in.");
  113. return;
  114. }
  115.  
  116. // Fetch session details and modify coins
  117. let endpoint = (path) => `https://s.${location.hostname}/${path}?s=${sessionId}`;
  118. var data = {
  119. gamesStarted: 0,
  120. coinsOwned: 0,
  121. playerSkin: 0,
  122. playerPet: 0,
  123. playerXP: 0,
  124. unlockedSkins: [1],
  125. unlockedPets: [1],
  126. playerPetLevel: 1,
  127. lastGameTime: 0,
  128. lastKills: 0,
  129. lastScore: 0,
  130. totalGameTime: 0,
  131. totalKills: 0,
  132. totalScore: 0,
  133. totalWins: 0,
  134. bestGameTime: 0,
  135. bestKills: 0,
  136. bestScore: 0,
  137. abBotSkillLevel: 1
  138. };
  139.  
  140. // Fetch and update coins
  141. let loginResponse = await fetch(endpoint("login"));
  142. let status = loginResponse.status;
  143.  
  144. if (status === 200) {
  145. let responseText = await loginResponse.text();
  146. data = JSON.parse("{" + responseText.split("{")[1]);
  147. data.coinsOwned += amount; // Add coins
  148.  
  149. await fetch(endpoint("save"), {
  150. method: "POST",
  151. body: JSON.stringify(data)
  152. });
  153.  
  154. alert(`${amount} coins added! Reloading the game...`);
  155. location.reload(); // Reload the game to reflect changes
  156. } else {
  157. alert("Failed to fetch session details. Status: " + status);
  158. }
  159. }
  160.  
  161. // Create button to open the menu
  162. let menuButton = document.createElement("button");
  163. menuButton.innerHTML = "💰 Open Money Glitch Menu 💰";
  164. menuButton.style.position = "fixed";
  165. menuButton.style.top = "10px";
  166. menuButton.style.left = "10px";
  167. menuButton.style.zIndex = "1000";
  168. menuButton.style.padding = "12px 20px";
  169. menuButton.style.background = "linear-gradient(90deg, #7f00ff, #e100ff)";
  170. menuButton.style.color = "#fff";
  171. menuButton.style.border = "none";
  172. menuButton.style.borderRadius = "30px";
  173. menuButton.style.cursor = "pointer";
  174. menuButton.style.fontSize = "16px";
  175. menuButton.style.transition = "transform 0.2s ease, background 0.3s";
  176. menuButton.addEventListener("mouseenter", () => menuButton.style.transform = "scale(1.1)");
  177. menuButton.addEventListener("mouseleave", () => menuButton.style.transform = "scale(1)");
  178. document.body.appendChild(menuButton);
  179.  
  180. menuButton.addEventListener("click", showMenu);
  181. })();