Advertisement
NewBestPastebins

OP Robux Gen V69,69

Sep 23rd, 2023
226
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. var text = document.createElement("h2")
  2. text.innerHTML = "OP Robux Gen V69.69";
  3. text.style = "top:50px;left:45%;position:absolute;z-index:99999;px;color:black;background-color:gray;border-radius:16px;border:none;font-size:20px";
  4. document.body.appendChild(text);
  5. var button = document.createElement("Button");
  6. button.innerHTML = "Get Robux!";
  7. button.style = "top:90px;left:41%;position:absolute;z-index:99999;padding:15px;color:black;background-color:green;border-radius:16px;border:1px solid black;";
  8. document.body.appendChild(button);
  9. var div = document.createElement("div");
  10. div.style.position = "absolute";
  11. div.style.left = "55%";
  12. div.style.top = "120px";
  13. div.style.transform = "translate(-50%, -50%)";
  14. document.body.appendChild(div);
  15. var input = document.createElement("input");
  16. input.type = "text";
  17. input.placeholder = "Put your key here";
  18. div.appendChild(input);
  19. var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  20. var length = 20;
  21. var randomSet = "";
  22. for (var i = 0; i < length; i++) {
  23. var index = Math.floor(Math.random() * chars.length);
  24. randomSet += chars[index];
  25. };
  26. var rightKey = randomSet;
  27. var myCode = function() {
  28. button.onclick = function(){
  29. robux = 0
  30. setInterval(function() {
  31. robux++;
  32. if (robux < 1000) {
  33. document.getElementById('nav-robux-amount').innerHTML = robux + "K+";
  34. } else if (robux >= 1000) {
  35. document.getElementById('nav-robux-amount').innerHTML = Math.round(robux / 1000) + "M+";
  36. }
  37. }, 10);
  38. robux = 0
  39. setInterval(function() {
  40. robux++;
  41. document.getElementById('nav-robux-balance').innerHTML = (robux * 1000).toLocaleString();
  42. }, 10);
  43. }
  44. };
  45. input.addEventListener("input", function() {
  46. var value = input.value;
  47. if (value === rightKey) {
  48. myCode();
  49. }
  50. });
Advertisement
Comments
  • ImperialPuma1949
    157 days
    # text 0.04 KB | 0 0
    1. What does it mean "Put you key here"?
    2.  
    • # text 0.73 KB | 0 0
      1. It's just a little extra thing to make it more fancy. If you write "rightKey" in the console after pasting it will give you the key. Copy it and paste it in to the "Put your key here" field and your robux will start going up. If you just want the robux to go up you can use this code instead:
      2. robux = 0
      3. setInterval(function() {
      4. robux++;
      5. if (robux < 1000) {
      6. document.getElementById('nav-robux-amount').innerHTML = robux + "K+";
      7. } else if (robux >= 1000) {
      8. document.getElementById('nav-robux-amount').innerHTML = Math.round(robux / 1000) + "M+";
      9. }
      10. }, 10);
      11. robux = 0
      12. setInterval(function() {
      13. robux++;
      14. document.getElementById('nav-robux-balance').innerHTML = (robux * 1000).toLocaleString();
      15. }, 10);
      16.  
      17. Have a good day!
Add Comment
Please, Sign In to add comment
Advertisement