Arras.io Placeholder Mod Menu

Visual-only placeholder mod menu for Arras.io (press L to toggle) DISCLAMER: it will now work. it is a placeholder script. use it to troll your friends :). Feel free to actually make it work. (ultra cool if you can! if so, feel free to comment the link for it.

当前为 2025-06-04 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Arras.io Placeholder Mod Menu
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Visual-only placeholder mod menu for Arras.io (press L to toggle) DISCLAMER: it will now work. it is a placeholder script. use it to troll your friends :). Feel free to actually make it work. (ultra cool if you can! if so, feel free to comment the link for it.
  6. // @author Jasper
  7. // @match *://arras.io/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function () {
  13. 'use strict';
  14.  
  15. const style = document.createElement("style");
  16. style.textContent = `
  17. #modMenu, #spawnSubMenu {
  18. position: fixed;
  19. top: 80px;
  20. width: 250px;
  21. background: #1e1e2f;
  22. border: 1px solid #444;
  23. color: #fff;
  24. font-family: Arial, sans-serif;
  25. font-size: 14px;
  26. padding: 10px;
  27. border-radius: 8px;
  28. box-shadow: 0 0 10px rgba(255,255,255,0.05);
  29. z-index: 9999;
  30. }
  31.  
  32. #modMenu {
  33. right: 20px;
  34. }
  35.  
  36. #spawnSubMenu {
  37. right: 290px;
  38. max-height: 300px;
  39. overflow-y: auto;
  40. display: none;
  41. }
  42.  
  43. .modButton {
  44. width: 100%;
  45. padding: 8px;
  46. margin-top: 5px;
  47. background: #2a2a3f;
  48. border: none;
  49. border-radius: 8px;
  50. color: #fff;
  51. cursor: pointer;
  52. transition: background 0.2s ease;
  53. }
  54.  
  55. .modButton:hover {
  56. background: #3a3a5f;
  57. }
  58.  
  59. #spawnSubMenu .checkboxContainer {
  60. margin-top: 8px;
  61. }
  62.  
  63. #spawnSubMenu input[type="checkbox"] {
  64. margin-right: 8px;
  65. }
  66.  
  67. #spawnSubMenuHeader {
  68. display: flex;
  69. justify-content: space-between;
  70. align-items: center;
  71. margin-bottom: 10px;
  72. }
  73.  
  74. #closeSpawnSubMenu {
  75. background: none;
  76. border: none;
  77. color: #fff;
  78. font-size: 18px;
  79. cursor: pointer;
  80. }
  81.  
  82. ::-webkit-scrollbar {
  83. width: 6px;
  84. }
  85. ::-webkit-scrollbar-thumb {
  86. background-color: #555;
  87. border-radius: 10px;
  88. }
  89. `;
  90. document.head.appendChild(style);
  91.  
  92. const menuHTML = `
  93. <div id="modMenu" style="display:none;">
  94. <strong style="display:block; text-align:center; margin-bottom:10px;">Mod Menu (Placeholder)</strong>
  95. <button class="modButton">Speedhack</button>
  96. <button class="modButton">ESP</button>
  97. <button class="modButton">Invisible</button>
  98. <button class="modButton">NOclip</button>
  99. <button class="modButton">Dev Commands</button>
  100. <button class="modButton">BetaTester Token</button>
  101. <button class="modButton" id="spawnButton">Spawn</button>
  102. </div>
  103. <div id="spawnSubMenu">
  104. <div id="spawnSubMenuHeader">
  105. <strong>Spawn Options</strong>
  106. <button id="closeSpawnSubMenu">&times;</button>
  107. </div>
  108. <div class="checkboxContainer"><input type="checkbox" /> Spawn Egg</div>
  109. <div class="checkboxContainer"><input type="checkbox" /> Spawn Square</div>
  110. <div class="checkboxContainer"><input type="checkbox" /> Spawn Triangle</div>
  111. <div class="checkboxContainer"><input type="checkbox" /> Spawn Pentagon</div>
  112. <div class="checkboxContainer"><input type="checkbox" /> Spawn Alpha Pentagon</div>
  113. <div class="checkboxContainer"><input type="checkbox" /> Shadow Alpha Pentagon</div>
  114. <div class="checkboxContainer"><input type="checkbox" /> Rainbow Alpha Pentagon</div>
  115. <div class="checkboxContainer"><input type="checkbox" /> Trans Alpha Pentagon</div>
  116. <div class="checkboxContainer"><input type="checkbox" /> God Pentagon</div>
  117. </div>
  118. `;
  119.  
  120. const wrapper = document.createElement("div");
  121. wrapper.innerHTML = menuHTML;
  122. document.body.appendChild(wrapper);
  123.  
  124. const modMenu = document.getElementById("modMenu");
  125. const spawnSubMenu = document.getElementById("spawnSubMenu");
  126. const spawnButton = document.getElementById("spawnButton");
  127. const closeSpawn = document.getElementById("closeSpawnSubMenu");
  128.  
  129. let menuVisible = false;
  130.  
  131. document.addEventListener("keydown", (e) => {
  132. if (e.key.toLowerCase() === "l") {
  133. menuVisible = !menuVisible;
  134. modMenu.style.display = menuVisible ? "block" : "none";
  135. spawnSubMenu.style.display = "none"; // hide sub-menu if menu is closed
  136. }
  137. });
  138.  
  139. spawnButton.addEventListener("click", () => {
  140. spawnSubMenu.style.display = "block";
  141. });
  142.  
  143. closeSpawn.addEventListener("click", () => {
  144. spawnSubMenu.style.display = "none";
  145. });
  146. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址