Sploop.io W-MOD [ Modifications ]

Transparent Hat & Clan Menu, Auto Toggle, Auto Select Mode, Access Settings ingame, Ad Remove

  1. // ==UserScript==
  2. // @name Sploop.io W-MOD [ Modifications ]
  3. // @namespace https://greatest.deepsurf.us/en/users/752105-w4it
  4. // @version v3.1.0
  5. // @description Transparent Hat & Clan Menu, Auto Toggle, Auto Select Mode, Access Settings ingame, Ad Remove
  6. // @author W4IT
  7. // @match *://*.sploop.io/*
  8. // @grant none
  9. // @icon https://cdn.discordapp.com/attachments/954435318856175649/1089541815067234374/pixil-frame-0_6_2.png
  10. // @license ISC
  11. // ==/UserScript==
  12. let popUI = document.querySelector('#pop-ui');
  13. let settings = document.querySelector('#pop-settings');
  14.  
  15. // === STYLING & Ad Remove ===
  16. document.querySelector('#game-content').style.justifyContent = 'center';
  17. document.querySelector('#main-content').style.width = 'auto';
  18.  
  19. document.getElementById('hat-menu').style.background = "rgba(0,0,0,0)"
  20. document.getElementById('hat-menu').style.opacity = "0.9"
  21. document.getElementById('clan-menu').style.background = "rgba(0,0,0,0)"
  22. document.getElementById('clan-menu').style.opacity = "0.9"
  23. document.getElementById("hat_menu_content").style.background = "rgba(0,0,0,0)"
  24. document.getElementById("clan_menu_content").style.background = "rgba(0,0,0,0)"
  25. var styleItem1 = document.createElement("style");
  26. styleItem1.type = "text/css";
  27. styleItem1.appendChild(document.createTextNode(`
  28. #cross-promo, #bottom-wrap, #google_play, #game-left-content-main, #game-bottom-content, #game-right-content-main, #left-content, #right-content {
  29. display: none !important;
  30. }
  31.  
  32. #hat-menu .green-button, #clan-menu .green-button {
  33. background-color: rgba(0,0,0,0);
  34. box-shadow:none;
  35. }
  36. #hat-menu .green-button:hover, #clan-menu .green-button:hover {
  37. background-color: rgba(0,0,0,0.2);
  38. }
  39. .subcontent-bg {
  40. border-color: transparent;
  41. box-shadow: none;
  42. background: transparent;
  43. }
  44. .menu .content .menu-item .menu-pricing .action {
  45. border-color: transparent;
  46. }
  47. .menu .content .menu-item {
  48. border-bottom-color: transparent;
  49. }
  50. #hat-menu, #clan-menu {
  51. box-shadow: none;
  52. border: 1px solid black
  53. }
  54.  
  55. #clan_menu_content .subcontent-bg {
  56. margin: 1px 0px 1px 0px;
  57. }
  58.  
  59. #create_clan *, #pop-ui {
  60. background-color: transparent;
  61. }
  62.  
  63. #pop-settings {
  64. background: rgba(0,0,0,0.5);
  65. opacity: 0.95;
  66. }
  67.  
  68. .scrollbar::-webkit-scrollbar {
  69. background: rgba(0, 0, 0, 0);
  70. border-radius: 2px;
  71. border: 2px solid rgba(0, 0, 0, 0.9);
  72. }
  73. .scrollbar::-webkit-scrollbar-thumb {
  74. background: rgba(255,255,255, 0.7);
  75. border-radius: 2px;
  76. border: 2px solid #141414;
  77. box-shadow: inset 0 1px 0 white, inset 0 -1px 0 #4e5645,
  78. 0 1px 1px rgb(20 20 20 / 50%);
  79. }
  80. `))
  81. document.head.appendChild(styleItem1);
  82.  
  83.  
  84. //Auto Toggle
  85. const grid = document.querySelector('#grid-toggle');//Render Grid
  86. const particle = document.querySelector('#particle-toggle');//Render Particles
  87. const ping = document.querySelector('#display-ping-toggle');//View Ping
  88. const nativeRender = document.querySelector('#native-render-toggle');//Native Render
  89. const nativeHelper = document.querySelector('#native-helper-toggle');//Native Friendly Indicator
  90.  
  91. //Copy the line below and change 'grid' to the variable name above
  92. grid.click();
  93.  
  94.  
  95. //Auto Mode
  96. const classic = document.querySelector('#ffa-mode');
  97. const sandbox = document.querySelector('#sandbox-mode');
  98. const battleroyale = document.querySelector('#battleroyale-mode');
  99. let a;
  100. a = setInterval(()=>{
  101. if(document.querySelector('#small-waiting').style.display === "none") {
  102. //Change the 'sandbox' in the line below to the variable you want
  103. sandbox.click();
  104. clearInterval(a);
  105. }
  106. }, 100);
  107.  
  108. // Access Settings ingame
  109. document.addEventListener('keydown', e =>{
  110. if(e.keyCode == 27) {
  111. if(document.querySelector('#hat-menu').style.display !== "flex" && document.querySelector('#clan-menu').style.display !== "flex" && document.querySelector('#homepage').style.display !== "flex" && document.querySelector('#chat-wrapper').style.display !== "block") {
  112. if(!popUI.classList.contains('fade-in')) {
  113. popUI.classList.add('fade-in');
  114. popUI.style.display = "flex";
  115. settings.style.display = "flex";
  116. return;
  117. }
  118. popUI.classList.remove('fade-in');
  119. popUI.style.display = "none";
  120. settings.style.display = "none";
  121. }
  122. }
  123. });