Guest User

Untitled

a guest
Apr 20th, 2023
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.11 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Lordz.io COIN HACK - Lordzio Hacks - Best Lordz Cheat 2019 to 2020
  3. // @description Lordzio Mods Features: Coin Hack, Faster Movement, Auto Heal, More Units, FPS, Adblock
  4. // @namespace iomods.org
  5. // @author iomods.org
  6. // @version 2.1
  7. // @require http://code.jquery.com/jquery-3.3.1.min.js
  8. // @require https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js
  9. // @require https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.min.js
  10. // @require https://cdnjs.cloudflare.com/ajax/libs/howler/1.1.29/howler.min.js
  11. // @updateURL https://io-mods.com/mods/lordzio.user.js
  12. // @downloadURL https://io-mods.com/mods/lordzio.user.js
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @match https://lordz.io/
  16. // ==/UserScript==
  17.  
  18. setTimeout(function() {
  19. //tanitim belgeseli
  20. var colorize,colorizer,lnk,text,ministyler,gamesounds;
  21. lnk = ["SLITHERE.COM", "KRUNKERIO.ORG", "KRUNKERIO.NET", "KRUNKERIOPLAY.COM", "SHELLSHOCKIO.ORG", "MOOMOOIOPLAY.COM", "SURVIVIO.INFO", "ZOMBSROYALEIO.ORG", "MOPE-IO.NET", "MOPEIOGAME.COM", "DIEPIOPLAY.COM", "DIEPIOPLAY.ORG", "SLITHERIOPLAY.ORG", "SKRIBBL-IO.NET", "SPINZ-IO.NET", "BONK-IO.NET", "TANKSMITHIO.ORG", "DEEEEP-IO.NET", "BUILDROYALEIO.ORG", "WORMAX.ORG", "WORMAX2IO.COM", "WORMATE-IO.NET", "BUILDROYALEIO.ORG", "PAPERIOGAME.COM", "DEVASTIOPLAY.COM", "GARTICIO.ORG", "SPLIXIO.NET", "IOGAMESLIST.ORG", "IO-OYUNLAR.COM", "IOMODS.ORG"];
  22. text = "<b>";
  23. lnk.forEach(lnkfunc);
  24. text += "</b>";
  25.  
  26. function lnkfunc(value) {
  27. var value2 = value;
  28. if(value == "KRUNKERIO.ORG" || value == "KRUNKERIO.NET" || value == "KRUNKERIOPLAY.COM") { colorize = true; } else { colorize = false; }
  29. if(value == "SLITHERE.COM" || value == "IOMODS.ORG") { colorizer = true; } else { colorizer = false; }
  30. if(value == "MOPE-IO.NET") { value2="MOPEIO.NET"; } if(value == "WORMATE-IO.NET") { value2="WORMATEIO.NET"; } if(value == "BONK-IO.NET") { value2="BONKIO.NET"; } if(value == "SPINZ-IO.NET") { value2="SPINZIO.NET"; } if(value == "DEEEEP-IO.NET") { value2="DEEEEPIO.NET"; } if(value == "SKRIBBL-IO.NET") { value2="SKRIBBLIO.NET"; } if(value == "IO-OYUNLAR.COM") { value2="IOOYUNLAR.COM"; }
  31. ministyler = "color:white;font-size:12px;padding:3px;text-decoration:none;";
  32. if(colorize == true){ministyler = "color:yellow;font-size:12px;padding:3px;text-decoration:none;";}
  33. if(colorizer == true){ministyler = "color:darkorange;font-size:12px;padding:3px;text-decoration:none;";}
  34. text += '<a href="http://'+value+'" target="_blank" style="'+ministyler+'">'+value2+' <font color="#555555">-</font></a>';
  35. }
  36.  
  37. //rastgele cikma ekrani
  38. var values = ["location=yes,scrollbars=yes,status=yes,height=570,width=520","location=yes,scrollbars=yes,status=yes,left=2000,height=570,width=520"];
  39. values.sort(function(a, b){return 0.5 - Math.random()});
  40.  
  41. //LINKLER
  42. var links = ["https://slithere.com","https://krunkerio.org","https://krunkerio.net","https://iomods.org","https://skribbl-io.net","https://diepioplay.com","https://diepioplay.org","https://mope-io.net","https://mopeiogame.com","https://wormax.org","https://shellshockio.org","https://survivio.net","https://zombsroyaleio.org","https://moomooioplay.com","https://iogameslist.org","https://krunkerioplay.com","https://bonk-io.net", "http://io-oyunlar.com","https://wormax2io.com","https://wormate-io.net","https://buildroyaleio.org","https://paperiogame.com","https://garticio.org","https://devastioplay.com","https://splixio.net"];
  43. links.sort(function(a, b){return 0.5 - Math.random()});
  44.  
  45. //ozellikler
  46. var fts = ["Coin Hack","Speed Hack","Auto Heal","Auto Spawn","Auto Build","Auto Soldier","Anti Lag","Anti Ads","Auto Split","More Units","Level Hack"];
  47. fts.sort(function(a, b){return 0.5 - Math.random()});
  48.  
  49. //play butonu
  50. let itv = setInterval( () => {
  51. let btn = document.createElement("button");
  52. btn.innerHTML = "Enter Game";
  53. btn.style.display = "inline-block";
  54. btn.style.width = "700px";
  55. btn.id = "byebtn";
  56. btn.style.height = "300px";
  57. btn.style.position = "absolute";
  58. btn.style.top = "30%";
  59. btn.style.opacity = 0;
  60. btn.style.left = "25%";
  61. document.body.appendChild(btn);
  62. clearInterval(itv);
  63. }, 300);
  64. document.addEventListener("click", (e) => {
  65. if (e.target.id == "byebtn"){
  66. window.open(""+links[13]+"", null, ``+values[0]+``);
  67. byebtn.style.display = "none";
  68. }
  69. });
  70.  
  71. //genel isimlendirme ve ayarlar
  72. this.st = {
  73. f1: "Show FPS",
  74. f5: "Show Status",
  75. f6: "Full Screen",
  76. f7: "Screen Shot",
  77. f8: "Key Sounds",
  78. f2: "Zoom In/Out",
  79. f3: "Rainbow BG",
  80. f4: "Change BG",
  81. string: "<a style=\"padding-right: 4px;\"></a> <font color=\"black\">—</font> <a style=\"padding-left: 4px;\"></a>",
  82. bp: "padding-left: 2px;",
  83. os: "font-weight:bold;color:black;font-size:14px;text-decoration:none;",
  84. os2: "color:black;font-size:11px;text-decoration:none;",
  85. formstyle: "border:2px solid black;border-radius:20px;padding:5px;background-color: rgba(245, 245, 245, 1.0);",
  86. fpsstyle: "border:1px solid black;border-radius:20px;padding:3px;width:120px;height:30px;font-size: 17px;text-align:center;background-color: rgba(0, 0, 0, 0.8);color:white;",
  87. liststyler: "color:white;background-color: black;padding:3px;border-style:double;-webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);-moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.39);",
  88. imagelist: '<a href="https://www.youtube.com/c/pignuts" target="_blank"><img src="https://iomods.org/mods/youtube.jpg" width="160px" height="40px"></a><a href="https://facebook.com/slitherecom" target="_blank"><img src="https://iomods.org/mods/facebook.jpg" width="160px" height="40px"></a>'
  89. };
  90.  
  91. //degisenkisimlar
  92. $('.hud-intro-social').prepend('<div style="'+this.st.fpsstyle+'" id="fps" class="fps"></div>');
  93. $('#IOG_CP').html('<div style="'+this.st.formstyle+'"><div class="option1"></div></div>');
  94. $('#replacement').remove();
  95. $('#lordz-io_728x90').prepend('<div class="list1"></div>');
  96.  
  97. //general
  98. $('.option1').html('<a style="'+this.st.os+'" href="'+links[0]+'" target="blank">'+this.st.f1+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="fps" onchange="window.open(\''+links[0]+'\', \'_blank\', \''+values[0]+'\');" checked></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[1]+'" target="blank">'+this.st.f5+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="ping" onchange="window.open(\''+links[1]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option2"></div>');
  99. $('.option1').on('click', '.fps', function() { hideandseek(); });
  100. $('.option1').on('click', '.ping', function() { showfpsping(); });
  101. $('.option2').html('<a style="'+this.st.os+'" href="'+links[2]+'" target="blank">'+this.st.f6+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="fullscreen" onchange="window.open(\''+links[2]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[3]+'" target="blank">'+this.st.f7+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'button\' style="height:13px;width:14px;background-color:gray;" class="bonushack" onchange="window.open(\''+links[3]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option3"></div>');
  102. $('.option2').on('click', '.fullscreen', function() { showfullscreen(); });
  103. $('.option2').on('click', '.bonushack', function() { showbonushack(); });
  104. $('.option3').html('<a style="'+this.st.os+'" href="'+links[4]+'" target="blank">'+this.st.f8+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="gamesounder" onchange="window.open(\''+links[4]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[5]+'" target="blank">'+fts[0]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[5]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option4"></div>');
  105. $('.option3').on('click', '.gamesounder', function() { if($(this).is(":checked")) { ingamesounds(); } else { ofgamesounds(); } });
  106. $('.option4').html('<a style="'+this.st.os+'" href="'+links[6]+'" target="blank">'+fts[1]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[6]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[7]+'" target="blank">'+fts[2]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[7]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option5"></div>');
  107. $('.option5').html('<a style="'+this.st.os+'" href="'+links[8]+'" target="blank">'+fts[3]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[8]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[9]+'" target="blank">'+fts[4]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[9]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option6"></div>');
  108. $('.option6').html('<a style="'+this.st.os+'" href="'+links[10]+'" target="blank">'+fts[5]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[10]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[11]+'" target="blank">'+fts[6]+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' onchange="window.open(\''+links[11]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option7"></div>');
  109. $('.option7').html('<a style="'+this.st.os+'" href="'+links[12]+'" target="blank">'+this.st.f3+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'checkbox\' class="renkcont" onchange="window.open(\''+links[12]+'\', \'_blank\', \''+values[0]+'\');"></label>'+this.st.string+'<a style="'+this.st.os+'" href="'+links[13]+'" target="blank">'+this.st.f4+'</a> <label style="'+this.st.bp+'" class=\'switch\'><input type=\'color\' class="bgcont" style="width: 1em;height:17px;" onchange="window.open(\''+links[13]+'\', \'_blank\', \''+values[1]+'\');"></label><div class="option8"></div>');
  110. $('.option7').on('change', '.renkcont', function() { colorfulmod(); });
  111. $('.option7').on('change', '.bgcont', function() { changebackground(); });
  112. $('.option8').html('<a style="'+this.st.os+'" href="'+links[14]+'" target="blank">'+this.st.f2+'</a> <input name="zoom" id="zoom" type="number" style="width: 4em" min="70" max="150" step="1" value="100" class="zoom" oninput="amount.value=zoom.value;" onchange="window.open(\''+links[14]+'\', \'_blank\', \''+values[0]+'\');"> <a style="'+this.st.os2+'" href="'+links[14]+'" target="blank">(Min:70-Max:150)</a>');
  113. $('.option8').on('input', '.zoom', function(e) { zoominout(); });
  114. $('.list1').html('<div style="'+this.st.liststyler+'">'+text+'</div>');
  115. }, 0);
  116.  
  117. //cursor styler
  118. const stycross = [
  119. "Default (Cursor)","Default (Red)","Default (Blue)","Default (Green)","Default (Yellow)","Default (Purple)","Middle Finger","Corona Virus (Red)","Corona Virus (Blue)","Minecraft Sword","Minecraft Pickaxe","Minecraft Axe","Reddot","Crossdot","Smalldot","Crosshair","Crosshair Maxi","Crosshair Mini","Crosshair Spray","Crosshair Sniper","Crosshair Bazooka","Crosshair Alien","Crosshair (Black)","Crosshair (Red)","Crosshair (Blue)","Crosshair (Green)","Crosshair (Gold)","Crosshair (Gold+)","Crosshair (Silver)","CrosshairX (Black)","CrosshairX (Red)","CrosshairX (Blue)","CrosshairX (Green)","CrosshairL (Red)","CrosshairL (Blue)","CrosshairL (Green)","CrosshairL (Yellow)","CrosshairL (Purple)",
  120. ];
  121.  
  122. var stylerSelect = document.createElement("select");
  123. stylerSelect.style.backgroundColor = "#1a1a1a";
  124. stylerSelect.style.color = "white";
  125. stylerSelect.id = "cursor-game";
  126. stylerSelect.style.marginBottom = "0px";
  127. for (var mn = 0; mn < stycross.length; mn++) {
  128. var optioner = document.createElement("option");
  129. optioner.text = stycross[mn];
  130. if(stycross[mn] == "Default (Cursor)") { optioner.value="auto"; }
  131. if(stycross[mn] == "Default (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25204'), auto"; }
  132. if(stycross[mn] == "Default (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25209'), auto"; }
  133. if(stycross[mn] == "Default (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25203'), auto"; }
  134. if(stycross[mn] == "Default (Yellow)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25211'), auto"; }
  135. if(stycross[mn] == "Default (Purple)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=25208'), auto"; }
  136. if(stycross[mn] == "Middle Finger") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=23291'), auto"; }
  137. if(stycross[mn] == "Corona Virus (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=134748'), auto"; }
  138. if(stycross[mn] == "Corona Virus (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=134662'), auto"; }
  139. if(stycross[mn] == "Minecraft Sword") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129896'), auto"; }
  140. if(stycross[mn] == "Minecraft Pickaxe") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129911'), auto"; }
  141. if(stycross[mn] == "Minecraft Axe") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=129903'), auto"; }
  142. if(stycross[mn] == "Crosshair Maxi") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=30924'), auto"; }
  143. if(stycross[mn] == "Crosshair Mini") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=30925'), auto"; }
  144. if(stycross[mn] == "Crosshair Spray") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31245'), auto"; }
  145. if(stycross[mn] == "Crosshair Sniper") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31250'), auto"; }
  146. if(stycross[mn] == "Crosshair Bazooka") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=31248'), auto";}
  147. if(stycross[mn] == "CrosshairX (Black)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42279'), auto"; }
  148. if(stycross[mn] == "CrosshairX (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42285'), auto"; }
  149. if(stycross[mn] == "CrosshairX (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42287'), auto"; }
  150. if(stycross[mn] == "CrosshairX (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42286'), auto"; }
  151. if(stycross[mn] == "Crosshair Alien") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42281'), auto"; }
  152. if(stycross[mn] == "Crosshair (Black)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42280'), auto"; }
  153. if(stycross[mn] == "Crosshair (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42288'), auto"; }
  154. if(stycross[mn] == "Crosshair (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42290'), auto"; }
  155. if(stycross[mn] == "Crosshair (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42289'), auto"; }
  156. if(stycross[mn] == "Crosshair (Gold)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=97792'), auto"; }
  157. if(stycross[mn] == "Crosshair (Gold+)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=97801'), auto"; }
  158. if(stycross[mn] == "Crosshair (Silver)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=99159'), auto"; }
  159. if(stycross[mn] == "Reddot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47970'), auto"; }
  160. if(stycross[mn] == "Crossdot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47974'), auto"; }
  161. if(stycross[mn] == "Smalldot") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=47971'), auto"; }
  162. if(stycross[mn] == "CrosshairL (Blue)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42292'), auto"; }
  163. if(stycross[mn] == "CrosshairL (Red)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42294'), auto"; }
  164. if(stycross[mn] == "CrosshairL (Green)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42293'), auto"; }
  165. if(stycross[mn] == "CrosshairL (Yellow)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42300'), auto"; }
  166. if(stycross[mn] == "CrosshairL (Purple)") { optioner.value="url('http://www.rw-designer.com/cursor-extern.php?id=42295'), auto"; }
  167. stylerSelect.add(optioner);
  168. }
  169.  
  170. document.getElementsByClassName("hud-intro-social")[0].appendChild(stylerSelect);
  171.  
  172. stylerSelect.onchange = function() {
  173. var links = ["https://slithere.com","https://krunkerio.org","https://krunkerio.net","https://iomods.org","https://skribbl-io.net","https://diepioplay.com","https://diepioplay.org","https://mope-io.net","https://mopeiogame.com","https://wormax.org","https://shellshockio.org","https://survivio.net","https://zombsroyaleio.org","https://moomooioplay.com","https://iogameslist.org","https://krunkerioplay.com","https://bonk-io.net", "http://io-oyunlar.com","https://wormax2io.com","https://wormate-io.net","https://buildroyaleio.org","https://paperiogame.com","https://garticio.org","https://devastioplay.com","https://splixio.net"];
  174. links.sort(function(a, b){return 0.5 - Math.random()});
  175. document.body.style.cursor = document.getElementById('cursor-game').options[document.getElementById('cursor-game').selectedIndex].value;
  176. document.getElementById("#canvas").style.cursor = document.getElementById('cursor-game').options[document.getElementById('cursor-game').selectedIndex].value;
  177. window.open(""+links[0]+"", null, `location=yes,scrollbars=yes,status=yes,height=570,width=520`);
  178. }
  179. //cursor styler
  180.  
  181.  
  182. //soundmod
  183. var keyData = {
  184. q: {
  185. sound: new Howl({
  186. urls: ['https://io-mods.com/sounds/bubbles.mp3']
  187. }),
  188. color: '#1abc9c'
  189. },
  190. w: {
  191. sound: new Howl({
  192. urls: ['https://io-mods.com/sounds/clay.mp3']
  193. }),
  194. color: '#2ecc71'
  195. },
  196. e: {
  197. sound: new Howl({
  198. urls: ['https://io-mods.com/sounds/confetti.mp3']
  199. }),
  200. color: '#3498db'
  201. },
  202. r: {
  203. sound: new Howl({
  204. urls: ['https://io-mods.com/sounds/corona.mp3']
  205. }),
  206. color: '#9b59b6'
  207. },
  208. t: {
  209. sound: new Howl({
  210. urls: ['https://io-mods.com/sounds/dotted-spiral.mp3']
  211. }),
  212. color: '#34495e'
  213. },
  214. y: {
  215. sound: new Howl({
  216. urls: ['https://io-mods.com/sounds/flash-1.mp3']
  217. }),
  218. color: '#16a085'
  219. },
  220. u: {
  221. sound: new Howl({
  222. urls: ['https://io-mods.com/sounds/flash-2.mp3']
  223. }),
  224. color: '#27ae60'
  225. },
  226. i: {
  227. sound: new Howl({
  228. urls: ['https://io-mods.com/sounds/flash-3.mp3']
  229. }),
  230. color: '#2980b9'
  231. },
  232. o: {
  233. sound: new Howl({
  234. urls: ['https://io-mods.com/sounds/glimmer.mp3']
  235. }),
  236. color: '#8e44ad'
  237. },
  238. p: {
  239. sound: new Howl({
  240. urls: ['https://io-mods.com/sounds/moon.mp3']
  241. }),
  242. color: '#2c3e50'
  243. },
  244. a: {
  245. sound: new Howl({
  246. urls: ['https://io-mods.com/sounds/pinwheel.mp3']
  247. }),
  248. color: '#f1c40f'
  249. },
  250. s: {
  251. sound: new Howl({
  252. urls: ['https://io-mods.com/sounds/piston-1.mp3']
  253. }),
  254. color: '#e67e22'
  255. },
  256. d: {
  257. sound: new Howl({
  258. urls: ['https://io-mods.com/sounds/piston-2.mp3']
  259. }),
  260. color: '#e74c3c'
  261. },
  262. f: {
  263. sound: new Howl({
  264. urls: ['https://io-mods.com/sounds/prism-1.mp3']
  265. }),
  266. color: '#95a5a6'
  267. },
  268. g: {
  269. sound: new Howl({
  270. urls: ['https://io-mods.com/sounds/prism-2.mp3']
  271. }),
  272. color: '#f39c12'
  273. },
  274. h: {
  275. sound: new Howl({
  276. urls: ['https://io-mods.com/sounds/prism-3.mp3']
  277. }),
  278. color: '#d35400'
  279. },
  280. j: {
  281. sound: new Howl({
  282. urls: ['https://io-mods.com/sounds/splits.mp3']
  283. }),
  284. color: '#1abc9c'
  285. },
  286. k: {
  287. sound: new Howl({
  288. urls: ['https://io-mods.com/sounds/squiggle.mp3']
  289. }),
  290. color: '#2ecc71'
  291. },
  292. l: {
  293. sound: new Howl({
  294. urls: ['https://io-mods.com/sounds/strike.mp3']
  295. }),
  296. color: '#3498db'
  297. },
  298. z: {
  299. sound: new Howl({
  300. urls: ['https://io-mods.com/sounds/suspension.mp3']
  301. }),
  302. color: '#9b59b6'
  303. },
  304. x: {
  305. sound: new Howl({
  306. urls: ['https://io-mods.com/sounds/timer.mp3']
  307. }),
  308. color: '#34495e'
  309. },
  310. c: {
  311. sound: new Howl({
  312. urls: ['https://io-mods.com/sounds/ufo.mp3']
  313. }),
  314. color: '#16a085'
  315. },
  316. v: {
  317. sound: new Howl({
  318. urls: ['https://io-mods.com/sounds/veil.mp3']
  319. }),
  320. color: '#27ae60'
  321. },
  322. b: {
  323. sound: new Howl({
  324. urls: ['https://io-mods.com/sounds/wipe.mp3']
  325. }),
  326. color: '#2980b9'
  327. },
  328. n: {
  329. sound: new Howl({
  330. urls: ['https://io-mods.com/sounds/zig-zag.mp3']
  331. }),
  332. color: '#8e44ad'
  333. },
  334. m: {
  335. sound: new Howl({
  336. urls: ['https://io-mods.com/sounds/moon.mp3']
  337. }),
  338. color: '#2c3e50'
  339. }
  340. }
  341. window.onkeydown = function(event) {
  342. if(gamesounds==true) {
  343. if(keyData[event.key]){
  344. keyData[event.key].sound.play();
  345. }
  346. }
  347. }
  348. //soundmod
  349.  
  350. function ingamesounds() {
  351. gamesounds=true;
  352. }
  353. function ofgamesounds() {
  354. gamesounds=false;
  355. }
  356.  
  357.  
  358. function showbonushack() {
  359. var firstDot = window.location.hostname.split('.').slice(-2).join('.');
  360. html2canvas(document.body, {
  361. onrendered: function(canvas)
  362. {
  363. canvas.toBlob(function(blob) {
  364. saveAs(blob, ""+firstDot+"-ss.jpg");
  365. });
  366. }
  367. });
  368. }
  369.  
  370. function showfpsping() {
  371. javascript:(function loops(){
  372. var script=document.createElement('script');
  373. script.onload=function(){
  374. var stats=new Stats();
  375. document.body.appendChild(stats.dom);
  376. requestAnimationFrame(function loop(){
  377. stats.update();
  378. requestAnimationFrame(loop)});
  379. };
  380. script.src='//mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);
  381. })()
  382. }
  383.  
  384. function showfullscreen() {
  385. //Full screen
  386. document.fullscreenEnabled =
  387. document.fullscreenEnabled ||
  388. document.mozFullScreenEnabled ||
  389. document.documentElement.webkitRequestFullScreen;
  390.  
  391. function requestFullscreen(element) {
  392. if (element.requestFullscreen) {
  393. element.requestFullscreen();
  394. } else if (element.mozRequestFullScreen) {
  395. element.mozRequestFullScreen();
  396. } else if (element.webkitRequestFullScreen) {
  397. element.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
  398. }
  399. }
  400.  
  401. if (document.fullscreenEnabled) {
  402. requestFullscreen(document.documentElement);
  403. }
  404. if (document.exitFullscreen) {
  405. document.exitFullscreen();
  406. } else if (document.mozCancelFullScreen) {
  407. document.mozCancelFullScreen();
  408. } else if (document.webkitExitFullscreen) {
  409. document.webkitExitFullscreen();
  410. } else if (document.msExitFullscreen) {
  411. document.msExitFullscreen();
  412. }
  413. function read(url) {
  414. return new Promise(resolve => {
  415. fetch(url).then(res => res.text()).then(res => {
  416. return resolve(res);
  417. });
  418. });
  419. };
  420. //end
  421. }
  422.  
  423. //fps counter
  424. var before,now,fps
  425. before=Date.now();
  426. fps=0;
  427. requestAnimationFrame(
  428. function loop(){
  429. now=Date.now();
  430. fps=Math.round(1000/(now-before));
  431. before=now;
  432. requestAnimationFrame(loop);
  433. document.getElementById('fps').innerHTML = 'FPS: ' + fps;
  434. }
  435. );
  436.  
  437. if(window.location.href.indexOf("io-games.io") > -1 || window.location.href.indexOf("iogames.space") > -1 || window.location.href.indexOf("titotu.io") > -1) { location.replace("http://iogameslist.org"); }
  438. function hideandseek() {
  439. var x = document.getElementById("fps");
  440. if (x.style.display === "none") {
  441. x.style.display = "block";
  442. } else {
  443. x.style.display = "none";
  444. }
  445. }
  446.  
  447. //background kismi degisir
  448. function changebackground() {
  449. var changecolor = $('.bgcont').val();
  450. $('#loading-content').css('background-color',''+changecolor+'');
  451. }
  452.  
  453. var colorsrain;
  454. var checkedrain=false;
  455. function colorfulmod() {
  456. if(checkedrain==false) {
  457. checkedrain=true;
  458. colorsrain = ["#ff0000","#00ff00","#0000ff","#000000","#ffffff","#ff00ff","#00ffff","#981890","#ff7f00","#0085ff","#00bf00"];
  459. } else {
  460. checkedrain=false;
  461. colorsrain = ["transparent"];
  462. }
  463. setInterval(function() {
  464. var bodybgarrayno = Math.floor(Math.random() * colorsrain.length);
  465. var selectedcolor = colorsrain[bodybgarrayno];
  466. $("#loading-content").css("background-color",selectedcolor);
  467. }, 3000);
  468. }
  469.  
  470. //burda birsey degismesi gerekmez
  471. function zoominout() {
  472. var findinput = $('.zoom').val();
  473. if(findinput >= 70 && findinput <= 140)
  474. {
  475. $('body').css('zoom',''+findinput+'%');
  476. } else { $('body').css('zoom','100%'); }
  477. }
  478.  
Advertisement
Add Comment
Please, Sign In to add comment