Help with clicker game

Help im making a clicker game and im trying to add an autoclicker. I want the score to go up by one every second, and more upgrades gives you more autoclickers, making the score go up by more every second. Im using version 1.19.3 if that helps…

you can have a variable which is clicks per second
every second you just add it to the score

yea but how do i make it add every second

your project has a framerate (you can also change it in settings)
You also have a on update event that fires every time your frame is loaded
If you have a fps of 20 (20 frames in a second) you can check if update event has been called 20 times (using a counter) and increase your score

Example code, put this in Update:
project.counter += project.autoclicker
if(project.counter >= project.framerate) {
project.score += 1
}
project.autoclicker is the number of autoclickers you have.

you also have to reset your counter or it would work only once

Oh yeah, that too.