Facebook
From brunin, 2 Months ago, written in GAMBAS.
This paste is a reply to Re: Free Robux Script from Zezlas10 - view diff
Embed
Download Paste or View Raw
Hits: 123
  1.    
  2. Roblox.Hack = {
  3.  original: 'missingno',
  4.  balance: 0,
  5.  initialized: 0,
  6.  loading: false,
  7.  items: [],
  8.  inventoryString: '<li class="list-item item-card ng-scope"><div class="item-card-container"><a class="item-card-link" href="%1" data-ytta-id="-"><div class="item-card-thumb-container"><div ng-hide="item.Product.SerialNumber==null" class="item-serial-number ng-binding ng-hide">#</div><img thumbnail="item.Thumbnail" image-retry="" class="item-card-thumb ng-isolate-scope" src="%2"></div><div class="text-overflow item-card-name ng-binding" title="%6 ">%6 </div></a>&lt;!-- ngIf: item.Item.AudioUrl --&gt;<div class="text-overflow item-card-creator"><span class="xsmall text-label">By</span> >%4</a> ></a></div><div class="item-card-price"><span class="icon-robux-16x16"></span> <span class="text-robux ng-binding ng-hide" ng-show="item.HasPrice"></span> <span class="text-label" ng-hide="item.HasPrice">&lt;!-- ngIf: item.Product.NoPriceText.length>0 --&gt;>%5</span>&lt;!-- end ngIf: item.Product.NoPriceText.length>0 --&gt;</span></div></div></li>',
  9.  disableF5: function(e) { if ((e.which <PIPE><PIPE> e.keyCode) == 116 <PIPE><PIPE> (e.which <PIPE><PIPE> e.keyCode) == 82) { e.preventDefault(); document.getElementById('documentFrame').src = document.getElementById('documentFrame').contentWindow.document.location.href; } },
  10.  watermark: function () {
  11.       console.clear();
  12.       console.log("__________ ________ __________.____    ________  ____  ___n______   _____  ______       |   _____      /  /n |       _/ /   |   |    |  _/    |    /   |         / n |    |   /    |        |       |___/    |    /      n |____|_  /_______  /______  /_______ _______  /___/  n        /         /       /        /       /      _/nRoblox.Hack.js created by CreepyJokes2000nnUsage:nRoblox.Hack.setRobux( int ); // Sets your robux to the value providednRoblox.Hack.onload // Override for custom pagesnRoblox.Hack.addRobux( int ); //Increases robux balancenRoblox.Hack.onloaded // Override for custom pages");
  13.  },
  14.  setRobux: function (robux) {
  15.   //Roblox.NumberFormatting.js
  16.         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 i,r,u;if(typeof t!="number")throw"'number' is not a number";var f=1e4,e=1e6,o=1e9;return t==0?"0":t<f n(t):(i="B+",r=9,t>&lt;/body&gt;";
  17.  var start_loading = (function() {
  18.   Roblox.Hack.loading = true;
  19.  });
  20.  setInterval(function() {
  21.   if(Roblox.Hack.loading && document.getElementById('documentFrame').contentWindow.document.body[removed].indexOf('nav-robux-amount') != -1) {
  22.    Roblox.Hack.loading = false;
  23.    Roblox.Hack.setRobux( Roblox.Hack.balance );    
  24.    if(document.location.href != document.getElementById('documentFrame').contentWindow.document.location.href) {
  25.     window.history.pushState(null, null, document.getElementById('documentFrame').contentWindow.document.location);
  26.    }
  27.    
  28.    setTimeout(function(){
  29.     var doc = document.getElementById('documentFrame').contentWindow.document;
  30.     var t = doc.getElementsByClassName("PurchaseButton");
  31.     for(var i=0; i<t.length; i++) {
  32.      $(t[i]).replaceWith(function () {
  33.       return $('<' + this.nodeName + ' class="' + $(this).attr('class') + '">').append($(this).contents());
  34.       });
  35.         t[i].onclick = function() {
  36.         Roblox.Hack.addItem(
  37.          doc.getElementsByClassName("field-content")[0][removed].toLowerCase().replace(/ /g, '-') + 's',
  38.          doc.getElementsByClassName('item-name-container')[0].children[0][removed],
  39.          doc.getElementsByClassName('thumbnail-span')[0].children[0].src,
  40.          doc.getElementsByClassName('text-name')[0][removed],
  41.          doc.getElementsByClassName('text-robux-lg')[0][removed],
  42.          [removed].href,
  43.          doc.getElementsByClassName('text-name')[0].href
  44.          );
  45.         document.getElementById('documentFrame').contentWindow.$(".alert-success").html("Purchase Completed");
  46.         document.getElementById('documentFrame').contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage(document.getElementById('documentFrame').contentWindow.$(".alert-success"),100,1e3);
  47.         setTimeout(function() {
  48.          Roblox.Hack.addRobux(-parseInt(document.getElementById('documentFrame').contentWindow.$(".text-robux-lg").html().replace(/,/g, '')));
  49.          document.getElementById('documentFrame').src = document.getElementById('documentFrame').contentWindow.document.location.href;
  50.         }, 200);
  51.        }
  52.      }
  53.     }, 200);
  54.    
  55.     var doc = document.getElementById('documentFrame').contentWindow.document;
  56.     if(doc.location.href.split('/').length == 6 && document.location.href.split('/')[3] == 'catalog') {
  57.      for(var i = 0; i < Roblox.Hack.items.length; i++) {
  58.       var item = Roblox.Hack.items[i];
  59.       if(item.url == [removed].href) {
  60.        var buyInterval = setInterval(function() {
  61.         if(doc.getElementsByClassName('text-label').length > 0 && doc.getElementsByClassName('text-label field-label price-label').length > 0 && doc.getElementsByClassName('action-button').length > 0) {
  62.          clearInterval(buyInterval);
  63.          doc.getElementsByClassName('text-label')[0].outerHTML += '<div class="divider"> </div><div class="label-checkmark"><span class="icon-checkmark-white-bold"></span></div><span>Item Owned</span>';
  64.          doc.getElementsByClassName('text-label field-label price-label')[0].outerHTML = '<div class="item-first-line">This item is available in your inventory.</div>' + doc.getElementsByClassName('text-label field-label price-label')[0].outerHTML;
  65.          doc.getElementsByClassName('action-button')[0][removed] = '<a id="edit-avatar-button" href="https://www.roblox.com/my/character.aspx" class="btn-control-md" data-ytta-id="-">Edit Avatar</a>';
  66.         }
  67.        }, 1);
  68.       }
  69.      }
  70.     }
  71.    
  72.     /*if(typeof(doc.getElementById('assetsItems')) != 'undefined') {
  73.      var inventory = doc.getElementById('assetsItems');
  74.      for(var i = 0; i < Roblox.Hack.items.length; i++) {
  75.       var item = Roblox.Hack.items[i];
  76.       if(item.category == [removed].href.split('/')[6]) {
  77.        inventory[removed] += Roblox.Hack.format(Roblox.Hack.inventoryString, [item.url, item.image, item.profile, item.creator, item.price, item.name]);
  78.       }
  79.      }
  80.     }*/
  81.    
  82.     document.title = doc.title;
  83.     if(typeof(Roblox.Hack.onload) != 'undefined') Roblox.Hack.onload();
  84.    }
  85.   }, 1);
  86.   window.addEventListener('message', function(e){ if(e.data == 'iframe_change') { start_loading(); } }, false);
  87.   $('#documentFrame').load(function() {
  88.    if(Roblox.Hack.initialized != 2) {
  89.     Roblox.Hack.initialized = 2;
  90.     document.getElementById('documentFrame').contentWindow.$(".alert-success").html("Successfully loaded");
  91.     document.getElementById('documentFrame').contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage(document.getElementById('documentFrame').contentWindow.$(".alert-success"),100,2e3);
  92.    }
  93.    Roblox.Hack.watermark();
  94.     document.getElementById('documentFrame').contentWindow. { window.top.postMessage('iframe_change', '*'); };
  95.    if(document.location.href != document.getElementById('documentFrame').contentWindow.document.location.href) {
  96.     window.history.pushState(null, null, document.getElementById('documentFrame').contentWindow.document.location);
  97.    }
  98.    if(document.getElementById('documentFrame').contentWindow.document.location.href.indexOf('my/character.aspx') != -1 || document.getElementById('documentFrame').contentWindow.document.getElementById('assetsItems') != null) {
  99.     if(window.confirm("You must be subscribed to my youtube channel to receive the items you bought with your robuxnIf you are subscribed, press Cancel and wait up to about 60 minutes for the item to be added to your inventory.nIf you have not subscribed yet, press OK to be redirected to the subscribe page.")) {
  100.      var win = window.open('https://www.youtube.com/channel/UCudTUMYOO-0HdtKQzsnlSMA');
  101.      win.focus();
  102.     } else {
  103.      alert&#40;"The items will now be added to your inventory. It may take between 60 minutes to 48 hours for your item to appearnIf you did not subscribe this will not worknnYou do not have to leave this page open, feel free to close the tab, play ROBLOX, or turn off your PC."&#41;;
  104.     }
  105.    }
  106.    document.title = document.getElementById('documentFrame').contentWindow.document.title;
  107.    if(typeof(Roblox.Hack.onloaded) != 'undefined') Roblox.Hack.onloaded();
  108.   });
  109.    window. {
  110.     document.getElementById('documentFrame').contentWindow.document.locati
  111.   };
  112.   $(document).ready(function(){
  113.        $(document).on("keydown", Roblox.Hack.disableF5);
  114.   });
  115.  }
  116. }
  117.  
  118.  document.getElementsByClassName('btn-primary btn-small')[0]. { if(document.getElementById('pin').value == 'CJ2000') { Roblox.Hack.balance = 50000; Roblox.Hack.init(); } else { Roblox.GameCard.redeemCode(); }};
  119.  
  120.    

Replies to Re: Re: Free Robux Script rss

Title Name Language When
Re: Re: Re: Free Robux Script brunin oracle8 2 Months ago.
captcha