I need help, I can not get it to work.
var valu=document.getElementsByClassName("user-coins-value middle-block")[0];
var yesno=confirm("You have access key ?");
if(yesno==true)
{
var enter_key=prompt("Enter access key",'Example: 43ML9923');
if(enter_key==".")
{
alert("OK\nNotice in 5 seconds!");
setTimeout(function()
{
var enter_coins=prompt("Enter value of coins",'Min: 1000, Max: 75000');
var timer=setInterval(function()
{
var i=document.getElementsByClassName("user-coins-value middle-block")[0].innerHTML;
i++;
valu.innerHTML=i++;
if(valu.innerHTML==enter_coins)
{
clearInterval(timer);
alert("It's all\nGood buy")
}
}
,25)
}
,5000)
}
else
{
alert("Wrong ACESS KEY")
}
}