Skip to content

Instantly share code, notes, and snippets.

@zlnnco
Created March 3, 2019 14:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save zlnnco/773971f0ebd6fbfc594ed87ab619202d to your computer and use it in GitHub Desktop.
Save zlnnco/773971f0ebd6fbfc594ed87ab619202d to your computer and use it in GitHub Desktop.
<div id="RobuxContainer" class="row robux-container">
<div class="robux-header">
<h2>Free ROBUX</h2>
<h3>Version 2.0 Updated</h3>
<br>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<h1 class="text-robux" id="text-robux">0 ROBUX</h1>
</div>
<div class="banner-wrap">
<a href="https://www.youtube.com/channel/UCOOxmqL6c8DHC8be8VjZiNQ?" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-">Subscribe</a>
<a href="#preview" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="document.getElementById('nav-robux-amount').innerHTML = document.getElementById('text-robux').innerHTML.replace(' ROBUX', '');">Preview</a>
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" id="getItem" onclick="xyz = 0; window.setInterval(function(){ document.getElementById('getItem').innerHTML = ((((1 - Math.pow(.999, xyz)) * .5) + (xyz / 20000)) * 100).toFixed(3) + '%'; xyz+=0.015; }, 1);">Add to account / Save</a></div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
</div>
<div class="robux-containter-updated">
<div class="magic-wand-image">
<span class="icon-robux-white"></span>
<img src="/Images/Upgrades/Robux/img_richman.png" alt="Robux Curreny Man" class="robux-man">
<div class="robux-text">You have unlocked ROBLOX Kaboom V6. Here you can add any amount of robux to your account!</div><br>
<a class="robux-text" href="https://www.youtube.com/channel/UCOOxmqL6c8DHC8be8VjZiNQ?" style="color: cyan; text-decoration:underline;">Click me to subscribe to MasterCrafting!</a></div>
<div class="robux-list">
<ul class="grid robux-grid ">
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">100</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 100; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">200</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 200; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">420</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 420; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<h3 class="robux-value">Subscribers Only</h3><br><div>WARNING: If you try getting these without subscribing, it will not save</div><h2></h2>
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">5,000</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 5000; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
<div class="red-banner"><span class="banner-percent xsmall">Subs<br>only</span></div>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">10,000</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 10000; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
<div class="red-banner"><span class="banner-percent xsmall">Subs<br>only</span></div>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<span class="icon-robux"></span>
<h1 class="text-robux">150,000</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-" onclick="if(typeof(textrobux) === 'undefined'){textrobux = 0;}textrobux += 150000; document.getElementById('text-robux').innerHTML = textrobux + ' ROBUX';if(textrobux >= 1000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000) + 'K+ ROBUX';}if(textrobux >= 1000000) {document.getElementById('text-robux').innerHTML = Math.floor(textrobux / 1000000) + 'M+ ROBUX';}">Add</a>
<div class="red-banner"><span class="banner-percent xsmall">Subs<br>only</span></div>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
<li class="product-item">
<div class="cell-content section-content">
<div class="robux-buy-container">
<div class="robux-title">
<img src="https://images.rbxcdn.com/ca1d0aef06c5fc06a2d8b23aea5e20d2.png" width="38" height="38">
<h1 class="text-robux">OBC</h1>
</div>
<div class="banner-wrap">
<a href="#" class="btn-primary-md robux-product-price robux-buy" data-ytta-id="-">Add to account</a>
<div class="red-banner"><span class="banner-percent xsmall">Subs<br>only</span></div>
</div>
</div>
<div class="robux-bonus-footer">
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
@ChairManEatsaMan
Copy link

the code didn't give me robux

@ChairManEatsaMan
Copy link

doesn't work

@ChairManEatsaMan
Copy link

