Advertisement
Guest User

reeee

a guest
Feb 13th, 2020
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1.  
  2. /* USE AT YOUR OWN RISK! */
  3. /* This is for 'educational purposes' only! */
  4.  
  5. /* MADE BY CAM3R0N */
  6.  
  7. /* -- ALL FUNCTIONS --
  8.  
  9. - Close()
  10. - FreeMembership()
  11. - TrialmasterGear()
  12. - GiveMoney()
  13. - SetLevel()
  14. - LevelPets()
  15. - SetLocation()
  16. - SetNickname()
  17. - GetAllItems()
  18. - GetAllCurrency()
  19. - GetAllFollow()
  20.  
  21. */
  22.  
  23. function Close() {
  24. menu.remove();
  25. menuStyle.remove();
  26. }
  27.  
  28. setTimeout("close", 3000);
  29.  
  30. function FreeMembership() {
  31. PIXI.game.prodigy.player.tt = true;
  32. }
  33.  
  34. function TrialmasterGear() {
  35. PIXI.game.prodigy.player.backpack.data.outfit.push({"N":999999, "ID":24});
  36. PIXI.game.prodigy.player.backpack.data.boots.push({"N":999999, "ID":18});
  37. PIXI.game.prodigy.player.backpack.data.hat.push({"N":999999, "ID":23});
  38. PIXI.game.prodigy.player.backpack.data.weapon.push({"N":1, "ID":47});
  39. }
  40.  
  41. function GiveMoney() {
  42. PIXI.game.prodigy.debugMisc.smallLoan(prompt("How much money do you want? (Warning! If you put an insane amount you run the risk of a ban!)"));
  43. }
  44.  
  45. function SetLevel() {
  46. PIXI.game.prodigy.data.level = prompt("What level do you want? (Max: 100)");
  47. }
  48.  
  49. function LevelPets() {
  50. for (let PetLoopTest = 0; PetLoopTest < PIXI.game.prodigy.player.kennel.data.length; PetLoopTest++) {
  51. PIXI.game.prodigy.player.kennel.data[PetLoopTest].level = 100
  52. };
  53. }
  54.  
  55. function SetLocation() {
  56. PIXI.game.prodigy.player.locationSelectionType = prompt("What will your location string be? (e.i your kitchen making a sandwhich)");
  57. }
  58.  
  59. function SetNickname() {
  60. PIXI.game.state.states.Boot._gameData.nickname[PIXI.game.prodigy.name.nickname] = prompt("What do your want your clientside nickname to be? {first} {last}");
  61. }
  62.  
  63. function GetAllItems() {
  64. PIXI.game.prodigy.player.backpack.data.item = []
  65. x = PIXI.game.state.states.Boot._gameData.item
  66. for (i in x) {
  67. PIXI.game.prodigy.player.backpack.data.item[i] = {"ID": x[i].ID, "N": Infinity}
  68. }
  69. }
  70.  
  71. function GetAllCurrency() {
  72. PIXI.game.prodigy.player.backpack.data.currency = []
  73. x = PIXI.game.state.states.Boot._gameData.currency
  74. for (i in x) {
  75. PIXI.game.prodigy.player.backpack.data.currency[i] = {"ID": x[i].ID, "N": 9e+9999}
  76. }
  77. }
  78.  
  79. function GetAllFollow() {
  80. PIXI.game.prodigy.player.backpack.data.follow = []
  81. x = PIXI.game.state.states.Boot._gameData.currency
  82. for (i in x) {
  83. PIXI.game.prodigy.player.backpack.data.currency[i] = {"ID": x[i].ID, "N": 9e+9999}
  84. }
  85. }
  86.  
  87. function GetAllPets() {
  88. PIXI.game.prodigy.debugMisc.getAllPets();
  89. }
  90.  
  91.  
  92. var menuStyle = document.createElement("style");
  93. menuStyle.innerHTML = '.menuDiv {width: 200px;height: 535px;background-color: rgba(8, 8, 8, 0.7);position: absolute;z-index: 23423;margin: 5px;text-decoration: none;border-radius: 5px;line-height: 1;}.menuDiv p {color: white;text-align: center;font-size: 14px;font-weight: bold;margin-top: 10px;}.menuDiv a {background-color: rgb(215, 10, 10);border-radius: 28px;display: inline-block;color: whitesmoke;font-family: Arial;font-size: 11px;padding: 8px 15px;text-decoration: none;margin: 2px 8px;}';
  94.  
  95. var menu = document.createElement("div");
  96. menu.setAttribute("class", "menuDiv")
  97. menu.innerHTML = '<p>DEV MENU</p><a href="#" onclick="Close();return false;">Close</a><br><a href="#" onclick="FreeMembership();return false;">Free Membership</a><br><a href="#" onclick="PIXI.game.prodigy.debugMisc.smallLoan(1000000);return false;">1 Mill Coins</a><br><a href="#" onclick="PIXI.game.prodigy.debugMisc.getAllPets();return false;">Get All Pets</a><br><a href="#" onclick="PIXI.game.prodigy.player.backpack.data.item.push({"N":Infinity,"ID":130});return false;">Infinite Wheel Spins</a><br><a href="#" onclick="PIXI.game.prodigy.debugMisc.easyMode(1);return false;">Easy Mode</a><br><a href="#" onclick="SetTeleport(1);return false;">Enable Mouse TP</a><br><a href="#" onclick="SetTeleport(0);return false;">Disable Mouse TP</a><br><a href="#" onclick="FreeAtSchool();return false;">Unlock Zones</a><br><a href="#" onclick="TrialmastersGear();return false;">Trialmaster Gear</a><br><a href="#" onclick="levelUpPets();return false;">Level Up Pets</a><br><a href="#" onclick="setLocation();return false;">Set Location</a><br><a href="#" onclick="PIXI.game.state.states.Boot._gameData.nickname[PIXI.game.prodigy.player.name.nickname] = prompt("Set your clientside nickname (nobody else can see it but you) here.", "{first} {last}, but you can call me Einstein");return false;">Set Nickname</a><br><a href="#" onclick="PIXI.game.prodigy.player.appearance._name.nickname=7;return false;">W12-4RD Nickname</a><br><a href="#" onclick="getallFollow();return false;">Get All Buddies</a><br><a href="#" onclick="getallItem();return false;">Get All Items</a><br><a href="#" onclick="getallCurrency();return false;">Get All Currencies</a><br><p>BY CAM3R0N</p>';
  98.  
  99. document.body.insertBefore(menu, document.body.firstChild);
  100. document.body.insertBefore(menuStyle, document.body.firstChild);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement