HTML Clicker Template
[deleted]
A Simple Clicker Template
I dont know how to make money come per second
Edit:
Shop;
+1 Clicks - Cost 10 Clicks
+10 Clicks - Cost 30 Clicks
+50 Clicks - Cost 100 Clicks
+100 Clicks - Cost 500 Clicks
You can add more
:D
Voters
InvisibleOne
If you want to give them clicks per second, do something like this:
var clicksPerSecond = 1; setInterval(function() { totalClicks += clicksPerSecond; }, 1000);
[deleted]
it'll keep [email protected]
if it does, how to add a time wait?
[deleted]
It works, thanks!
@InvisibleOneInvisibleOne
The interval is built into that, I have it set as 1000 (one second) but you can change that number to whatever you like, and it will carry out the function that often.
@Nixify[deleted]
Ok thanks!
@InvisibleOne
javascript:var DELAY = 0.5;var autoClickerStyleElement = document.createElement("style");autoClickerStyleElement.innerHTML="*{cursor: crosshair !important;}";document.body.appendChild(autoClickerStyleElement);function addClicker(e) {if(!e.isTrusted) {return;}if(e.target.classList.contains("auto-clicker-target")) {e.target.classList.remove("auto-clicker-target");} else {e.target.classList.add("auto-clicker-target");}document.body.removeChild(autoClickerStyleElement);document.body.removeEventListener("click", addClicker);e.preventDefault();autoClick(e.target);}function autoClick(element) {if(element.classList.contains("auto-clicker-target")) {element.click();setTimeout(function(){ autoClick(element); }, DELAY);}}document.body.addEventListener("click", addClicker, 0);