Sunday 26 April 2020

Auto Clicker for games

const r = require("robotjs"); const ioHook = require('iohook'); const state = { working: false, } ioHook.on("keyup",function(keyPress){ // numpad 1 if (keyPress.keycode === 79) { state.working = true } // numpad 2 if (keyPress.keycode === 80) { state.working = false } }); ioHook.start(); setInterval(() => { if (state.working) r.mouseClick('right')}, 500) simple and works alrightly.run after installing robotojs and iohook :D

Submitted April 26, 2020 at 09:18PM by fistyit

No comments:

Post a Comment