NitroMath Bot

Automate interactions on NitroMath, this bot does not allow accuracy settings and will play for hours on end without stopping. Also, will run in the background if needed. --NOTE-- If you get banned, we are not responsible. It should be undetectable. Do not use on your main account!

  1. // ==UserScript==
  2. // @name NitroMath Bot
  3. // @namespace https://singdev.wixsite.com/sing-developments
  4. // @version 0.6
  5. // @description Automate interactions on NitroMath, this bot does not allow accuracy settings and will play for hours on end without stopping. Also, will run in the background if needed. --NOTE-- If you get banned, we are not responsible. It should be undetectable. Do not use on your main account!
  6. // @match https://www.nitromath.com/play
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. (function () {
  11. 'use strict';
  12.  
  13. function getNumber(min, max) {
  14. return Math.floor(Math.random() * (max - min + 1)) + min;
  15. }
  16.  
  17. function solvemath() {
  18. const body = document.body;
  19. const offsetX = getNumber(0, body.offsetWidth);
  20. const offsetY = getNumber(0, body.offsetHeight);
  21.  
  22. const event = new MouseEvent('mousemove', {
  23. bubbles: true,
  24. clientX: offsetX,
  25. clientY: offsetY,
  26. });
  27.  
  28. body.dispatchEvent(event);
  29. }
  30.  
  31. function reloadPage() {
  32. location.reload();
  33. }
  34.  
  35.  
  36. setInterval(solvemath, 1000);
  37. })();