Advertisement
Game_Logic

Clicker Game

Oct 11th, 2019
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. document.body.innerHTML = "<button onclick='queueMicrotask.call = Number(queueMicrotask.call)+Number(1);'>Click!</button><div><button onclick='savegame()'>Save Game</button></div><div><big id='lol'>0</big></div><div><input id='code' placeholder='Enter Cheat Code'><button id='x' onclick='code()'>Submit</button></div><div><a id='txt'></a></div><div>Hint : 30 31 30 30 30 30 31 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 31 31 20 30 31 31 31 30 30 31 30 20 30 31 31 30 30 30 30 31 20 30 31 31 31 30 31 30 30 20 30 31 31 31 30 30 31 31 20 30 30 31 30 30 30 30 31 20 30 30 31 30 30 30 30 30 20 30 31 30 31 31 30 30 31 20 30 31 31 30 31 31 31 31 20 30 31 31 31 30 31 30 31 20 30 30 31 30 30 30 30 30 20 30 31 31 30 30 31 31 30 20 30 31 31 30 31 31 31 31 20 30 31 31 31 30 31 30 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 30 30 20 30 30 31 30 30 30 30 30 20 30 31 31 30 31 31 30 31 20 30 31 31 30 30 31 30 31 20 30 30 31 30 30 30 30 31 20 30 30 31 30 30 30 30 30 20 30 31 30 30 30 30 31 31 20 30 31 31 30 31 30 30 30 20 30 31 31 30 30 31 30 31 20 30 31 31 30 30 30 30 31 20 30 31 31 31 30 31 30 30 20 30 30 31 30 30 30 30 30 20 30 31 30 30 30 30 31 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 30 31 30 30 20 30 31 31 30 30 31 30 31 20 30 30 31 30 30 30 30 30 20 30 30 31 31 31 30 31 30 20 30 30 31 30 30 30 30 30 20 30 31 30 30 31 31 30 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 30 31 20 30 31 31 31 31 30 30 31 20 30 31 30 30 31 30 30 31 20 30 31 31 31 30 30 31 31 20 30 31 30 30 31 30 31 31 20 30 31 31 30 30 31 30 31 20 30 31 31 31 31 30 30 31 "; queueMicrotask.call = 0; setInterval(function(){document.getElementById('lol').innerHTML=queueMicrotask.call},0); function code() { var x = document.getElementById('code').value; if (x == "MoneyIsKey") { queueMicrotask.call = Number(queueMicrotask.call)+Number(159753); document.getElementById('code').outerHTML = ""; document.getElementById('txt').outerHTML = "<a style='color:lime' id='txt'>Redeemed Code!</a>"; document.getElementById('x').outerHTML=""; } else { document.getElementById('txt').outerHTML = "<a id='txt' style='color:red'>Invalid Code.</a>"; }; }; document.title = "Clicker!"; function savegame() { prompt('Copy this text :',`document.body.innerHTML = "<button onclick='queueMicrotask.call = Number(queueMicrotask.call)+Number(1);'>Click!</button><div><button onclick='savegame()'>Save Game</button></div><div><big id='lol'>0</big></div><div><input id='code' placeholder='Enter Cheat Code'><button id='x' onclick='code()'>Submit</button></div><div><a id='txt'></a></div><div>Hint : 30 31 30 30 30 30 31 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 31 31 20 30 31 31 31 30 30 31 30 20 30 31 31 30 30 30 30 31 20 30 31 31 31 30 31 30 30 20 30 31 31 31 30 30 31 31 20 30 30 31 30 30 30 30 31 20 30 30 31 30 30 30 30 30 20 30 31 30 31 31 30 30 31 20 30 31 31 30 31 31 31 31 20 30 31 31 31 30 31 30 31 20 30 30 31 30 30 30 30 30 20 30 31 31 30 30 31 31 30 20 30 31 31 30 31 31 31 31 20 30 31 31 31 30 31 30 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 30 30 20 30 30 31 30 30 30 30 30 20 30 31 31 30 31 31 30 31 20 30 31 31 30 30 31 30 31 20 30 30 31 30 30 30 30 31 20 30 30 31 30 30 30 30 30 20 30 31 30 30 30 30 31 31 20 30 31 31 30 31 30 30 30 20 30 31 31 30 30 31 30 31 20 30 31 31 30 30 30 30 31 20 30 31 31 31 30 31 30 30 20 30 30 31 30 30 30 30 30 20 30 31 30 30 30 30 31 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 30 31 30 30 20 30 31 31 30 30 31 30 31 20 30 30 31 30 30 30 30 30 20 30 30 31 31 31 30 31 30 20 30 30 31 30 30 30 30 30 20 30 31 30 30 31 31 30 31 20 30 31 31 30 31 31 31 31 20 30 31 31 30 31 31 31 30 20 30 31 31 30 30 31 30 31 20 30 31 31 31 31 30 30 31 20 30 31 30 30 31 30 30 31 20 30 31 31 31 30 30 31 31 20 30 31 30 30 31 30 31 31 20 30 31 31 30 30 31 30 31 20 30 31 31 31 31 30 30 31 "; queueMicrotask.call = 0; setInterval(function(){document.getElementById('lol').innerHTML=queueMicrotask.call},0); function code() { var x = document.getElementById('code').value; if (x == "MoneyIsKey") { queueMicrotask.call = Number(queueMicrotask.call)+Number(159753); document.getElementById('code').outerHTML = ""; document.getElementById('txt').outerHTML = "<a style='color:lime' id='txt'>Redeemed Code!</a>"; document.getElementById('x').outerHTML=""; } else { document.getElementById('txt').outerHTML = "<a id='txt' style='color:red'>Invalid Code.</a>"; }; }; document.title = "Clicker!"; queueMicrotask.call = `+document.getElementById('lol').innerHTML+`;`); alert('Paste this text somewhere you will remember.'); };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement