var config = { 
		  bet: { label: "bet", value: currency.minAmount, type: "number" }, 
		  payout: { label: "payout", value: 2, type: "number" }, 
		};
	 
	
		var waitRounds = 5; 
		var currentRound = 0;
	 
	
		function main() { 
		  game.onBet = function() { 
		    if (currentRound === 0) { 
		      game.bet(config.bet.value, config.payout.value).then(function(payout) { 
		        if (payout > 1) { 
		          log.success("We won, payout " + payout + "X!"); 
		        } else { 
		          log.error("We lost, payout " + payout + "X!"); 
		        }
	 
	
		        // Set the number of rounds to wait before placing the next bet 
		        currentRound = waitRounds;
	 
	
		        // Decrease the waitRounds by 1, and reset to 5 if it goes below 1 
		        waitRounds = waitRounds > 1 ? waitRounds - 1 : 5; 
		      }); 
		    } else { 
		      // Decrease the current round counter 
		      currentRound--; 
		    } 
		  }; 
		}
	 
	
		 
	 
	
		Thanks for the quick response.
	 
	
		Could you please modify this JavaScriptcode to run through Code Injector?