Skip to content
Sign upLog in
← Back to Community

How to make a auto clicker 2.0

Profile icon
RyanCheung1

the last tutorial i made wasn't that good at explaining, so this is the real tutorial.
so using html, we make a button onclick

Screenshot 2020-11-20 at 3.24.48 PM

in the(click to buy auto clicker!)is the text that show up on the button and the autoClicker(); is a var.

now moving on to java script
so first you need to make a var for auto clicker which is autoBuyable, like the one in the pic.

Screenshot 2020-11-20 at 3.00.29 PM

Screenshot 2020-11-20 at 3.17.04 PM

then you make function auto clicker

Screenshot 2020-11-20 at 2.50.38 PM

as you see in the pic you then write if (money >= 5000)which is the price of the auto clicker(you can modify it yourself) then you do autoBuyable. then you make it true which is something i am going to explain later, so you make it true. then if you want to add a pic, do document.getElementById('autoImg')auto img is the var i made for my code of course you can change any var if you want.
PLEASE UPVOTE THIS TUTORIAL IF IT HELPS
PS PLEASE CHECK THE CODE I MADE WHICH IS A MONEY CLICKER GAME AND ALL OF THIS IS IN HTML AND JAVA SCRIPT NO CSS

sorry if the photos are bad

Voters
Profile icon
JasonVargas1
Profile icon
RyanCheung1
Comments
hotnewtop
Profile icon
RohilPatel

try using markdown...itll really help this tutorial!

Profile icon
RyanCheung1

thanks i will [email protected]

Profile icon
RohilPatel

Ok

@RyanCheung1