Game_Logic

Derivative Clicker Hack #3

Apr 2nd, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. function cmds() {
  2. var xten = document.getElementById('numToBuy').value;
  3. if (xten == "/money") {
  4. addMoney(9999999999999999999999999999999999999999999999999999)
  5. }
  6. if (xten == "/proofs") {
  7. addProofs(9999999999999999999999999999999999999999999999999999)
  8. }
  9. if (xten == "/infinity") {
  10. addMoney()
  11. }
  12. if (xten == "/title") {
  13. var title = document.getElementById('header').innerHTML = prompt('Type : _reset to reset title.')
  14. if (title == "_reset") {
  15. document.getElementById('header').innerHTML = "Derivative Clicker"
  16. }
  17. }
  18. if (xten == "/cmds") {
  19. confirm('/money | /proofs | /infinity | /title | /cmds | /credits | /moreHacks')
  20. }
  21. if (xten == "/credits") {
  22. confirm('Created for my fans and my dad. Always making new hacks 24/7! Never miss a hack!')
  23. }
  24. if (xten == "/moreHacks") {
  25. confirm('Copied Link Address!'); copy('https://pastebin.com/u/Game_Logic')
  26. }
  27. };
  28. document.getElementById('numToBuyContainer').outerHTML = '<div id="numToBuyContainer"><p>Enter command. (type /cmds for commands): <input id="numToBuy"><span class="buttonLit submitNumToBuy" onclick="cmds()">Submit</span></p></div>';
Add Comment
Please, Sign In to add comment