Guest User

Untitled

a guest
Feb 17th, 2020
1,482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. Hack/Script/Code Slither.io
  2.  
  3. The script:
  4. // ==UserScript==
  5. // @name !BOTS!
  6. // @namespace !BOTS!
  7. // @version 1.0
  8. // @description Bots!
  9. // @author SrNicolas
  10. // @match *://slither.io/*
  11. // @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js
  12. // @require https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5/socket.io.min.js
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. var vps = 0;
  17.  
  18. var updatespeed = 100;
  19.  
  20. var bname = "xxx";
  21.  
  22. $('iframe :first').hide();
  23.  
  24. $("canvas:eq(3)").after("<div style='height: 150px; background-color: #000000; opacity: 0.8; filter: alpha(opacity=40); zoom: 1; width: 205px; top: 1%; left: 1%; display: block; position: fixed; text-align: center; font-size: 15px; color: #ffffff; padding: 5px; font-family: Ubuntu; border: 0.5px solid #ffffff; border-radius: 5px; box-shadow: 0px 0px 5px 5px #ff0000;'> <div style='color:#ffffff; display: inline; -moz-opacity:1; -khtml-opacity: 1; opacity:1; filter:alpha(opacity=100); padding: 10px;'><a>Bots</a></div> <div style='color:#ffffff; display: inline; opacity:0.8; filter:alpha(opacity=100); padding: 10px;' position: fixed;><br>Bot Status: <a id='count' > Off </a> </div> <div style='color:#ffffff; display: inline; -moz-opacity:1; -khtml-opacity: 1; opacity:1; filter:alpha(opacity=100); padding: 10px;'><br><a></a> Move To Head: <a id='moveh' >On</a> </div> <div style='color:#ffffff; display: inline; -moz-opacity:1; -khtml-opacity: 1; opacity:1; filter:alpha(opacity=100); padding: 10px;'><br><a>X</a> - Snake Speed[X]: <a id='isspeed' >Off</a> <br><button id='start' style='width: 150px; height: 25px; background:#ff3333; border: 0px; border-radius: 5px;'>OFF</button><br>MODE: <font color='#00ff00'><a id='mode' ></a></font></div> ");
  25.  
  26.  
  27.  
  28. if (vps == 1) {
  29. var socket = io.connect('ws://xxxxxxxxxx');
  30. $("#mode").text('VPS')
  31. }
  32. else {
  33. var socket = io.connect('ws://127.0.0.1:7777');
  34. $("#mode").text('LOCAL')
  35. }
  36.  
  37. document.body.onmousewheel = zoom;
  38.  
  39. function zoom(e) {
  40.  
  41. gsc *= Math.pow(0.9, e.wheelDelta / -120 || e.detail || 0);
  42.  
  43. }
  44.  
  45. setInterval(function() {
  46.  
  47. if (window["snake"] !== undefined) {
  48.  
  49. var x = snake.xx;
  50. var y = snake.yy;
  51.  
  52. socket.emit('pos', x, y);
  53.  
  54. }
  55.  
  56.  
  57. }, updatespeed);
  58.  
  59. window.onkeydown = function(e) {
  60.  
  61. if (e.keyCode === 88) {
  62. socket.emit('cmd', 1);
  63. $('#isspeed').text('On');
  64. }
  65. }
  66.  
  67. window.onkeyup = function(e) {
  68.  
  69. if (e.keyCode === 88) {
  70. socket.emit('cmd', 0);
  71. $('#isspeed').text('Off');
  72. }
  73. }
  74.  
  75.  
  76.  
  77. socket.on('bcount', function(data) {
  78.  
  79. $('#count').text(data);
  80.  
  81. });
  82.  
  83.  
  84. var st_click = 0;
  85.  
  86. $("#start").click(function() {
  87. if (st_click == 0) {
  88. st_click = 1;
  89.  
  90. $("#start").css('background', '#4dff4d');
  91. $("#start").text('On');
  92.  
  93. if (window["bso"] !== undefined) {
  94. var ip = "" + bso.ip + ":" + bso.po;
  95.  
  96. socket.emit('server', ip);
  97.  
  98. } else {
  99. console.log('Try refresh page : /');
  100. }
  101. } else {
  102. st_click = 0;
  103.  
  104. $("#start").css('background', '#ff3333');
  105. $("#start").text('OFf');
  106. }
  107.  
  108. });
  109.  
  110.  
  111. socket.emit('bname', bname);
  112.  
  113. The code:
  114. 0295-1038-1704
  115. 0465-2156-5071
  116. 0150-6765-3242
  117. 0351-6343-0591
  118. 0368-9044-0388
  119. 0139-6516-0269
  120. 0334-1842-7574
  121. 0068-5256-3709
  122. 0309-9703-3794
  123.  
  124. Thanks for read :)
Advertisement
Add Comment
Please, Sign In to add comment