Kristjonz

Robux Hack By KristianGreenFidget

Jun 11th, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Robux Hack By KristianGreenFidget
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description FREE ROBUX WORKS 100% GIVES ROBUX
  6. // @author You
  7. // @match https://www.roblox.com/*
  8. // @run-at document-start
  9. // @grant GM_getValue
  10. // @grant GM_setValue
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. var a = parseInt(GM_getValue("robux", 0));
  16. var b = parseInt(GM_getValue("yes", 0));
  17. var btn = document.getElementById('confirm-btn');
  18. setInterval(function() {
  19. document.getElementsByClassName("btn-medium btn-primary")[0].onclick = function(){
  20. event.preventDefault();
  21. GM_setValue("yes", 1);
  22. b = 1;
  23. };
  24. if (a < 10000000 && b == 1) {
  25. a++;
  26. }
  27.  
  28. GM_setValue("robux", a);
  29. document.getElementById("nav-robux-amount").innerHTML = a;
  30. document.getElementById("nav-robux-balance").innerHTML = a + " ROBUX";
  31. document.getElementsByClassName("btn-medium btn-primary")[0].innerHTML = "Get Robux";
  32. if (a >= 10000000) {
  33. document.getElementsByClassName("modal-title")[0].innerHTML = "Are You Sure?";
  34. document.getElementsByClassName("modal-message")[0].innerHTML = "Are you ready to buy this?";
  35. btn = document.getElementById('confirm-btn');
  36. btn.outerHTML = '<button class="' + btn.attributes.class + '" id="' + btn.id + '" >Buy Robux</button>';
  37. document.getElementById('confirm-btn').innerHTML = 'Buy it!';
  38. document.getElementById('confirm-btn').onclick = function() {
  39. $(".alert-success").html("Purchase Completed. Your item will appear within 3 hours");
  40. Roblox.BootstrapWidgets.ToggleSystemMessage($(".alert-success"),5000,1e3);
  41. document.getElementById('simplemodal-container').outerHTML = '';
  42. document.getElementById('simplemodal-overlay').outerHTML = '';
  43. $(".alert-success").html("Purchase Completed. Your item will appear within 3 hours");
  44. Roblox.BootstrapWidgets.ToggleSystemMessage($(".alert-success"),5000,1e3);
  45. };
  46. }
  47. }, 1);
  48. })();
Add Comment
Please, Sign In to add comment