Back to scripts
Spam Open Boxes
gameRapidly opens multiple boxes
2024-03-20v1.0.0Community
Use at your own risk. This script may violate Blooket's Terms of Service.
Usage
Steps
- Ensure you have enough tokens in your account
- Run the script and select box type to open
- Enter the number of boxes to open
- Wait for completion
Notes
- Recommended to open no more than 100 boxes at once
- Do not refresh the page during operation
- If errors occur, check if you have enough tokens
Requirements
- Account must have sufficient tokens
- Requires stable internet connection
Code
async function openBoxes() {
const boxType = prompt('Which box do you want to open? (e.g., Space, Medieval, Breakfast)');
const amount = Number(prompt('How many boxes do you want to open?'));
if (!boxType || !amount) return;
for (let i = 0; i < amount; i++) {
const response = await fetch('https://api.blooket.com/api/users/unlockblook', {
method: "PUT",
headers: {
"content-type": "application/json",
"X-Blooket-Build": "0"
},
body: JSON.stringify({
box: boxType
})
});
if (!response.ok) {
alert('Failed to open boxes');
return;
}
await new Promise(resolve => setTimeout(resolve, 750));
}
alert('Successfully opened all boxes!');
}
openBoxes();
Changelog
Version 1.0.0
2024-03-20- Initial version release
- Support batch box opening
- Added delay mechanism to prevent request throttling