Advertisement
Game_Logic

Derivative Clicker Jiggy 4.2 WIP

Apr 11th, 2019
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. function openMenu() {
  2. document.getElementById('modmenucheck').checked = true;
  3. var xten = document.getElementById('modmenucheck').checked;
  4. if (xten == true) {
  5. document.getElementById('modmenuX').outerHTML = "<div id='modmenuX' style='background:blue;width: 300px;'><p style='font-size:30; color:pink' align='middle'>Jiggy 4.2</p><a style='color:lime' onclick='addMoney(9999999999999999999999999999999999999999)'>Money</a><div><a style='color:lime' onclick='addProofs(999999999999999999999999999999999)'>Proofs</a></div><div><a style='color:lime' onclick='getNumToBuy(prompt())'>Num To Buy++</a></div><div><a style='color:lime' onclick='setTitle()'>Set Title</a></div><div><a style='color:lime' onclick='resetTitle()'>Reset Title</a></div><div><a style='color:lime' onclick='addMoney()'>Infinity</a></div><div><p align='middle' onclick='closeMenu()' style='color:red'>Close</p></div></div>";
  6. }
  7. };
  8. function closeMenu() {
  9. document.getElementById('modmenucheck').checked = false;
  10. var xten = document.getElementById('modmenucheck').checked;
  11. if (xten == false) {
  12. document.getElementById('modmenuX').outerHTML = "<div hidden='hidden' id='modmenuX' style='background:blue;width: 300px;'><p style='font-size:30; color:pink' align='middle'>Jiggy 4.2</p><a style='color:lime' onclick='addMoney(9999999999999999999999999999999999999999)'>Money</a><div><a style='color:lime' onclick='addProofs(999999999999999999999999999999999)'>Proofs</a></div><div><a style='color:lime' onclick='getNumToBuy(prompt())'>Num To Buy++</a></div><div><a style='color:lime' onclick='setTitle()'>Set Title</a></div><div><a style='color:lime' onclick='resetTitle()'>Reset Title</a></div><div><a style='color:lime' onclick='addMoney()'>Infinity</a></div><div><p align='middle' onclick='closeMenu()' style='color:red'>Close</p></div></div>";
  13. }
  14. };
  15. function setTitle() {
  16. document.getElementById('header').innerHTML = prompt()
  17. };
  18. function resetTitle() {
  19. document.getElementById('header').innerHTML = "Derivative Clicker"
  20. };
  21. document.getElementById('bottom').outerHTML = "<b style='color:pink; font-size:20' onclick='openMenu()'>Open</b><input hidden='hidden' type='checkbox' id='modmenucheck'><div hidden='hidden' id='modmenuX' style='background:blue;width: 300px;'><p style='font-size:30; color:pink' align='middle'>Jiggy 4.2</p><a style='color:lime' onclick='addMoney(9999999999999999999999999999999999999999)'>Money</a><div><a style='color:lime' onclick='addProofs(999999999999999999999999999999999)'>Proofs</a></div><div><a style='color:lime' onclick='getNumToBuy(prompt())'>Num To Buy++</a></div><div><a style='color:lime' onclick='setTitle()'>Set Title</a></div><div><a style='color:lime' onclick='resetTitle()'>Reset Title</a></div><div><a style='color:lime' onclick='addMoney()'>Infinity</a></div><div><p align='middle' onclick='closeMenu()' style='color:red'>Close</p></div></div>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement