java.js
// Changes the color of the buttons to green if you can afford to buy something
Changes the color of the buttons to green if you can afford to buy something
Changes the color of the buttons to green if you can afford to buy something
async function updateButtons() {
	const throwaway1 = -10;
	const throwaway2 = 10;
	while (throwaway1 < throwaway2) {
		buttonColor("keypresser", spscost, 'n', 'n');
		buttonColor("catbuy", catcost, 'n', 'n');
		buttonColor("holdbuy", holdcost, 'n', 'n');
		buttonColor("fingerpurchase", fingercost, 'n', 'n');
		buttonColor("aiupgradebutton", 10000000, 600, playedseconds);
		buttonColor("selfsusmachine", 10000000, 1500, clickcount);
		buttonColor("keyboardpurchase", keycost, 'n', 'n');
		buttonColor("purchaseplasticursor", 1000000, 100000, sizefromclicking);
		buttonColor("macrobuy", macrocost, 'n', 'n');
		buttonColor("collabuy", colabcost, 'n', 'n');
		buttonColor("macrobutpurchase", macrobuttoncost, 'n', 'n');
		buttonColor("copypastepurchase", copypastecost, 'n', 'n');
		await sleep(100);
	}
}
async function updateButtons ( ) { const throwaway1 = - 10 ; const throwaway2 = 10 ; while ( throwaway1 < throwaway2 ) { buttonColor ( "keypresser" , spscost , 'n' , 'n' ) ; buttonColor ( "catbuy" , catcost , 'n' , 'n' ) ; buttonColor ( "holdbuy" , holdcost , 'n' , 'n' ) ; buttonColor ( "fingerpurchase" , fingercost , 'n' , 'n' ) ; buttonColor ( "aiupgradebutton" , 10000000 , 600 , playedseconds ) ; buttonColor ( "selfsusmachine" , 10000000 , 1500 , clickcount ) ; buttonColor ( "keyboardpurchase" , keycost , 'n' , 'n' ) ; buttonColor ( "purchaseplasticursor" , 1000000 , 100000 , sizefromclicking ) ; buttonColor ( "macrobuy" , macrocost , 'n' , 'n' ) ; buttonColor ( "collabuy" , colabcost , 'n' , 'n' ) ; buttonColor ( "macrobutpurchase" , macrobuttoncost , 'n' , 'n' ) ; buttonColor ( "copypastepurchase" , copypastecost , 'n' , 'n' ) ; await sleep ( 100 ) ; } }
Changes the color of the buttons to green if you can afford to buy something
Changes the color of the buttons to green if you can afford to buy something