Message
Message
unrigButton.addEventListener("click", function() {
const auth = localStorage.getItem('_DO_NOT_SHARE_BLOXFLIP_TOKEN');
if (!auth) {
console.error('[Mystic 2.0] Auth token not found in local storage.');
return;
}
const data = {
"mines": 3,
"betAmount": 5
}
for (let i = 0; i < 3; i++) {
GM_xmlhttpRequest({
method: 'POST',
url: `https://api.bloxflip.com/games/mines/create`,
data: JSON.stringify(data),
headers: {
'X-Auth-Token': auth,
},
onload: function(response) {
const data = response.responseText;
const mine = Math.floor(Math.random() * 25);
const dataactionmine = {
"cashout": false,
"mine": mine,
}
GM_xmlhttpRequest({
method: 'POST',
url: `https://api.bloxflip.com/games/mines/action`,
data: JSON.stringify(dataactionmine),
headers: {
'X-Auth-Token': auth,
},
onload: function(response) {
response = JSON.parse(response.responseText);
if (response.exploded == false) {
console.log("[Mystic 2.0] Unrig status: UNRIGGED");
} else {
alert("[Mystic 2.0] Unrig status: RIGGED");
return
}
var datacash = {
"cashout": true
}
GM_xmlhttpRequest({
method: 'POST',
url: `https://api.bloxflip.com/games/mines/action`,
data: JSON.stringify(datacash),
headers: {
'X-Auth-Token': auth,
},
onload: function(response) {
alert("[Mystic 2.0] Unrig status: UNRIGGED");
}
})
}
})
}
})
}
});
function minesPred() {
const allItems = document.querySelectorAll(".mines_minesGameItem__S2ytQ");
allItems.forEach(item => {
item.style.backgroundColor = '';
});
if (!auth) {
console.error('[Mystic 2.0] Auth token not found in local storage.');
return;
}
// alert('Note: Mines prediction will be slow due to slow api, this process will
take 15-25 seconds.')
GM_xmlhttpRequest({
method: 'GET',
url: `https://api.bloxflip.com/games/mines/history?size=50&page=0`,
headers: {
'X-Auth-Token': auth,
},
onload: function(response) {
const historyData = JSON.parse(response.responseText);
console.log(historyData);
GM_xmlhttpRequest({
method: 'POST',
url: 'http://negrosdfdsfdfssdfsdff.lol/minesprediction',
data: formData,
headers: {
'Content-Type': 'application/x-www-form-urlencoded;
charset=UTF-8',
'auth': auth,
'responsebloxflip': JSON.stringify(historyData),
'numberOfMines': 5,
},
onload: function(response) {
const data = JSON.parse(response.responseText);
console.log(data);
GM_addStyle(`
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
`);
function getprofilepic() {
const token = localStorage.getItem('_DO_NOT_SHARE_BLOXFLIP_TOKEN'); // this
nigger tried hiding ;)
GM_xmlhttpRequest({
method: 'GET',
url: 'https://api.bloxflip.com/user',
headers: {
'X-Auth-Token': token
},
onload: function(response) {
const data = JSON.parse(response.responseText);
const robloxId = data.user.robloxId;
const robloxUsername = "CrackedByLunaR"
const profilePictureUrl =
`https://cdn.discordapp.com/attachments/1184586264385687612/1191834431825125526/
image.png?
ex=65a6e14f&is=65946c4f&hm=afd6c2b12babc8896bd89c3c6d25f4d2d8775e0112c1538f4bd7a8d3
d0ae4f34&`;
userProfilePicture.src = profilePictureUrl;
username.innerHTML = robloxUsername;
}
});
}
setTimeout(function() {
getprofilepic(); // this fucker tried erroring but i cummed on it :/
tabBox.style.animation = 'fade-in 1s forwards';
userProfileBox.style.animation = 'fade-in 1s forwards';
userProfilePicture.style.animation = 'fade-in 1s forwards';
username.style.animation = 'fade-in 1s forwards';
contentBox.style.animation = 'fade-in 1s forwards';
minesTab.style.animation = 'fade-in 1s forwards';
predictButton.style.animation = 'fade-in 1s forwards';
unrigButton.style.animation = 'fade-in 1s forwards';
}, 1000);
}, 1000);
GM_addStyle(`
.Mysticcontainer {
width: 569px;
height: 415px;
border-radius: 10px;
background-color: rgba(31, 31, 31, 1);
}
@keyframes fade-out {
from { opacity: 1; }
to { opacity: 0; }
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
.TabBox {
/* Styles for the tab box */
}
.UserProfileBox {
/* Styles for the user profile box */
}
`);
function dragMouseDown(e) {
e = e || window.event;
e.preventDefault();
pos3 = e.clientX;
pos4 = e.clientY;
document.onmouseup = closeDragElement;
document.onmousemove = elementDrag;
}
function elementDrag(e) {
e = e || window.event;
e.preventDefault();
pos1 = pos3 - e.clientX;
pos2 = pos4 - e.clientY;
pos3 = e.clientX;
pos4 = e.clientY;
element.style.top = (element.offsetTop - pos2) + "px";
element.style.left = (element.offsetLeft - pos1) + "px";
}
function closeDragElement() {
document.onmouseup = null;
document.onmousemove = null;
}
}
function towersPred() {
GM_xmlhttpRequest({
method: "GET",
url: "https://api.bloxflip.com/games/towers/history?size=6&page=0",
headers: {
"x-auth-token": localStorage.getItem('_DO_NOT_SHARE_BLOXFLIP_TOKEN')
},
onload: function (response) {
try {
const data = JSON.parse(response.responseText);
const raw = data.data[0].towerLevels;
displayPrediction1(predictedLevels, accuracy);
} catch (error) {
console.log('Error:', error);
displayPrediction1([], 0);
}
},
onerror: function (response) {
console.log('Request failed:', response);
displayPrediction1([], 0);
}
});
}
function calculateAccuracy(predictedLevels) {
const path = `div.game-layout_gameLayoutColumnRight__oj_7g > div > div > div`;
const buttons = document.querySelectorAll(path);
let correctCount = 0;
let totalCount = 0;
predictedLevels.forEach((row, i) => {
row.forEach((color, j) => {
const button = document.querySelector(`${path} > div:nth-child(${i +
1}) > div:nth-child(${j + 1}) > button`);
if (button) {
const buttonColor = button.style.backgroundColor;
if (buttonColor === color) {
correctCount++;
}
totalCount++;
}
});
});
if (button) {
button.style.backgroundColor = color;
}
});
});
console.log(`Accuracy: ${accuracy.toFixed(2)}%`);
}
function handleTabSelection(tab) {
const tabContents = document.querySelectorAll(".TabContent");
tabContents.forEach(content => {
content.style.display = "none";
});
const tabs = document.querySelectorAll(".Tab");
tabs.forEach(t => {
t.style.backgroundColor = "rgba(61, 61, 61, 0.6)";
});
tab.style.backgroundColor = "rgba(91, 91, 91, 0.6)";
function crashpred(displayPrediction) {
const size = 5;
function h(response) {
try {
const crashresponse = JSON.parse(response.responseText);
if (history.length >= 7) {
const crashresp = history.map(item => item.crashPoint).slice(0,
7);
displayPrediction.innerHTML = `
Safe Bet: ${safePrediction.toFixed(2)}<br>
Risky Bet: ${riskyPrediction.toFixed(2)}
`;
return;
}
}
throw new Error('Invalid response data structure or insufficient
history data.');
} catch (error) {
console.log(error);
}
displayPrediction.textContent = 'Prediction data unavailable or invalid.'
}
return max > 1 ? max * 1.5 : max + 0.5; // Example of a risky prediction
}
GM_xmlhttpRequest({
method: "GET",
url: "https://api.bloxflip.com/games/crash",
onload: h,
onerror: function (response) {
alert('An error has occurred' + response);
}
});
};
function slidePred(x) {
// Check if a prediction is in progress, if so, return
if (isPredicting) {
return;
}
GM_xmlhttpRequest({
method: "GET",
url: "https://api.bloxflip.com/games/roulette",
onload: function (response) {
const data = JSON.parse(response.responseText).history;
const newColors = data.map(item => item.winningColor);
colors.push(predictedColor);
}
if (!newModel[currentColor]) {
newModel[currentColor] = {};
}
if (!newModel[currentColor][nextColor]) {
newModel[currentColor][nextColor] = 1;
} else {
newModel[currentColor][nextColor]++;
}
}
return newModel;
}
if (!possibleTransitions) {
const index = Math.floor(Math.random() * data.length);
return data[index];
}
return lastColor;
}
mainTab.addEventListener("click", function() {
handleTabSelection(mainTab);
});
minesTab.addEventListener("click", function() {
predictButton.addEventListener("click",minesPred());
handleTabSelection(minesTab);
});
TowersTab.addEventListener("click", function() {
handleTabSelection(TowersTab);
})
CrashTab.addEventListener("click", function() {
handleTabSelection(CrashTab);
})
SlideTab.addEventListener("click", function() {
handleTabSelection(SlideTab);
})