Tundra Example Userscript

Example userscript for Tundra

  1. // ==UserScript==
  2. // @name Tundra Example Userscript
  3. // @version 1
  4. // @description Example userscript for Tundra
  5. // @author Goodra
  6. // @match http://*.moomoo.io/*
  7. // @match https://*.moomoo.io/*
  8. // @grant none
  9. // @namespace https://gf.qytechs.cn/users/216897
  10. // ==/UserScript==
  11.  
  12. //TO RUN THIS SCRIPT YOU MUST HAVE TUNDRA INSTALLED
  13. //YOU CAN GET TUNDRA FROM https://discord.gg/NdQzvtE
  14.  
  15. (function() {
  16. 'use strict';
  17. setTimeout(function(){
  18. console.log('Tundra example loaded');
  19. window.mods.aHeal.timer = 150;
  20. window.setMods('aHeal', window.mods.aHeal.on); /*No way to just save timer so I save something else to save timer*/
  21. setInterval(function(){window.send('ch', 'Cool chat example');}, 1000);/* sending chats*/
  22. function place(id, rot){
  23. window.send('5', id, null);
  24. window.send('c', 1, rot);
  25. window.send('c', 0, rot);
  26. }
  27. document.addEventListener('keydown', function(e){
  28. if(document.activeElement.id.toLowerCase() == 'chatbox')return;
  29. switch (e.keyCode) {
  30. case 86: place(window.items[2], 0); place(window.items[2], 1.55); place(window.items[2], 3.1); place(window.items[2], -1.55);break;/*click v = quad spike*/
  31. }
  32. })}, 1000);//Use setTimeout so it injects after all the window varables have been loaded
  33. })();

QingJ © 2025

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