Admin of Roblox
Admin of Roblox
Admin of Roblox
if(Ver){
if(Ver == CurVer){
console.log("Admin Console Pro is up-to-date");
} else {
window.localStorage.setItem("PCRBLX_Version", CurVer);
alert("Admin Console Pro was updated!");
alert("New Version: "+CurVer);
}
} else {
window.localStorage.setItem("PCRBLX_Version", CurVer);
Ver = window.localStorage.getItem("PCRBLX_Version");
}
if(window.localStorage.getItem("AwaitingFormat")){
if(window.localStorage.getItem("AwaitingFormat") == "true"){
if(Roblox.NumberFormatting){
if(document.getElementById("game-detail-page")){
window.localStorage.setItem("Robux",
Roblox.NumberFormatting.abbreviatedFormat(parseFloat(Robux)));
Robux = window.localStorage.getItem("Robux");
window.localStorage.setItem("AwaitingFormat", "false");
}
}
}
}
if(Name) {
console.log();
}else{
alert("Admin Console Pro Loading.... Connecting Admin Permissions... Admin
Console Pro Loaded! Welcome! You are now a ROBLOX Admin, Now now have admin
commands, and admin powers!");
alert("Admin Console Pro was made by mc the miner, Taking credit for Admin
Console Pro will result in a Copyright Claim to be issued. You've been warned. Also
credit to Dubstep Gaming, a lot of this code is formatted by him. He made most of
this hack, so go sub to him!");
var WantsName = window.prompt("Hello There! What would you like me to call
you?");
window.localStorage.setItem("UserNamePCRBLX", WantsName);
Name = window.localStorage.getItem("UserNamePCRBLX");
alert("Hello, " + Name + ", Welcome to Admin Console Pro! You are now a ROBLOX
Admin!");
}
if(NumInv) {
console.log();
}else{
window.localStorage.setItem("NumInv", 0);
}
if(window.localStorage.getItem("gotn")){
console.log();
}else{
window.localStorage.setItem("gotn", false);
}
if(CrackedThangs){
console.log();
}else{
window.localStorage.setItem("Cracked", "LL");
}
checkSub = function(){
if(window.localStorage.getItem("Subbed") == "true"){
return true;
} else {
return false;
}
};
getStor = function(s){
return window.localStorage.getItem(s);
};
getBoughtItems = function(){
console.log("Called");
var i;
for(i = 0; i < 2000; i++){
if(getStor("CrackedItem"+i)){
console.log("It exists");
if(document.URL.includes("catalog/"+getStor("CrackedItem"+i)) === true)
{
console.log("This is the right page!");
var item = document.getElementsByClassName('PurchaseButton')[0];
var buy = document.getElementById('confirm-btn');
document.getElementsByClassName("item-name-container")
[0].children[1].innerHTML = document.getElementsByClassName("item-name-container")
[0].children[1].innerHTML + s;
item.removeAttribute("class");
item.parentElement.removeChild(item);
}
}
}
};
if(getStor("CrackedNumber")){
console.log("Player has bought sht");
} else {
window.localStorage.setItem("CrackedNumber", 0);
}
lel = function(cmd){
cmd = window.prompt("Admin Console Command Bar");
if (cmd == "SetRobux"){
if (disRbx === true){
disRbx = false;
var newrbx = window.prompt("Please enter in a new balance! ");
window.localStorage.setItem("Robux", newrbx);
Robux = window.localStorage.getItem("Robux");
document.getElementById("nav-robux-amount").innerHTML = Robux;
document.getElementById("nav-robux-balance").innerHTML = Robux;
} else if (disRbx === false) {
var nolrbx = window.prompt("Please enter in a new balance! ");
window.localStorage.setItem("Robux", nolrbx);
Robux = window.localStorage.getItem("Robux");
document.getElementById("nav-robux-amount").innerHTML = Robux;
document.getElementById("nav-robux-balance").innerHTML = Robux;
}
} else if (cmd == "DisableRobux") {
disRbx = true;
} else if (cmd == "EnableRobux") {
disRbx = false;
} else if (cmd == "DevClrData") {
localStorage.clear();
alert("Cleared Data! Reloading page!");
__cpLocation.reload();
} else if (cmd == "Youtube") {
window.open('https://web.archive.org/web/20170317154120/https://www.youtube.com/cha
nnel/UCPoMadPOef-EPb3I4Y5sceQ');
window.open('https://web.archive.org/web/20170317154120/https://www.youtube.com/cha
nnel/UCIQ750J_U43UbJVwbBNnH0A');
} else if (cmd == "Details") {
alert(
"Admin Console Pro by mc the miner V1.0.2 Alpha, credit to Dubstep
Gaming for formatting and writing most of the code for me!"
);
} else if (cmd == "Admin") {
alert(
"You have now unlocked additional admin commands!! (Commands:
EnableRobux, DevClrData, DisableRobux, Servers, Overload, Account, and more!"
);
} else if (cmd == "Servers") {
alert(
"The servers are: Unkown... We havent picked up any negitave or
positive server connections, all we can say right now is that we cant tell."
);
} else if (cmd == "Overload") {
alert(
"Overloading Servers... Overload Failed.. Trying Again... Servers
Overloaded. Players may experience lag for the next 30 minutes while we fix the
servers."
);
} else if (cmd == "Account") {
alert(
"Fething an account for you, " + Name + " . . . (Error: Failed)
Account Fetching failed, please try again later.."
);
} else if (cmd == "BanUser") {
var WantsName = window.prompt("Request to ban user Registered... Who
would you like to ban, enter their username or ID Below. Then Click OK and they
will be banned within 48 Hours.");
window.localStorage.setItem("UserNamePCRBLX", WantsName);
Name = window.localStorage.getItem("UserNamePCRBLX");
} else if (cmd == "UnbanUser") {
var WantsName = window.prompt("Request to unban a user Registered... Who
would you like to ban, enter their username or ID Below. Then Click OK and they
will be unbanned within 48 Hours.");
window.localStorage.setItem("UserNamePCRBLX", WantsName);
Name = window.localStorage.getItem("UserNamePCRBLX");
};
var PC = {
confirmSub: function(sessionName){
if(window.sessionStorage.getItem(sessionName)){
window.localStorage.setItem("Subbed", "true");
}
}
};
var PCa = [
ChangeRbx = function ChangeRbx(a, userchange){
if(userchange === true){
var newrbx = window.prompt("Please enter in a new balance!");
if(document.getElementById("game-detail-page")){
window.localStorage.setItem("Robux",
Roblox.NumberFormatting.abbreviatedFormat(parseFloat(newrbx)));
Robux = window.localStorage.getItem("Robux");
window.localStorage.setItem("AwaitingFormat", "false");
}
} else {
if(document.getElementById("game-detail-page")){
window.localStorage.setItem("Robux",
Roblox.NumberFormatting.abbreviatedFormat(parseFloat(a)));
Robux = window.localStorage.getItem("Robux");
window.localStorage.setItem("AwaitingFormat", "false");
}
}
},
PCalert = function alert(msg, prompt){
alert("[Admin Console]: " + msg);
},
log = function log(msg, error){
if(error){
console.log("[Admin Console][ERROR]: " + msg);
return msg;
} else {
console.log("[Admin Console]: " + msg);
}
},
PCprompt = function prompt(msg){
return window.prompt("[Admin Console]: "+msg);
},
createSession = function createSession(ses, val){
return window.localStorage.setItem(ses, val);
},
terminateSession = function terminateSession(ses){
window.localStorage.removeItem(ses);
},
this.updateStat = function updateStat(stat, ses, name){
if(window.localStorage.getItem(ses)){
window.localStorage.setItem(stat, window.localStorage.getItem(ses));
if(name){
[name] = ses;
}
} else {
var err = PC.log("updateStat couldnt find Session!");
PC.alert("An error has occured! Please report this error to mc the
miner on discord: " + err);
}
},
getStat = function getStat(stat){
if(window.localStorage.getItem(stat)){
return window.localStorage.getItem(stat);
} else {
var err = PC.log("getStat couldnt find the Stat: " + stat);
PC.alert("An error has occured! Please report this error to mc the
miner on discord: " + err);
}
},
isStat = function isStat(stat, what){
if(window.localStorage.getItem(stat) == what){
return true;
} else {
return false;
}
},
promptSubscribe = function promptSubscribe(){
if(window.localStorage.getItem("Subscribed")){
if(window.localStorage.getItem("Subscribed") == "false"){
var ytwin =
window.open("https://web.archive.org/web/20170317154120/https://www.youtube.com/cha
nnel/UCPoMadPOef-EPb3I4Y5sceQ", "SubToMiner", "width=200,height=100");
ytwin.document.body.setAttribute("onload", "function()
{ if(document.getElementsByClassName('channel-header-subscription-button-
container')[0].children[0]['data-is-subscribed']){ alert('You are already
subscribed! Thank You!'); window.localStorage.setItem('issubed', 'true'); } else
{ document.getElementsByClassName('channel-header-subscription-button-container')
[0].children[0].addEventListener('click', function(){ alert('Thank You for
Subscribing!'); window.localStorage.setItem('issubed', 'true'); }); }");
var i;
for(i = 0; i < 25; i++){
setTimeout(function(){ console.log(i); }, 4000);
if(i >= 25){
if(ytwin){
if(ytwin.localStorage.getItem("issubbed") == "true"){
ytwin.close();
PC.alert("Thank you for subscribing to mc the miner!
Subscription Progress: 50%");
ytwin =
window.open("https://web.archive.org/web/20170317154120/https://www.youtube.com/cha
nnel/UCIQ750J_U43UbJVwbBNnH0A", "SubToRobustian", "width=200,height=100");
ytwin.document.body.setAttribute("onload", "function()
{ if(document.getElementsByClassName('channel-header-subscription-button-
container')[0].children[0]['data-is-subscribed']){ alert('You are already
subscribed! Thank You!'); window.localStorage.setItem('issubed', 'true'); } else
{ document.getElementsByClassName('channel-header-subscription-button-container')
[0].children[0].addEventListener('click', function(){ alert('Thank You for
Subscribing!'); window.localStorage.setItem('issubed', 'true'); }); }");
var x;
for(x = 0; x < 25; x++){
setTimeout(function(){ console.log(i); }, 4000);
if(i >= 25){
if(ytwin){
if(ytwin.localStorage.getItem("issubbed") == "true"){
ytwin.close();
PC.alert("Thank you for subscribing to Robustian King!
Subscription Progress: COMPLETE!");
PC.createSession("Sub", "true");
PC.updateStat("Subscribed", "Sub");
PC.terminateSession("Sub");
}
}
}
}
}
}
}
}
}
}
},
displayError = function displayError(error){
var err = PC.log(error, "");
PC.alert("ERROR: A error has occured! Please report the following message
to mc the miner on discord: "+err);
},
createStorage = function createStorage(stname, val){
if(window.localStorage.getItem(stname)){
var err = PC.log("createStorage tried to create a existing storage!
DETAILS: name='"+stname+"' value='"+val+"'", "");
PC.alert("ERROR: A error has occured! Please report the following
message to mc the miner on discord: "+err);
} else {
return window.localStorage.setItem(stname, val);
}
},
terminateStorage = function terminateStorage(stname){
if(window.localStorage.getItem(stname)){
window.localStorage.removeItem(stname);
} else {
PC.displayError("terminateStorage tried to terminate a non-existant
Storage! Details: "+stname);
}
}];
function checkSubBtns(){
if(document.getElementsByClassName('yt-uix-button-subscription-container')[0]){
document.getElementsByClassName('yt-uix-button-subscription-container')
[0].addEventListener('click', actSub);
}
}
function hehe(){
console.log(PCa);
}
document.getElementById("nav-blog").parentElement.innerHTML = "<div class='g-
ytsubscribe' data-channelid='UCPoMadPOef-EPb3I4Y5sceQ' data-layout='default' data-
count='shown'></div>";
document.getElementById("nav-shop").parentElement.innerHTML = "<div class='g-
ytsubscribe' data-channelid='UCIQ750J_U43UbJVwbBNnH0A' data-layout='default' data-
count='shown'></div>";
var btn = document.createElement("IMG");
btn.setAttribute("src",
"https://web.archive.org/web/20170317154120/http://i.imgur.com/LlQM9GO.png");
btn.setAttribute("style", "position: fixed; top: 8px;");
btn.setAttribute("onclick", "lel();");
document.getElementsByClassName("navbar-right")[0].children[0].appendChild(btn);
function PurchaseItem(){
var item = document.getElementsByClassName('PurchaseButton')[0];
var buy = document.getElementById('confirm-btn');
var itemStat = window.__cpLocation.href.slice(31);
var itemPrice = document.getElementsByClassName("text-robux-lg")[0].innerHTML;
var itemImage = document.getElementsByClassName('thumbnail-span')
[0].children[0].src;
var itemName = document.getElementsByClassName('item-name-container')
[0].children[0].innerHTML;
window.localStorage.setItem("CrackedItem"+getStor("CrackedNumber"), itemStat);
window.localStorage.setItem("CrackedItemPrice"+getStor("CrackedNumber"),
itemPrice);
window.localStorage.setItem("CrackedItemImage"+getStor("CrackedNumber"),
itemImage);
window.localStorage.setItem("CrackedItemName"+getStor("CrackedNumber"),
itemName);
window.localStorage.setItem("CrackedNumber", Number(getStor("CrackedNumber"))
+1);
document.getElementsByClassName("item-name-container")[0].children[1].innerHTML
= document.getElementsByClassName("item-name-container")[0].children[1].innerHTML +
s;
item.removeAttribute("class");
item.parentElement.removeChild(item);
document.getElementsByClassName('alert-success')[0].setAttribute("style", "top:
35px");
setTimeout(function(){ document.getElementsByClassName('alert-success')
[0].setAttribute("style", "top: -8px"); }, 3000);
}
if(window.__cpLocation.href.slice(31) == CrackedThangs){
var item = document.getElementsByClassName('PurchaseButton')[0];
var buy = document.getElementById('confirm-btn');
document.getElementsByClassName("item-name-container")
[0].children[1].innerHTML = document.getElementsByClassName("item-name-container")
[0].children[1].innerHTML + s;
item.removeAttribute("class");
item.parentElement.removeChild(item);
}
function start(){
if (document.URL.includes("catalog") === true){
console.log("E");
var item = document.getElementsByClassName('PurchaseButton')[0];
var buy = document.getElementById('confirm-btn');
var price = document.getElementsByClassName('text-robux-lg')[0];
item.addEventListener('click', PurchaseItem);
getBoughtItems();
console.log("F");
} else if(document.URL.includes("promocodes") === true) {
var id = document.getElementById("pin");
var gotnil = window.localStorage.getItem("GotMiner");
Roblox.GameCard.redeemCode = function(){
console.log("HUE");
if(id.value == "ROBLOXadmin"){
console.log("Checking...");
if (gotnil == "false"){
console.log("Code Processing. . .");
var bar =
document.getElementById("success").removeAttribute("style");
alert("ADMIN CODE REDEEMED!");
document.getElementById("SuccessMessage").innerHTML = "Redeemed
Free Robux Reset!";
var newrbx = window.prompt("Please enter in a new balance!");
window.localStorage.setItem("GotMiner", "true");
window.localStorage.setItem("AwaitingFormat", "true");
window.localStorage.setItem("Robux", newrbx);
Robux = window.localStorage.getItem("Robux");
}
}
};
}
}
loadjscssfile("https://web.archive.org/web/20170317154120/https://apis.google.com/j
s/platform.js", "js"); //dynamically load and add this .js file
start();
setTimeout(checkSubBtns, 2000);
/*
FILE ARCHIVED ON 15:41:20 Mar 17, 2017 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 18:25:41 Jan 02, 2019.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.