Guest User

Untitled

a guest
Apr 20th, 2026
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. /** Use Any Blook */
  2. (function() {
  3. const lobby = window.location.pathname.startsWith("/play/lobby");
  4. const dashboard = !lobby && window.location.pathname.startsWith("/blooks");
  5.  
  6. if (dashboard) {
  7. let key = "konzpack";
  8. let propCall = Object.prototype.hasOwnProperty.call;
  9. let webpack = webpackChunk_N_E.push([
  10. [key],
  11. { [key]: () => {} },
  12. function (func) {
  13. Object.prototype.hasOwnProperty.call = function () {
  14. Object.defineProperty(arguments[0], key, { set: () => {}, configurable: true });
  15. return (Object.prototype.hasOwnProperty.call = propCall).apply(this, arguments);
  16. };
  17. return func;
  18. },
  19. ]);
  20. const blookData = webpack(4927).nK;
  21. const blooksHook = Object.values(document.querySelector("[class*=BlooksWrapper_content]"))[0].return.memoizedState.next;
  22. const showBlooks = blooksHook.memoizedState;
  23. const seen = {};
  24. const userBlooks = [];
  25. const prices = {
  26. Uncommon: 5,
  27. Rare: 20,
  28. Epic: 75,
  29. Legendary: 200,
  30. Chroma: 300,
  31. Unique: 350,
  32. Mystical: 1000,
  33. };
  34.  
  35. for (const data of blooksHook.next.memoizedState) {
  36. userBlooks.push(data);
  37. seen[data.blook] = true;
  38. }
  39.  
  40. for (const blook in blookData) {
  41. if (blookData[blook].rarity != "Common" && !seen[blook]) {
  42. userBlooks.push({
  43. blook,
  44. quantity: 1,
  45. sellPrice: prices[blookData[blook].rarity],
  46. });
  47. }
  48. }
  49.  
  50. blooksHook.next.queue.dispatch(userBlooks);
  51. blooksHook.queue.dispatch(!showBlooks);
  52. setTimeout(() => blooksHook.queue.dispatch(showBlooks), 1);
  53.  
  54. } else if (lobby) {
  55. function getStateNode() {
  56. return Object.values((function react(r = document.querySelector("body>div")) {
  57. return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div"));
  58. })())[1].children[0]._owner.stateNode;
  59. }
  60. getStateNode().setState({ unlocks: { includes: () => !0 } });
  61. } else {
  62. alert("This only works in lobbies or the dashboard blooks page.");
  63. }
  64. })();
Advertisement
Add Comment
Please, Sign In to add comment