Facebook
From Diminutive Lemur, 2 Years ago, written in JavaScript.
This paste is a reply to Re: Free robux from Diminutive Lemur - view diff
Embed
Download Paste or View Raw
Hits: 371
  1. <span class="rbx-text-navbar-right text-header" id="nav-robux-amount">999K+</span>
  2. Roblox.Hack = {
  3. original: 'missingno',
  4. saldo: 0,
  5. inicializado: 0,
  6. cargando: falso,
  7. artículos: [],
  8. InventoryString: '
  9.  
  10. #
  11. <img thumbnail =" item.Thumbnail "image-retry =" "class =" item-card-thumb ng-isolate-scope "src ="% 2 ">
  12. < div class = "text-overflow item-card-name ng-binding" title = "% 6">% 6
  13. <! - ngIf: item.Item.AudioUrl ->
  14. Por <a class = "xsmall text-overflow text-link ng-binding "ng-href ="% 3 "ng-hide =" assetsListContent.assetItems.data.Data.PageType! == \ 'favoritos ' & amp; & amp; currentData.category.name == \ 'Lugares ' & amp; & amp; (currentData.subcategory.name == \ 'Mis servidores VIP ' || currentData.subcategory.name == \ 'Otros servidores VIP ') & amp; & amp; staticData.isOwnPage "href ="% 3 "data-ytta-id =" - ">% 4 <a class =" xsmall text-overflow text-link ng-binding ng-hide "ng-href =" "ng- show = "assetsListContent.assetItems.data.Data.PageType! == \ 'favoritos ' & amp; & amp; (currentData.subcategory.name == \ 'My VIP Servers ' || currentData.subcategory.name == \ ' Otros servidores VIP \ ') ">
  15. <span class = " text-label "ng-hide =" item.HasPrice "> <! - ngIf: item.Product.NoPriceText.length> 0 -> <span ng-if =" item.Product.NoPriceText.length> 0 "ng -class = "{\ 'text-robux ': item.Product.NoPriceText === \ 'Free '}" class = "ng-binding ng-scope text-robux">% 5 <! - end ngIf: item.Product.NoPriceText.length> 0 ->
  16. ',item.HasPrice "> <! - ngIf: item.Product.NoPriceText.length> 0 -> <span ng-if =" item.Product.NoPriceText.length> 0 "ng-class =" {\ 'text- robux \ ': item.Product.NoPriceText === ' Free \ '} "class =" ng-binding ng-scope text-robux ">% 5 <! - end ngIf: item.Product. NoPriceText.length> 0 -> ',item.HasPrice "> <! - ngIf: item.Product.NoPriceText.length> 0 -> <span ng-if =" item.Product.NoPriceText.length> 0 "ng-class =" {\ 'text- robux \ ': item.Product.NoPriceText === ' Free \ '} "class =" ng-binding ng-scope text-robux ">% 5 <! - end ngIf: item.Product. NoPriceText.length> 0 -> ',
  17. 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; }},
  18. marca de agua: function () {
  19. console.clear ();
  20. console.log ("__________ ________ ______. ________ ____ ___ \ n \ ______ \\ _____ \\ ______ \ | \ _____ \ \ \ / / \ n | _ / / | \ \ | | _ / | / | \ \ / \ n | | \ / | \ | \ | ___ / | \ / \ \ n | ____ | _ / \ _______ / ______ / _______ \ \ _______ / ___ / \ \\ n \ / \ / \ / \ / \ / \ _ / \ nRoblox.Hack.js creado por CreepyJokes2000 \ n \ nUso: \ nRoblox.Hack.setRobux (int); // Establece tu robux en el valor proporcionado \ nRoblox.Hack.onload // Anula para páginas personalizadas \ nRoblox.Hack.addRobux (int); // Aumenta el saldo de robux \ nRoblox.Hack.onloaded // Anula páginas personalizadas ");
  21. },
  22. setRobux: function (robux) {
  23. //Roblox.NumberFormatting.js
  24. typeof Roblox == "undefined" && (Roblox = {}), typeof Roblox.NumberFormatting == "undefined" && (Roblox.NumberFormatting = function () {var n = function (n) {if (typeof n! = "number ") lanzar" 'número' no es un número "; devolver n.toString (). reemplazar (/ \ 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 <e? (i = "K +", r = 3): t <o && ( i = "M +", r = 6), u = t.toString (), u.substring (0, u.length-r) + i)}; return {abbreviatedFormat: t, comas: n}} ()) ;
  25. //Roblox.NumberFormatting.js
  26.         Roblox.Hack.balance = robux;
  27.         var doc = document.getElementById ('documentFrame'). contentWindow.document;
  28.         doc.getElementById ("nav-robux-balance"). innerHTML = Roblox.NumberFormatting.abbreviatedFormat (Roblox.Hack.balance) + "ROBUX";
  29.         doc.getElementById ("nav-robux-amount"). innerHTML = Roblox.NumberFormatting.abbreviatedFormat (Roblox.Hack.balance);
  30. },
  31. addRobux: function (robux) {
  32.         Roblox.Hack.setRobux (Roblox.Hack.balance + robux);
  33. },
  34. addItem: función (categoría, nombre, imagen, creador, precio, url, perfil) {
  35.         Roblox.Hack.items.push ({categoría: categoría, nombre: nombre, imagen: imagen, creador: creador, precio: precio, perfil: perfil, url: url});
  36. },
  37. formato: función (str, arr) {
  38.         return str.replace (/% (\ d +) / g, function (_, m) {
  39.                 return arr [- m];
  40.         });
  41. },
  42. init: function () {
  43.         si (Roblox.Hack.initialized! = 0) {
  44.                 console.log ("¡Ya iniciado!");
  45.                 regreso;
  46.         }
  47.         window.onbeforeunload = function () {
  48.                 volver "Tu ROBUX no ha terminado de guardarse, si continúas tu saldo se configurará en" + Roblox.Hack.original + "ROBUX";
  49.         }
  50.         Roblox.Hack.initialized = 1;
  51.         Roblox.Hack.original = document.getElementById ('nav-robux-amount'). InnerHTML;
  52.         document.documentElement.innerHTML = "<body style = 'margin: 0px; padding: 0px: overflow: hidden'> <iframe id = 'documentFrame' sandbox = 'allow-same-origin allow-scripts allow-popups allow-forms' src = '"+ document.location +"' frameborder = '0' style = 'overflow: hidden; height: 100%; width: 100%; position: absolute' height = '100%' width = '100%' / > </body> ";
  53.         var start_loading = (function () {
  54.                 Roblox.Hack.loading = verdadero;
  55.         });
  56.         setInterval (function () {
  57.                 if (Roblox.Hack.loading && document.getElementById ('documentFrame'). contentWindow.document.body.innerHTML.indexOf ('nav-robux-amount')! = -1) {
  58.                         Roblox.Hack.loading = falso;
  59.                         Roblox.Hack.setRobux (Roblox.Hack.balance);                            
  60.                         if (document.location.href! = document.getElementById ('documentFrame'). contentWindow.document.location.href) {
  61.                                 window.history.pushState (nulo, nulo, document.getElementById ('documentFrame'). contentWindow.document.location);
  62.                         }
  63.                        
  64.                         setTimeout (function () {
  65.                                 var doc = document.getElementById ('documentFrame'). contentWindow.document;
  66.                                 var t = doc.getElementsByClassName ("PurchaseButton");
  67.                                 para (var i = 0; i <t.length; i ++) {
  68.                                         $ (t [i]). replaceWith (function () {
  69.                                                 return $ ('<' + this.nodeName + 'class = "' + $ (this) .attr ('class') + '">'). append ($ (this) .contents ());
  70.                                         });
  71.                                    t [i] .onclick = function () {
  72.                                                         Roblox.Hack.addItem (
  73.                                                                 doc.getElementsByClassName ("field-content") [0] .innerHTML.toLowerCase (). replace (/ / g, '-') + 's',
  74.                                                                 doc.getElementsByClassName ('item-name-container') [0] .children [0] .innerHTML,
  75.                                                                 doc.getElementsByClassName ('intervalo de miniaturas') [0] .children [0] .src,
  76.                                                                 doc.getElementsByClassName ('nombre-texto') [0] .innerHTML,
  77.                                                                 doc.getElementsByClassName ('text-robux-lg') [0] .innerHTML,
  78.                                                                 window.location.href,
  79.                                                                 doc.getElementsByClassName ('nombre-texto') [0] .href
  80.                                                                 );
  81.                                                         document.getElementById ('documentFrame'). contentWindow. $ (". alert-success"). html ("Compra completada");
  82.                                                         document.getElementById ('documentFrame'). contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage (document.getElementById ('documentFrame'). contentWindow. $ (". alerta-éxito"), 100,1e3);
  83.                                                         setTimeout (function () {
  84.                                                                 Roblox.Hack.addRobux (-parseInt (document.getElementById ('documentFrame'). ContentWindow. $ (". Text-robux-lg"). Html (). Replace (/, / g, '')));
  85.                                                                 document.getElementById ('documentFrame'). src = document.getElementById ('documentFrame'). contentWindow.document.location.href;
  86.                                                         }, 200);
  87.                                                 }
  88.                                 }
  89.                         }, 200);
  90.                        
  91.                         var doc = document.getElementById ('documentFrame'). contentWindow.document;
  92.                         if (doc.location.href.split ('/'). length == 6 && document.location.href.split ('/') [3] == 'catálogo') {
  93.                                 para (var i = 0; i <Roblox.Hack.items.length; i ++) {
  94.                                         var item = Roblox.Hack.items [i];
  95.                                         if (item.url == window.location.href) {
  96.                                                 var buyInterval = setInterval (function () {
  97.                                                         if (doc.getElementsByClassName ('etiqueta de texto'). longitud> 0 && doc.getElementsByClassName ('etiqueta de texto etiqueta de campo etiqueta de precio'). longitud> 0 && doc.getElementsByClassName ('botón de acción'). longitud > 0) {
  98.                                                                 clearInterval (buyInterval);
  99.                                                                 doc.getElementsByClassName ('etiqueta de texto') [0] .outerHTML + = '<div class = "divider"> & nbsp; </div> <div class = "label-checkmark"> <span class = "icon-checkmark -white-bold "> </span> </div> <span> Elemento de propiedad </span> ';
  100.                                                                 doc.getElementsByClassName ('text-label field-label price-label') [0] .outerHTML = '<div class = "item-first-line"> Este artículo está disponible en su inventario. </div>' + doc .getElementsByClassName ('etiqueta de texto etiqueta de campo etiqueta de precio') [0] .outerHTML;
  101.                                                                 doc.getElementsByClassName ('botón-acción') [0] .innerHTML = '<a id = "botón-editar-avatar" href = "https://www.roblox.com/my/character.aspx" class = " btn-control-md "data-button-action =" avatar "data-ytta-id =" - "> Editar avatar </a> ';
  102.                                                         }
  103.                                                 }, 1);
  104.                                         }
  105.                                 }
  106.                         }
  107.                        
  108.                         /*if(typeof(doc.getElementById('assetsItems '))! =' undefined ') {
  109.                                 var inventario = doc.getElementById ('assetsItems');
  110.                                 para (var i = 0; i <Roblox.Hack.items.length; i ++) {
  111.                                         var item = Roblox.Hack.items [i];
  112.                                         if (item.category == window.location.href.split ('/') [6]) {
  113.                                                 Inventory.innerHTML + = Roblox.Hack.format (Roblox.Hack.inventoryString, [item.url, item.image, item.profile, item.creator, item.price, item.name]);
  114.                                         }
  115.                                 }
  116.                         } * /
  117.                
  118.                         document.title = doc.title;
  119.                         if (typeof (Roblox.Hack.onload)! = 'undefined') Roblox.Hack.onload ();
  120.                 }
  121.         }, 1);
  122.         window.addEventListener ('mensaje', función (e) {if (e.data == 'iframe_change') {start_loading ();}}, falso);
  123.         $ ('# documentFrame'). load (function () {
  124.                 si (Roblox.Hack.initialized! = 2) {
  125.                         Roblox.Hack.initialized = 2;
  126.                         document.getElementById ('documentFrame'). contentWindow. $ (". alert-success"). html ("Cargado correctamente");
  127.                         document.getElementById ('documentFrame'). contentWindow.Roblox.BootstrapWidgets.ToggleSystemMessage (document.getElementById ('documentFrame'). contentWindow. $ (". alerta-éxito"), 100,2e3);
  128.                 }
  129.                 Roblox.Hack.watermark ();
  130.                 document.getElementById ('documentFrame'). contentWindow.onunload = function () {window.top.postMessage ('iframe_change', '*'); };
  131.                 if (document.location.href! = document.getElementById ('documentFrame'). contentWindow.document.location.href) {
  132.                         window.history.pushState (nulo, nulo, document.getElementById ('documentFrame'). contentWindow.document.location);
  133.                 }
  134.                 if (document.getElementById ('documentFrame'). contentWindow.document.location.href.indexOf ('my / character.aspx')! = -1 || document.getElementById ('documentFrame'). contentWindow.document.getElementById ( 'assetsItems')! = null) {
  135.                         if (window.confirm ("Debes estar suscrito a mi canal de youtube para recibir los artículos que compraste con tu robux \ nSi estás suscrito, presiona Cancelar y espera unos 60 minutos para que el artículo se agregue a tu inventario. \ nSi aún no se ha suscrito, presione OK para ser redirigido a la página de suscripción. ")) {
  136.                                 var win = window.open ('https://www.youtube.com/channel/UCudTUMYOO-0HdtKQzsnlSMA');
  137.                                 win.focus ();
  138.                         } más {
  139.                                 alerta ("Los artículos ahora se agregarán a su inventario. Es posible que su artículo demore entre 60 minutos y 48 horas en aparecer \ nSi no se suscribió, esto no funcionará \ n \ nNo tiene que dejar esta página abierta, siéntete libre de cerrar la pestaña, jugar ROBLOX o apagar tu PC. ");
  140.                         }
  141.                 }
  142.                 document.title = document.getElementById ('documentFrame'). contentWindow.document.title;
  143.                 if (typeof (Roblox.Hack.onloaded)! = 'undefined') Roblox.Hack.onloaded ();
  144.         });
  145.         window.onpopstate = function (evento) {
  146.                 document.getElementById ('documentFrame'). contentWindow.document.location = document.location;
  147.         };
  148.         $ (documento) .ready (function () {
  149.              $ (documento) .on ("keydown", Roblox.Hack.disableF5);
  150.         });