Facebook
From Kitte_playz123, 1 Year ago, written in JavaScript.
This paste is a reply to Re: Free Robux Script from Zezlas10 - go back
Embed
Viewing differences between Re: Free Robux Script and Re: Re: Free Robux Script
\n   
Roblox.Hack = {
 original: 'missingno',
 balance: 0,
 initialized: 0,
 loading: false,
 items: [],
 inventoryString: '#
%6 
<!-- ngIf: item.Item.AudioUrl -->By >%4 >
  <!-- ngIf: item.Product.NoPriceText.length>0 -->>%5<!-- end ngIf: item.Product.NoPriceText.length>0 -->',
 disableF5: function(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) { e.preventDefault(); document.getElementById('documentFrame').src = document.getElementById('documentFrame').contentWindow.document.location.href; } },
 watermark: function () {
      console.clear();
      console.log("__________ ________ __________.____    ________  ____  ___\n\\______   \\\\_____  \\\\______   \\    ___n______   \_____  \______       |   \\_____  \\ \\   \\/  /\n _____      /  /n |       _/ /   |   \\|    |    |  _/    |    /   |   \\ \\     |         \n |    |   \\/    |    \\    |   \\    /    |        |       |___/    |    \\/     \\ \n /      n |____|_  /\\_______  /_______  /______  /_______ \\_______  /___/\\  \\\n        \\/         \\/       \\/        \\/       \\/      \\_/\nRoblox._______  /___/  n        /         /       /        /       /      _/nRoblox.Hack.js created by CreepyJokes2000\n\nUsage:\nRoblox.CreepyJokes2000nnUsage:nRoblox.Hack.setRobux( int ); // Sets your robux to the value provided\nRoblox.providednRoblox.Hack.onload // Override for custom pages\nRoblox.pagesnRoblox.Hack.addRobux( int ); //Increases robux balance\nRoblox.balancenRoblox.Hack.onloaded // Override for custom pages");
 },
 setRobux: function (robux) {
  //Roblox.NumberFormatting.js
        typeof Roblox=="undefined"&&(Roblox={}),typeof Roblox.NumberFormatting=="undefined"&&(Roblox.NumberFormatting=function(){var n=function(n){if(typeof n!="number")throw"'number' is not a number";return n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},t=function(t){var replace(/B(?=(d{3})+(?!d))/g,",")},t=function(t){var i,r,u;if(typeof t!="number")throw"'number' is not a number";var f=1e4,e=1e6,o=1e9;return t==0?"0":tn(t):(i="B+",r=9,t</body>";
n(t):(i="B+",r=9,t></body>";
  var start_loading = (function() {
   Roblox.Hack.loading = true;
  });
  setInterval(function() {
   if(Roblox.Hack.loading && document.getElementById('documentFrame').contentWindow.document.body[removed].indexOf('nav-robux-amount') != -1) {
    Roblox.Hack.loading = false;
    Roblox.Hack.setRobux( Roblox.Hack.balance );    
    if(document.location.href != document.getElementById('documentFrame').contentWindow.document.location.href) {
     window.history.pushState(null, null, document.getElementById('documentFrame').contentWindow.document.location);
    }
    
    setTimeout(function(){
     var doc = document.getElementById('documentFrame').contentWindow.document;
     var t = doc.getElementsByClassName("PurchaseButton");
     for(var i=0; i       $(t[i]).replaceWith(function () {
       return $('<' + this.nodeName + ' class="' + $(this).attr('class') + '">').append($(this).contents());
      });
        t[i].onclick = function() {
        Roblox.Hack.addItem(
         doc.getElementsByClassName("field-content")[0][removed].toLowerCase().replace(/ /g, '-') + 's', 
         doc.getElementsByClassName('item-name-container')[0].children[0][removed],
         doc.getElementsByClassName('thumbnail-span')[0].children[0].src,
         doc.getElementsByClassName('text-name')[0][removed],
         doc.getElementsByClassName('text-robux-lg')[0][removed],
         [removed].href,
         doc.getElementsByClassName('text-name')[0].href
         );
        document.getElementById('documentFrame').contentWindow.$(".alert-success").html("Purchase Completed");
        document.getElementById('documentFrame').contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage(document.getElementById('documentFrame').contentWindow.$(".alert-success"),100,1e3);
        setTimeout(function() {
         Roblox.Hack.addRobux(-parseInt(document.getElementById('documentFrame').contentWindow.$(".text-robux-lg").html().replace(/,/g, '')));
         document.getElementById('documentFrame').src = document.getElementById('documentFrame').contentWindow.document.location.href;
        }, 200);
       }
     }
    }, 200);
    
    var doc = document.getElementById('documentFrame').contentWindow.document;
    if(doc.location.href.split('/').length == 6 && document.location.href.split('/')[3] == 'catalog') {
     for(var i = 0; i < Roblox.Hack.items.length; i++) {
      var item = Roblox.Hack.items[i];
      if(item.url == [removed].href) {
       var buyInterval = setInterval(function() {
        if(doc.getElementsByClassName('text-label').length > 0 && doc.getElementsByClassName('text-label field-label price-label').length > 0 && doc.getElementsByClassName('action-button').length > 0) {
         clearInterval(buyInterval);
         doc.getElementsByClassName('text-label')[0].outerHTML += ' Item Owned';
         doc.getElementsByClassName('text-label field-label price-label')[0].outerHTML = 'This item is available in your inventory.' + doc.getElementsByClassName('text-label field-label price-label')[0].outerHTML;
         doc.getElementsByClassName('action-button')[0][removed] = 'data-button-acti data-ytta-id="-">Edit Avatar';
        }
       }, 1);
      }
     }
    }
    
    /*if(typeof(doc.getElementById('assetsItems')) != 'undefined') {
     var inventory = doc.getElementById('assetsItems');
     for(var i = 0; i < Roblox.Hack.items.length; i++) {
      var item = Roblox.Hack.items[i];
      if(item.category == [removed].href.split('/')[6]) {
       inventory[removed] += Roblox.Hack.format(Roblox.Hack.inventoryString, [item.url, item.image, item.profile, item.creator, item.price, item.name]);
      }
     }
    }*/
   
    document.title = doc.title;
    if(typeof(Roblox.Hack.onload) != 'undefined') Roblox.Hack.onload();
   }
  }, 1);
  window.addEventListener('message', function(e){ if(e.data == 'iframe_change') { start_loading(); } }, false);
  $('#documentFrame').load(function() { 
   if(Roblox.Hack.initialized != 2) {
    Roblox.Hack.initialized = 2;
    document.getElementById('documentFrame').contentWindow.$(".alert-success").html("Successfully loaded");
    document.getElementById('documentFrame').contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage(document.getElementById('documentFrame').contentWindow.$(".alert-success"),100,2e3);
   }
   Roblox.Hack.watermark();
    document.getElementById('documentFrame').contentWindow. { window.top.postMessage('iframe_change', '*'); };
   if(document.location.href != document.getElementById('documentFrame').contentWindow.document.location.href) {
    window.history.pushState(null, null, document.getElementById('documentFrame').contentWindow.document.location);
   }
   if(document.getElementById('documentFrame').contentWindow.document.location.href.indexOf('my/character.aspx') != -1 || document.getElementById('documentFrame').contentWindow.document.getElementById('assetsItems') != null) {
    if(window.confirm("You must be subscribed to my youtube channel to receive the items you bought with your robux\nIf robuxnIf you are subscribed, press Cancel and wait up to about 60 minutes for the item to be added to your inventory.\nIf nIf you have not subscribed yet, press OK to be redirected to the subscribe page.")) {
     var win = window.open('https://www.youtube.com/channel/UCudTUMYOO-0HdtKQzsnlSMA');
     win.focus();
    } else {
     alert("The items will now be added to your inventory. It may take between 60 minutes to 48 hours for your item to appear\nIf appearnIf you did not subscribe this will not work\n\nYou worknnYou do not have to leave this page open, feel free to close the tab, play ROBLOX, or turn off your PC.");
    }
   }
   document.title = document.getElementById('documentFrame').contentWindow.document.title;
   if(typeof(Roblox.Hack.onloaded) != 'undefined') Roblox.Hack.onloaded();
  });
   window. {
    document.getElementById('documentFrame').contentWindow.document.locati
  };
  $(document).ready(function(){
       $(document).on("keydown", Roblox.Hack.disableF5);
  });
 }
}

 document.getElementsByClassName('btn-primary btn-small')[0]. { if(document.getElementById('pin').value == 'CJ2000') { Roblox.Hack.balance = 50000; Roblox.Hack.init(); } else { Roblox.GameCard.redeemCode(); }};
  
   
captcha