Skip to content
← Back to Community
HTML Clicker Template
Profile icon
[deleted]

A Simple Clicker Template

I dont know how to make money come per second
Edit: @InvisibleOne Helped Me :D

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
Profile icon
xfinnbar
Comments
hotnewtop
Profile icon
btfuss

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);

Profile icon
InvisibleOne

If you want to give them clicks per second, do something like this:

var clicksPerSecond = 1; setInterval(function() { totalClicks += clicksPerSecond; }, 1000);
Profile icon
[deleted]

it'll keep [email protected]
if it does, how to add a time wait?

Profile icon
[deleted]

It works, thanks! @InvisibleOne

Profile icon
InvisibleOne

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

Profile icon
[deleted]

Ok thanks! @InvisibleOne