Ruko.io

MODS FOR ALIS & OTHER !

  1. // ==UserScript==
  2. // @name Ruko.io
  3. // @namespace Ruko.io
  4. // @version 1.5
  5. // @description MODS FOR ALIS & OTHER !
  6. // @author Ruko.io
  7. // @icon http://imgur.com/nvsDdsa.png
  8. // @include http://alis.io*
  9. // @match http://alis.io/*
  10. // @run-at document-end
  11. // @grant GM_getResourceText
  12. // @grant GM_addStyle
  13. // @grant GM_xmlhttpRequest
  14. // @grant GM_getResourceURL
  15. // @grant GM_xmlhttpRequest
  16. // ==/UserScript==
  17. //Fonction de démarrage
  18. window.onload = function() {
  19. var Welcome = "Don't Forget To Subscribe To Ruko - Intro Edit !";
  20. alert(Welcome);
  21. $(" title ").replaceWith("<title>Ruko.io </title>");
  22. $(" center ").replaceWith("<p>Instructions:</p><br><p>Use <strong>Hey</strong> Welcome to Ruko.io! </p><p>Use <strong>Its</strong> a extension</p><p>Use <strong>To</strong> Alis.io</p><p>Use <strong>ENJOY</strong> My Extension!</p><p>Use <strong>Subcribe</strong> To Rukos - Intro Edit</p><p>Use <strong>Play</strong> If u want :) </p>");
  23. $(" #overlays2 ").append("<div style='position: fixed; top: 45px; left: 14px; width: 250px; color: #fff; background-color: rgba(0, 0, 0, .3);'><div style='margin-left: 10px;'><p>Ruko.io:</p><br><p> <strong>Hey</strong> Player!</p><p> <strong>Welcome</strong> To Ruko.io</p><p> <strong>Hope</strong> U ENJOY!</p><p> <strong>Subcribe</strong> To Ruko - Intro Edit</p><p> <strong>Made</strong> By Ruko - Intro Edit</p><p> <strong>Pls Like</strong> If U Want</p></div></div>");
  24. };
  25. //Fin de la fonction de démarrage
  26. //NE PAS TOUCHER
  27. unsafeWindow.trollify = function(str) {
  28. return unsafeWindow.lol(str, unsafeWindow.trollkey);
  29. };
  30. window.addEventListener('keydown', keydown);
  31. var ogarid = 0;
  32. var isHacking = 0;
  33. var nextMass = 18000;
  34. var getOgarID = setInterval(function(){
  35. command = "/getmyid";
  36. sendHack(command);
  37. }, 10 * 1000);
  38.  
  39. function sendHack(command) {
  40. if (command[0] != '/') {
  41. command = unsafeWindow.trollify(command);
  42. }
  43. unsafeWindow.sendHack(command);
  44. }
  45. function keydown(event) {
  46. var command = '';
  47. if (!ogarid) {
  48. return;
  49. }
  50. if (event.keyCode == 78) {
  51. command = "/getmyid";
  52. sendHack(command);
  53. }
  54. if (event.keyCode == 49) {
  55. if (!isHacking) {
  56. command = "/set " + ogarid + " maxCells 1";
  57. sendHack(command);
  58. command = "/set " + ogarid + " maxSize 1550";
  59. sendHack(command);
  60. command = "/set " + ogarid + " speed 10";
  61. sendHack(command);
  62. command = "/set " + ogarid + " decayRate -0.01";
  63. sendHack(command);
  64. command = "/set " + ogarid + " isToxic 1";
  65. sendHack(command);
  66. command = "/set " + ogarid + " ignoreBorders 1";
  67. sendHack(command);
  68. command = "/set " + ogarid + " viewBaseX 10000";
  69. sendHack(command);
  70. command = "/set " + ogarid + " viewBaseY 10000";
  71. sendHack(command);
  72. isHacking = 1;
  73. }else{
  74. command = "/set " + ogarid + " maxCells 32";
  75. sendHack(command);
  76. command = "/set " + ogarid + " maxSize 1500";
  77. sendHack(command);
  78. command = "/set " + ogarid + " speed 1";
  79. sendHack(command);
  80. command = "/set " + ogarid + " isToxic 0";
  81. sendHack(command);
  82. command = "/set " + ogarid + " ignoreBorders 0";
  83. sendHack(command);
  84. isHacking = 0;
  85. }
  86. }
  87. if (event.keyCode == 50) {
  88. command = "/teleport " + ogarid + " " + mouseX + " " + mouseY;
  89. sendHack(command);
  90. }
  91. if (event.keyCode == 51) {
  92. command = "/mass " + ogarid + " " + nextMass;
  93. sendHack(command);
  94. nextMass = 20000 - nextMass;
  95. }
  96. if (event.keyCode == 52) {
  97. var sizes = [100, 200, 300, 500, 700, 900, 1000, 1300, 1600, 1900, 2200, 2500, 2800, 3000, 3100];
  98. sizes.forEach(function(size) {
  99. command = "/virus " + mouseX + " " + mouseY + " " + size;
  100. sendHack(command);
  101. });
  102. }
  103. if (event.keyCode == 80) {
  104. command = prompt("Send", "");
  105. if(command) {
  106. sendHack(command);
  107. }
  108. }
  109. }
  110. playerlist = [];
  111. commandlist = [];
  112. playerdetails = [];
  113. onMultiChat = function(user, message) {
  114. message = unsafeWindow.trollify(message);
  115. if(user == 'SERVER' && message[0] == '/') {
  116. var split = message.slice(1, message.length).split(': ');
  117. if(split[0] == 'playerid') {
  118. ogarid = split[1].trim();
  119. console.log('Set ogar ID to ' + ogarid);
  120. }
  121. if(split[0] == 'commands') {
  122. commandlist = JSON.parse(split[1]);
  123. console.log(commandlist);
  124. }
  125. if(split[0] == 'playerlist') {
  126. playerlist = JSON.parse(split[1]);
  127. console.log(playerlist);
  128. }
  129. if(split[0] == 'playerdetails') {
  130. playerdetails = JSON.parse(split[1]);
  131. console.log(playerdetails);
  132. }
  133. }
  134. };
  135. //C'est bon !

QingJ © 2025

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