MooMoo.io js Autoheal

MooMoo.io js autoheal from Nuro but edited

  1. // ==UserScript==
  2. // @name MooMoo.io js Autoheal
  3. // @namespace -
  4. // @version 1.1
  5. // @description MooMoo.io js autoheal from Nuro but edited
  6. // @author Nuro
  7. // @match *://*.moomoo.io/*
  8. // @require https://gf.qytechs.cn/scripts/456235-moomoo-js/code/MooMoojs.js?version=1144738
  9. // @run-at document-end
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. const MooMoo = (function MooMooJS_beta() {})[69]
  14.  
  15. MooMoo.addEventListener("updatehealth", (data) => {
  16. let sid = data[0]
  17. let health = data[1]
  18.  
  19. if (MooMoo.myPlayer.sid === sid && health < 100) {
  20.  
  21. let food = MooMoo.myPlayer.inventory.food;
  22.  
  23. if(health < 100 && health > 79) {
  24. setTimeout(() => {
  25. MooMoo.myPlayer.place(food)
  26. }, 90);
  27. } else if(health < 80 && health > 59) {
  28. storeEquip(6)
  29. setTimeout(() => {
  30. MooMoo.myPlayer.place(food)
  31. MooMoo.myPlayer.place(food)
  32. }, 90);
  33. } else if(health < 60 && health > 39) {
  34. storeEquip(7)
  35. MooMoo.myPlayer.place(food)
  36. MooMoo.myPlayer.place(food)
  37. } else if(health < 40 && health > 0) {
  38. storeEquip(7)
  39. MooMoo.myPlayer.place(food)
  40. MooMoo.myPlayer.place(food)
  41. MooMoo.myPlayer.place(food)
  42. }
  43. }
  44. })

QingJ © 2025

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