// you made this wayy to complicated and very prone to logic errors not sure how much progress you made since then but i simplified it and... i may or may not have taken the liberty of an autoclicker
prompt("welcome to the prerelease to click game update 1.1 this adds money (not yet finnished with the function yet but its there) a secret button im not going to tell you where hope you enjoy this update. :)")
var pname = prompt("Name please");
var sprite = createSprite(57, 40);
sprite.setAnimation("newmode1");
var clicks = 0;
var money = 0;
var threshold = 10;
text(clicks, 200, 200);
background("aqua");
setInterval(function () {
clicks++;
playSound("Mouse-Click-00-c-FesliyanStudios.com.mp3");
}, 33)
var sprite = createSprite(200, 200);
sprite.setAnimation("background");
textSize(20);
textAlign(CENTER);
function draw() {
if (mouseWentDown("leftButton")) {
clicks++;
playSound("Mouse-Click-00-c-FesliyanStudios.com.mp3");
}
if(clicks >= threshold){
money += 1;
threshold += 10;
}
background("aqua")
drawSprites();
text(clicks, 200, 200);
text(money, 150, 150);
}```