Evoworld.io ViewMod

Evoworld.io cheat

目前為 2024-05-26 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Evoworld.io ViewMod
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Evoworld.io cheat
  6. // @author You
  7. // @license MIT
  8. // @match https://evoworld.io/
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=evoworld.io
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. let overlayHTML = `
  15. <div id="cheat">
  16. <br><div class="button2" onclick="game.me.getAllPositions = function() { return {
  17. 'x': this['position']['x'],
  18. 'y': this['position']['y'],
  19. 'center': {
  20. 'x': this['position']['x'] + this['width'] ,
  21. 'y': this['position']['y'] + this['height']
  22. },
  23. 'right': this['position']['x'] + this['width'],
  24. 'left': this['position']['x'],
  25. 'top': this['position']['y'] + this['height'],
  26. 'bottom': this['position']['y']
  27. };}">Normal view</div>
  28. <div class="button2" onclick="game.me.getAllPositions = function() { return {
  29. 'x': this['position']['x'],
  30. 'y': this['position']['y'],
  31. 'center': {
  32. 'x': this['position']['x'] + this['width'] + 200 ,
  33. 'y': this['position']['y'] + this['height']
  34. },
  35. 'right': this['position']['x'] + this['width'],
  36. 'left': this['position']['x'],
  37. 'top': this['position']['y'] + this['height'],
  38. 'bottom': this['position']['y']
  39. };}">Right view</div>
  40. <div class="button2" onclick="game.me.getAllPositions = function() { return {
  41. 'x': this['position']['x'],
  42. 'y': this['position']['y'],
  43. 'center': {
  44. 'x': this['position']['x'] + this['width'] - 200 ,
  45. 'y': this['position']['y'] + this['height']
  46. },
  47. 'right': this['position']['x'] + this['width'],
  48. 'left': this['position']['x'],
  49. 'top': this['position']['y'] + this['height'],
  50. 'bottom': this['position']['y']
  51. };}">Left view</div>
  52. <div class="button2" onclick="game.me.getAllPositions = function() { return {
  53. 'x': this['position']['x'],
  54. 'y': this['position']['y'],
  55. 'center': {
  56. 'x': this['position']['x'] + this['width'] ,
  57. 'y': this['position']['y'] + this['height'] - 200
  58. },
  59. 'right': this['position']['x'] + this['width'],
  60. 'left': this['position']['x'],
  61. 'top': this['position']['y'] + this['height'],
  62. 'bottom': this['position']['y']
  63. };}">Bottom view</div>
  64. <div class="button2" onclick="game.me.getAllPositions = function() { return {
  65. 'x': this['position']['x'],
  66. 'y': this['position']['y'],
  67. 'center': {
  68. 'x': this['position']['x'] + this['width'] ,
  69. 'y': this['position']['y'] + this['height'] + 200
  70. },
  71. 'right': this['position']['x'] + this['width'],
  72. 'left': this['position']['x'],
  73. 'top': this['position']['y'] + this['height'],
  74. 'bottom': this['position']['y']
  75. };}">Top view</div>
  76. </div>
  77.  
  78. <style>
  79. #cheat {
  80. z-index: 10;
  81. position: absolute;
  82. top: 320px;
  83. left: 7px;
  84. transition: 0.5s;
  85. }
  86. .button2 {
  87. width: 85px;
  88. background-color: white;
  89. border:2px solid black;
  90. }
  91.  
  92. </style>
  93. `
  94. function get(x){ return document.getElementById(x); };
  95.  
  96. let overlay = document.createElement("div");
  97. overlay.innerHTML = overlayHTML;
  98. document.body.appendChild(overlay);
  99. document.body.appendChild(overlay);
  100. let acc = get("accordian"),box = get ("cheat");box.style.opacity = "1"
  101. document.addEventListener('keydown', (event) => {if (event.keyCode == 89) {
  102. let opac = box.style.opacity; if(opac == 1) {
  103. box.style.opacity = "0";}else {box.style.opacity = "1"}}})
  104. alert('Open/close ViewMod on y/insert')
  105. }
  106. )();

QingJ © 2025

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