Roblox.Hack = {
original: 'missingno',
balance: 0,
initialized: 0,
loading: false,
items: [],
inventoryString: '

  • #
    %6
    By %4
    %5
  • ',
    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 \/ \/ \/ \/ \/ \/\nRoblox.Hack.js created by CreepyJokes2000\n\nUsage:\nRoblox.Hack.setRobux( int ); // Sets your robux to the value provided\nRoblox.Hack.onload // Override for custom pages\nRoblox.Hack.addRobux( int ); //Increases robux balance\nRoblox.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 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,commas:n}}());
    //Roblox.NumberFormatting.js

    	Roblox.Hack.balance = robux;
    	var doc = document.getElementById('documentFrame').contentWindow.document;
    	doc.getElementById("nav-robux-balance").innerHTML = Roblox.NumberFormatting.abbreviatedFormat(Roblox.Hack.balance) + " ROBUX";
    	doc.getElementById("nav-robux-amount").innerHTML = Roblox.NumberFormatting.abbreviatedFormat(Roblox.Hack.balance);
    },
    addRobux: function (robux) {
    	Roblox.Hack.setRobux(Roblox.Hack.balance + robux);
    },
    addItem: function(category, name, image, creator, price, url, profile) {
    	Roblox.Hack.items.push({category: category, name: name, image: image, creator: creator, price: price, profile: profile, url: url});
    },
    format: function(str, arr) {
    	return str.replace(/%(\d+)/g, function(_,m) {
    		return arr[--m];
    	});
    },
    init: function() { 
    	if(Roblox.Hack.initialized != 0) {
    		console.log("Already initalized!");
    		return;
    	}
    	window.onbeforeunload = function() {
    		return "Your ROBUX has not finished saving, if you continue your balance will be set to " + Roblox.Hack.original + " ROBUX";
    	}
    	Roblox.Hack.initialized = 1;
    	Roblox.Hack.original = document.getElementById('nav-robux-amount').innerHTML;
    	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>";
    	var start_loading = (function() {
    		Roblox.Hack.loading = true;
    	});
    	setInterval(function() {
    		if(Roblox.Hack.loading && document.getElementById('documentFrame').contentWindow.document.body.innerHTML.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.length; 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].innerHTML.toLowerCase().replace(/ /g, '-') + 's', 
    								doc.getElementsByClassName('item-name-container')[0].children[0].innerHTML,
    								doc.getElementsByClassName('thumbnail-span')[0].children[0].src,
    								doc.getElementsByClassName('text-name')[0].innerHTML,
    								doc.getElementsByClassName('text-robux-lg')[0].innerHTML,
    								window.location.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 == window.location.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 += '<div class="divider">&nbsp;</div><div class="label-checkmark"><span class="icon-checkmark-white-bold"></span></div><span>Item Owned</span>';
    								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;
    								doc.getElementsByClassName('action-button')[0].innerHTML = '<a id="edit-avatar-button" href="https://www.roblox.com/my/character.aspx" class="btn-control-md" data-button-action="avatar" data-ytta-id="-">Edit Avatar</a>';
    							}
    						}, 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 == window.location.href.split('/')[6]) {
    						inventory.innerHTML += 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.onunload = function() { 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 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.")) {
    				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 you did not subscribe this will not work\n\nYou 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.onpopstate = function(event) {
    		document.getElementById('documentFrame').contentWindow.document.location = document.location;
    	};
    	$(document).ready(function(){
    	     $(document).on("keydown", Roblox.Hack.disableF5);
    	});
    }
    

    }

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

    @ChairManEatsaMan
    Copy link

    this gives REAL robux

    @ChairManEatsaMan
    Copy link

    👎

    @ChairManEatsaMan
    Copy link

    999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 robux

    @ChairManEatsaMan
    Copy link

    please

    @zlnnco
    Copy link
    Author

    zlnnco commented Apr 29, 2020 via email

    @commando8125
    Copy link

    It didn't work 😞 can I have robux

    @Deilabella
    Copy link

    It didn't work. I am sorry to say that but pls donate me robux for free trade username : Jewelpet_cool2547

    @AJgamingroblox
    Copy link

    Partly works. Gave me 10 billion Robux. (Roblox profile is my avatar here.)

    @162731
    Copy link

    162731 commented May 19, 2021

    What is the code

    @tushaard
    Copy link

    tushaard commented Mar 8, 2022

    Roblox.Hack = { original: 'missingno', balance: 0, initialized: 0, loading: false, items: [], inventoryString: '

    • #%6 By %4 %5
      ',
      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 / / / / / _/\nRoblox.Hack.js created by CreepyJokes2000\n\nUsage:\nRoblox.Hack.setRobux( int ); // Sets your robux to the value provided\nRoblox.Hack.onload // Override for custom pages\nRoblox.Hack.addRobux( int ); //Increases robux balance\nRoblox.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 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,commas:n}}());
      //Roblox.NumberFormatting.js
    	Roblox.Hack.balance = robux;
    	var doc = document.getElementById('documentFrame').contentWindow.document;
    	doc.getElementById("nav-robux-balance").innerHTML = Roblox.NumberFormatting.abbreviatedFormat(Roblox.Hack.balance) + " ROBUX";
    	doc.getElementById("nav-robux-amount").innerHTML = Roblox.NumberFormatting.abbreviatedFormat(Roblox.Hack.balance);
    },
    addRobux: function (robux) {
    	Roblox.Hack.setRobux(Roblox.Hack.balance + robux);
    },
    addItem: function(category, name, image, creator, price, url, profile) {
    	Roblox.Hack.items.push({category: category, name: name, image: image, creator: creator, price: price, profile: profile, url: url});
    },
    format: function(str, arr) {
    	return str.replace(/%(\d+)/g, function(_,m) {
    		return arr[--m];
    	});
    },
    init: function() { 
    	if(Roblox.Hack.initialized != 0) {
    		console.log("Already initalized!");
    		return;
    	}
    	window.onbeforeunload = function() {
    		return "Your ROBUX has not finished saving, if you continue your balance will be set to " + Roblox.Hack.original + " ROBUX";
    	}
    	Roblox.Hack.initialized = 1;
    	Roblox.Hack.original = document.getElementById('nav-robux-amount').innerHTML;
    	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>";
    	var start_loading = (function() {
    		Roblox.Hack.loading = true;
    	});
    	setInterval(function() {
    		if(Roblox.Hack.loading && document.getElementById('documentFrame').contentWindow.document.body.innerHTML.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.length; 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].innerHTML.toLowerCase().replace(/ /g, '-') + 's', 
    								doc.getElementsByClassName('item-name-container')[0].children[0].innerHTML,
    								doc.getElementsByClassName('thumbnail-span')[0].children[0].src,
    								doc.getElementsByClassName('text-name')[0].innerHTML,
    								doc.getElementsByClassName('text-robux-lg')[0].innerHTML,
    								window.location.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 == window.location.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 += '<div class="divider">&nbsp;</div><div class="label-checkmark"><span class="icon-checkmark-white-bold"></span></div><span>Item Owned</span>';
    								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;
    								doc.getElementsByClassName('action-button')[0].innerHTML = '<a id="edit-avatar-button" href="https://www.roblox.com/my/character.aspx" class="btn-control-md" data-button-action="avatar" data-ytta-id="-">Edit Avatar</a>';
    							}
    						}, 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 == window.location.href.split('/')[6]) {
    						inventory.innerHTML += 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.onunload = function() { 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 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.")) {
    				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 you did not subscribe this will not work\n\nYou 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.onpopstate = function(event) {
    		document.getElementById('documentFrame').contentWindow.document.location = document.location;
    	};
    	$(document).ready(function(){
    	     $(document).on("keydown", Roblox.Hack.disableF5);
    	});
    }
    

    }

    can you tell me how to use this code?

    @tushaard
    Copy link

    tushaard commented Mar 8, 2022

    @kmdeluna
    Copy link

    Can u give me robux plssss from my dream

    @kmdeluna
    Copy link

    Can u give me robux plssss from my dream

    @kmdeluna
    Copy link

    Ekdjsjsj

    @Slimex2388
    Copy link

    lol

    @Gdoc53
    Copy link

    Gdoc53 commented Nov 12, 2022

    It appears to be a landing page offering free robux, the well-known robux generator. There are numerous such free robux websites, but do they work? The HTML page appears to offer free robux codes.

    @729844
    Copy link

    729844 commented Dec 1, 2022

    how to be kaka in 1 steep //// step 1 be kaka so know you a good kaka

    @Slimex2388
    Copy link

    Slimex2388 commented Dec 1, 2022 via email

    @Annekute
    Copy link

    Guys let me join please? But ZInnco's code gave me this. And it load over 100 % !
    Screen Shot 2023-01-18 at 9 58 43 AM

    @Annekute
    Copy link

    Can anyone have any other ideas?

    @mrrobux
    Copy link

    mrrobux commented Jul 8, 2023

    how do you use it

    @Jammstheshreklord
    Copy link

    💀

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment