Skip to content

Instantly share code, notes, and snippets.

@R1DD1387
Created February 28, 2020 12:37
Show Gist options
  • Save R1DD1387/0756d2675e21410afd0d7f32382bf63e to your computer and use it in GitHub Desktop.
Save R1DD1387/0756d2675e21410afd0d7f32382bf63e to your computer and use it in GitHub Desktop.
Modmenu for the game Prodigy
function closeit(){
prodigydiv.remove()
}
setTimeout("closeit", 3000);
function getallCurrencies() {
PIXI.game.prodigy.player.backpack.data.currency=[]
x = PIXI.game.state.states.Boot._gameData.currency
for (i in x) {
PIXI.game.prodigy.player.backpack.data.currency[i] = {"ID": x[i].ID, "N": 9999999999}
}
}
function getallBuddies() {
PIXI.game.prodigy.player.backpack.data.follow=[]
x = PIXI.game.state.states.Boot._gameData.follow
for (i in x) {
PIXI.game.prodigy.player.backpack.data.follow[i] = {"ID": x[i].ID, "N": 1}
}
}
function getallItems() {
PIXI.game.prodigy.player.backpack.data.item=[]
x = PIXI.game.state.states.Boot._gameData.item
for (i in x) {
PIXI.game.prodigy.player.backpack.data.item[i] = {"ID": x[i].ID, "N": 9999999999}
}
}
function getallRelics() {
PIXI.game.prodigy.player.backpack.data.spellRelic=[]
x = PIXI.game.state.states.Boot._gameData.spellRelic
for (i in x) {
PIXI.game.prodigy.player.backpack.data.spellRelic[i] = {"ID": x[i].ID, "N": 99999999999999}
}
}
function getallHats() {
PIXI.game.prodigy.player.backpack.data.hat=[]
x = PIXI.game.state.states.Boot._gameData.hat
for (i in x) {
PIXI.game.prodigy.player.backpack.data.hat[i] = {"ID": x[i].ID, "N": 9999999999999999}
}
}
function getallOutfits() {
PIXI.game.prodigy.player.backpack.data.outfit=[]
x = PIXI.game.state.states.Boot._gameData.outfit
for (i in x) {
PIXI.game.prodigy.player.backpack.data.outfit[i] = {"ID": x[i].ID, "N": 99999999999999}
}
}
function getallBoots() {
PIXI.game.prodigy.player.backpack.data.boots=[]
x = PIXI.game.state.states.Boot._gameData.boots
for (i in x) {
PIXI.game.prodigy.player.backpack.data.boots[i] = {"ID": x[i].ID, "N": 99999999999999}
}
}
function getallWeapons() {
PIXI.game.prodigy.player.backpack.data.weapon=[]
x = PIXI.game.state.states.Boot._gameData.weapon
for (i in x) {
PIXI.game.prodigy.player.backpack.data.weapon[i] = {"ID": x[i].ID, "N": 1}
}
}
function getallGems() {
PIXI.game.prodigy.player.backpack.data.key=[]
x = PIXI.game.state.states.Boot._gameData.key
for (i in x) {
PIXI.game.prodigy.player.backpack.data.key[i] = {"ID": x[i].ID, "N": 1}
}
}
function FreeMembership(){
PIXI.game.prodigy.player.tt=true
}
function levelup(){
PIXI.game.prodigy.player.data.level=100
}
function levelUpPets() {
for (let PetLoopTest = 0; PetLoopTest < PIXI.game.prodigy.player.kennel.data.length; PetLoopTest++) {
PIXI.game.prodigy.player.kennel.data[PetLoopTest].level=100
};
}
var prodigydiv = document.createElement("prodigydiv");
prodigydiv.style.width = "100px";
prodigydiv.style.height = "100px";
prodigydiv.style.background = "black";
prodigydiv.style.color = "purple";
prodigydiv.innerHTML = '<button type="button" onclick="{prodigydiv.remove();}">Close</button> <button type="button" onclick="{FreeMembership();}">Free Membership</button> <button type="button" onclick="{PIXI.game.prodigy.debugMisc.smallLoan(10000000000000);}">1,000,000,000,0000 Coins</button> <button type="button" onclick="{PIXI.game.prodigy.debugMisc.getAllPets();}">Get All Pets</button> <button type="button" onclick="{PIXI.game.prodigy.player.backpack.data.item.push({"N":999999,"ID":130});}">Infinite Wheel Spins</button> <button type="button" onclick="{FreeAtSchool()}">Unlock Zones at School</button> <button type="button" onclick="{levelup()}">Level Up</button> <button type="button" onclick="{levelUpPets()}">Level Up Pets</button> <button type="button" onclick="{PIXI.game.prodigy.player.appearance._name.nickname=7}">W12-4RD Nickname</button> <button type="button" onclick="{getallBuddies()}">Get All Buddies</button> <button type="button" onclick="{getallItems()}">Get All Items</button> <button type="button" onclick="{getallRelics()}">Get All Relics</button> <button type="button" onclick="{getallHats()}">Get All Hats</button> <button type="button" onclick="{getallOutfits()}">Get All Outfits</button> <button type="button" onclick="{getallBoots()}">Get All Boots</button> <button type="button" onclick="{getallWeapons()}">Get All Weapons</button> <button type="button" onclick="{getallGems()}">Get All Gems</button><p>Custom Prodigy Mod Menu made by R1DD13 #8209</p>';
document.body.insertBefore(prodigydiv, document.body.firstChild);
@andrewclark3244
Copy link

ah
oh yeah hello
havent been here in a while
still working on the prodigy legacy?

@Ao28th28
Copy link

Ao28th28 commented Oct 6, 2023

ah oh yeah hello havent been here in a while still working on the prodigy legacy?

Yes

@Ao28th28
Copy link

Ao28th28 commented Oct 6, 2023

1.8.9 was supposed to be a beta testing version back in early 2015.

@Ao28th28
Copy link

Ao28th28 commented Oct 6, 2023

Screenshot 2023-10-06 052653
Bobby Fancywoman in 2015

@andrewclark3244
Copy link

interesting
is the star and moon thing the world symbol
Astrallum

@Ao28th28
Copy link

Ao28th28 commented Oct 8, 2023

interesting is the star and moon thing the world symbol Astrallum

Yes and it's astral

@FortniteKIDPRO
Copy link

i
what to be a membre show me ohw to be a memmbre pleas

@andrewclark3244
Copy link

@andrewclark3244
Copy link

anyway i had a piece of code that suppposedly gets you member ship but it doesn't work sorry
you can go to github.com
and search something like prodigy hack tho

@andrewclark3244
Copy link

whoops i 4got u already on github

@FortniteKIDPRO
Copy link

FortniteKIDPRO commented Nov 3, 2023 via email

@andrewclark3244
Copy link

this is andrewclark3244, superhacker of prodigy!!

@andrewclark3244
Copy link

:))))))))))))))))))))))

@liamisagod11111
Copy link

lol

@andrewclark3244
Copy link

im back

@andrewclark3244
Copy link

i hav full titan shard armor :)

@teachmeplz
Copy link

plz give me the best stuff in prodigy

@Chasehaskobe22
Copy link

Can u do me pls I lost my last account and I need mine good pls

@Chasehaskobe22
Copy link

Send me a email so I can email u with my account

@andrewclark3244
Copy link

o i was away 4 so long lol

@andrewclark3244
Copy link

uh well @teachmeplz u can search up hacks on github, copy the code, open dev console ctrl-shift-j and paste the code and enter it
but the member one doesnt work it aint work 4 me either
@Chasehaskobe22 ur email? i dont know it but i dont recommend sharing ur account. but if u insist sure my email is [email protected]
email me and i can get u some legendary armor, and i think a mount and some pets but mythical epics display but dont work in battles

@andrewclark3244
Copy link

not for me they dont

@Cosmic-Kitten
Copy link

Cosmic-Kitten commented Feb 9, 2025

I fixed the code... I think, test it for Me and see if it works!
menu.innerHTML = this.getMenuContent(); {
document.body.appendChild(menu);
};

getMenuContent() {
return <div style="display: grid; grid-gap: 5px;"> <button onclick="ModMenu.closeMenu()">Close Menu</button> <button onclick="ModMenu.getMembership()">Free Membership</button> <button onclick="ModMenu.getCoins()">Get 1T Coins</button> <button onclick="ModMenu.getAllPets()">Get All Pets</button> <button onclick="ModMenu.getWheelSpins()">Infinite Wheel Spins</button> <button onclick="ModMenu.levelUp()">Level Up to 100</button> <button onclick="ModMenu.levelUpPets()">Level Up All Pets</button> <button onclick="ModMenu.getWizardName()">Get Wizard Name</button> <button onclick="ModMenu.getAllItems()">Get All Items</button> <button onclick="ModMenu.getAllBuddies()">Get All Buddies</button> <button onclick="ModMenu.getAllEquipment()">Get All Equipment</button> <button onclick="ModMenu.getAllCurrency()">Get All Currency</button> </div> <p style="margin-top: 10px; font-size: 12px;">Enhanced Prodigy Mod Menu</p>;
};

closeMenu() {
document.getElementById("prodigy-mod-menu").remove();
};

getMembership() {
PIXI.game.prodigy.player.tt = true;
};

getCoins() {
PIXI.game.prodigy.debugMisc.smallLoan(1e12);
};

getAllPets() {
PIXI.game.prodigy.debugMisc.getAllPets();
};

getWheelSpins() {
PIXI.game.prodigy.player.backpack.data.item.push({"N": 999999, "ID": 130});
};

levelUp() {
PIXI.game.prodigy.player.data.level = 100;
};

levelUpPets() {
PIXI.game.prodigy.player.kennel.data.forEach(pet => pet.level = 100);
};

getWizardName() {
PIXI.game.prodigy.player.appearance._name.nickname = 7;
};

getAllItems() {
const gameData = PIXI.game.state.states.Boot._gameData;
const categories = ['item', 'spellRelic', 'key'];

categories.forEach(category => {
    PIXI.game.prodigy.player.backpack.data[category] = [];
    gameData[category].forEach((item, i) => {
        PIXI.game.prodigy.player.backpack.data[category][i] = {
            ID: item.ID,
            N: 999999999
        };
    });
});

};

getAllBuddies() {
const gameData = PIXI.game.state.states.Boot._gameData;
PIXI.game.prodigy.player.backpack.data.follow = gameData.follow.map(item => ({
ID: item.ID,
N: 1
}));
};

getAllEquipment() {
const gameData = PIXI.game.state.states.Boot._gameData;
const equipment = ['hat', 'outfit', 'boots', 'weapon'];

equipment.forEach(category => {
    PIXI.game.prodigy.player.backpack.data[category] = [];
    gameData[category].forEach((item, i) => {
        PIXI.game.prodigy.player.backpack.data[category][i] = {
            ID: item.ID,
            N: 999999999
        };
    });
});

};

getAllCurrency() {
const gameData = PIXI.game.state.states.Boot._gameData;
PIXI.game.prodigy.player.backpack.data.currency = gameData.currency.map(item => ({
ID: item.ID,
N: 999999999
}));
};

@Cosmic-Kitten
Copy link

If it doesn't work I will be actively working on it

@Cosmic-Kitten
Copy link

ok I have better version
(() => {
// Constants
const MAX_QUANTITY = 9999999999;
const MAX_LEVEL = 100;

// Create menu container
const prodigydiv = document.createElement("div");
prodigydiv.style.width = "200px";
prodigydiv.style.height = "auto";
prodigydiv.style.background = "black";
prodigydiv.style.color = "purple";
prodigydiv.style.padding = "10px";
prodigydiv.style.position = "fixed";
prodigydiv.style.top = "10px";
prodigydiv.style.left = "10px";
prodigydiv.style.zIndex = "9999";

// Game modification functions
const createButton = (text, onClick) => {
    const button = document.createElement('button');
    button.textContent = text;
    button.style.display = 'block';
    button.style.margin = '5px';
    button.onclick = onClick;
    return button;
};

const buttons = [
    ['Close Menu', () => prodigydiv.remove()],
    ['Free Membership', () => PIXI?.game?.prodigy?.player && (PIXI.game.prodigy.player.tt = true)],
    ['Max Coins', () => PIXI?.game?.prodigy?.player && (PIXI.game.prodigy.player.data.gold = MAX_QUANTITY)],
    ['Get All Pets', () => PIXI?.game?.prodigy?.debugMisc?.getAllPets?.()],
    ['Infinite Wheel Spins', () => PIXI?.game?.prodigy?.player?.backpack?.data?.item?.push({N: 999999, ID: 130})],
    ['Level Up', () => PIXI?.game?.prodigy?.player && (PIXI.game.prodigy.player.data.level = MAX_LEVEL)],
    ['Level Up Pets', () => {
        if (PIXI?.game?.prodigy?.player?.kennel?.data) {
            PIXI.game.prodigy.player.kennel.data.forEach(pet => pet.level = MAX_LEVEL);
        }
    }],
    ['W12-4RD Nickname', () => PIXI?.game?.prodigy?.player?.appearance?._name && (PIXI.game.prodigy.player.appearance._name.nickname = 7)],
    ['Get All Items', () => {
        if (PIXI?.game?.state?.states?.Boot?._gameData) {
            const gameData = PIXI.game.state.states.Boot._gameData;
            ['item', 'follow', 'spellRelic', 'hat', 'outfit', 'boots', 'weapon', 'key'].forEach(type => {
                PIXI.game.prodigy.player.backpack.data[type] = gameData[type].map(item => ({
                    ID: item.ID,
                    N: type === 'follow' || type === 'weapon' || type === 'key' ? 1 : MAX_QUANTITY
                }));
            });
        }
    }]
];

// Add buttons to menu
buttons.forEach(([text, onClick]) => {
    prodigydiv.appendChild(createButton(text, onClick));
});

// Add credit text
const credit = document.createElement('p');
credit.textContent = 'Custom Prodigy Mod Menu made by R1DD13 #8209';
credit.style.marginTop = '10px';
prodigydiv.appendChild(credit);

// Add menu to page
document.body.appendChild(prodigydiv);

})();

@andrewclark3244
Copy link

ok so everything in the like grey ish area?

@andrewclark3244
Copy link

in prodigy i think there was a bit of time where you could go over level 100 to 125 max

@andrewclark3244
Copy link

wow its been a year since i last played no joke

@andrewclark3244
Copy link

it doesnt seem to work...

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