Sploop.io Hack | Background Filter Changer, (Menu On "B" Key)

A Friendly Script That Customize your Game Background

当前为 2023-08-05 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Sploop.io Hack | Background Filter Changer, (Menu On "B" Key)
  3. // @version 0.1
  4. // @description A Friendly Script That Customize your Game Background
  5. // @author DETIX aka D.Roy || discord => detixthegoat
  6. // @match *://*.sploop.io/*
  7. // @license CC-BY 4.0
  8. // @namespace https://gf.qytechs.cn/users/684614
  9. // ==/UserScript==
  10.  
  11. const __fli4p = `
  12. #__ro8h3-__utkp {
  13. position: fixed;
  14. top: 10px;
  15. right: 10px;
  16. background-color: rgba(0, 0, 0, 0.8);
  17. padding: 10px;
  18. color: white;
  19. z-index: 9999;
  20. display: none;
  21. border-radius: 5px;
  22. font-family: "Arial", sans-serif;
  23. }
  24. #__ro8h3-__utkp label {
  25. margin-right: 10px;
  26. }
  27. #__ro8h3-__utkp input[type="range"] {
  28. width: 150px;
  29. margin-right: 10px;
  30. }
  31. #__ro8h3-__utkp button {
  32. padding: 5px 10px;
  33. background-color: #4CAF50;
  34. color: white;
  35. border: none;
  36. cursor: pointer;
  37. border-radius: 5px;
  38. }
  39. `;
  40. const __bliq3 = `
  41. <div id="__ro8h3-__utkp">
  42. <label for="__ekl4j__ero4"><sub><strong>By DETIX</strong></sub></label>
  43. <input type="range" id="__ekl4j__ero4" min="0" max="100" step="10" value="0">
  44. <span id="__rki3v__elo4">0</span>%
  45. <button id="__epo9c__ekro5">Reset Filter</button>
  46. <button id="__akos58">Close Menu</button>
  47. </div>
  48. `;
  49. document.head.insertAdjacentHTML("beforeend", `<style>${__fli4p}</style>`);
  50. document.body.insertAdjacentHTML("beforeend", __bliq3);
  51. const __akos58 = document.getElementById("__akos58");
  52. __akos58.addEventListener("click", () => {
  53. const __duk1h = document.getElementById("__ro8h3-__utkp");
  54. __duk1h.style.display = "none";
  55. });
  56. const __num2h = (value, __mol6f) => {
  57. if (__mol6f) {
  58. if (value === "50") {
  59. __mol6f.style.filter = "";
  60. } else {
  61. __mol6f.style.filter = `invert(${value}%) hue-rotate(180deg)`;
  62. __mol6f.style.backgroundColor = "";
  63. }
  64. }
  65. };
  66. document.addEventListener("keydown", (event) => {
  67. if (event.key === "b" || event.key === "B") {
  68. const __duk1h = document.getElementById("__ro8h3-__utkp");
  69. __duk1h.style.display = __duk1h.style.display === "none" ? "block" : "none";
  70. if (__duk1h.style.display === "block") {
  71. const __ekl4j__ero4 = document.getElementById("__ekl4j__ero4");
  72. const __rki3v__elo4 = document.getElementById("__rki3v__elo4");
  73. __ekl4j__ero4.addEventListener("input", () => {
  74. const value = __ekl4j__ero4.value;
  75. __rki3v__elo4.textContent = value;
  76. __num2h(value, document.getElementById("game-canvas"));
  77. });
  78. const __epo9c__ekro5 = document.getElementById("__epo9c__ekro5");
  79. __epo9c__ekro5.addEventListener("click", () => {
  80. const __mol6f = document.getElementById("game-canvas");
  81. __mol6f.style.filter = "";
  82. __ekl4j__ero4.value = "50";
  83. __rki3v__elo4.textContent = "50";
  84. });
  85. }
  86. }
  87. });
  88. //whats up??
  89. __num2h(0, document.getElementById("game-canvas"));

QingJ © 2025

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