So, You will have to double tap back tick () for the button to load, but it does work. If its hidden, then it doesn't auto answer. Here ya go! javascript:(function()%7B%2F**%0A * %40license StewartPrivateLicense-2.0.1%0A * Copyright (c) Sh1N02 2023%0A *%0A * You may not reproduce or distribute any code inside this file without the licenser's permission.%0A * You may not copy%2C modify%2C steal%2C skid%2C or recreate any of the code inside this file.%0A * You may not under any circumstance republish any code from this file as your own.%0A * %0A * ALL TERMS STATED IN THE LINK BELOW APPLY ASWELL%0A * https%3A%2F%2Fgithub.com%2FSh1N02%2FBlooket-Cheats%2Fblob%2Fmain%2FLICENSE%0A *%2F%0A%0Alet hackEnabled %3D true%3B%0Alet hackHidden %3D false%3B%0A%0A(() %3D> %7B%0A const toggleHack %3D () %3D> %7B%0A hackEnabled %3D !hackEnabled%3B%0A console.log(%60Hack is %24%7BhackEnabled %3F 'enabled' %3A 'disabled'%7D%60)%3B%0A %7D%3B%0A%0A const toggleHackVisibility %3D () %3D> %7B%0A hackHidden %3D !hackHidden%3B%0A const elements %3D document.querySelectorAll('%5Bclass*%3D"answerContainer"%5D%2C %5Bclass*%3D"feedback"%5D%2C %5Bclass*%3D"typingAnswerWrapper"%5D')%3B%0A elements.forEach(element %3D> %7B%0A element.style.display %3D hackHidden %3F 'none' %3A 'block'%3B%0A %7D)%3B%0A console.log(%60Hack is %24%7BhackHidden %3F 'hidden' %3A 'visible'%7D%60)%3B%0A %7D%3B%0A%0A const hideButtons %3D () %3D> %7B%0A buttonToggleHack.style.display %3D 'none'%3B%0A buttonToggleVisibility.style.display %3D 'none'%3B%0A %7D%3B%0A%0A const autoAnswer %3D async () %3D> %7B%0A if (!hackEnabled) return%3B%0A%0A const %7B stateNode%3A %7B state%3A %7B question%2C stage%2C feedback %7D%2C props%3A %7B client%3A %7B question%3A pquestion %7D %7D %7D %7D %3D Object.values((function react(r %3D document.querySelector("body>div")) %7B return Object.values(r)%5B1%5D%3F.children%3F.%5B0%5D%3F._owner.stateNode %3F r %3A react(r.querySelector("%3Ascope>div")) %7D)())%5B1%5D.children%5B0%5D._owner%3B%0A%0A try %7B%0A if (question.qType !%3D "typing") %7B%0A if (stage !%3D%3D "feedback" %26%26 !feedback) %7B%0A %5B...document.querySelectorAll(%60%5Bclass*%3D"answerContainer"%5D%60)%5D%5B(question %7C%7C pquestion).answers.map((x%2C i) %3D> (question %7C%7C pquestion).correctAnswers.includes(x) %3F i %3A null).filter(x %3D> x !%3D null)%5B0%5D%5D%3F.click%3F.()%3B%0A %7D else %7B%0A document.querySelector('%5Bclass*%3D"feedback"%5D')%3F.firstChild%3F.click%3F.()%3B%0A %7D%0A %7D else %7B%0A Object.values(document.querySelector("%5Bclass*%3D'typingAnswerWrapper'%5D"))%5B1%5D.children._owner.stateNode.sendAnswer(question.answers%5B0%5D)%3B%0A %7D%0A%0A %2F%2F Check if there is a next question%0A const nextQuestion %3D document.querySelector('%5Bclass*%3D"questionContainer"%5D')%3B%0A if (nextQuestion) %7B%0A nextQuestion.click()%3B%0A await new Promise(resolve %3D> setTimeout(resolve%2C 50))%3B %2F%2F Wait for 50ms before answering the next question%0A autoAnswer()%3B%0A %7D%0A %7D catch %7B %7D%0A %7D%3B%0A%0A %2F%2F Create a button element to toggle hack on and off%0A const buttonToggleHack %3D document.createElement('button')%3B%0A buttonToggleHack.textContent %3D 'Toggle Hack (press %60) to disable and enable'%3B%0A buttonToggleHack.style.position %3D 'fixed'%3B%0A buttonToggleHack.style.top %3D '10px'%3B%0A buttonToggleHack.style.left %3D '10px'%3B %2F%2F Move button to the left side%0A buttonToggleHack.style.padding %3D '10px 20px'%3B%0A buttonToggleHack.style.fontSize %3D '16px'%3B%0A buttonToggleHack.style.backgroundColor %3D '%234CAF50'%3B%0A buttonToggleHack.style.color %3D 'white'%3B%0A buttonToggleHack.style.border %3D 'none'%3B%0A buttonToggleHack.style.borderRadius %3D '4px'%3B%0A buttonToggleHack.style.cursor %3D 'pointer'%3B%0A%0A %2F%2F Add a click event listener to toggle hack on and off%0A buttonToggleHack.addEventListener('click'%2C toggleHack)%3B%0A%0A %2F%2F Initially hide the button%0A buttonToggleHack.style.display %3D 'none'%3B%0A%0A %2F%2F Append the toggle hack button to the document%0A document.body.appendChild(buttonToggleHack)%3B%0A%0A %2F%2F Create a button element to toggle hack visibility%0A const buttonToggleVisibility %3D document.createElement('button')%3B%0A buttonToggleVisibility.textContent %3D 'Toggle Visibility (press %5C) to delete %2F remove'%3B%0A buttonToggleVisibility.style.position %3D 'fixed'%3B%0A buttonToggleVisibility.style.top %3D '70px'%3B%0A buttonToggleVisibility.style.left %3D '10px'%3B %2F%2F Move visibility button to the left side%0A buttonToggleVisibility.style.padding %3D '10px 20px'%3B%0A buttonToggleVisibility.style.fontSize %3D '16px'%3B%0A buttonToggleVisibility.style.backgroundColor %3D '%234CAF50'%3B%0A buttonToggleVisibility.style.color %3D 'white'%3B%0A buttonToggleVisibility.style.border %3D 'none'%3B%0A buttonToggleVisibility.style.borderRadius %3D '4px'%3B%0A buttonToggleVisibility.style.cursor %3D 'pointer'%3B%0A%0A %2F%2F Initially hide the visibility button%0A buttonToggleVisibility.style.display %3D'none'%3B%0A%0A %2F%2F Add a click event listener to toggle hack visibility%0A buttonToggleVisibility.addEventListener('click'%2C toggleHackVisibility)%3B%0A%0A %2F%2F Append the toggle visibility button to the document%0A document.body.appendChild(buttonToggleVisibility)%3B%0A%0A %2F%2F Listen for key events to toggle hack on and off with the '%60' key and hide with the backslash key%0A document.addEventListener('keydown'%2C event %3D> %7B%0A if (event.key %3D%3D%3D '%60') %7B%0A toggleHack()%3B%0A buttonToggleHack.style.display%3D hackEnabled %3F'block'%3A'none'%3B %0A %7D else if (event.key %3D%3D%3D '%5C'') %7B%0A toggleHackVisibility()%3B%0A %7D else if (event.keyCode %3D%3D%3D 220) %7B %2F%2F Backslash key%0A hideButtons()%3B%0A %7D%0A %7D)%3B%0A%0A %2F%2F Automatically trigger auto-answer function when moving to the next question%0A setInterval(autoAnswer%2C 10)%3B %2F%2F Change interval to 10ms for faster auto-answering%0A%0A %7D)()%3B%7D)()%3B
Thank you but unfortunately, I no longer play blooket so I won't update the code anymore. Thank you for suggestions!
But I might come back at some point.
So, You will have to double tap back tick (
)
for the button to load, but it does work. If its hidden, then it doesn't auto answer. Here ya go!javascript:(function()%7B%2F**%0A * %40license StewartPrivateLicense-2.0.1%0A * Copyright (c) Sh1N02 2023%0A *%0A * You may not reproduce or distribute any code inside this file without the licenser's permission.%0A * You may not copy%2C modify%2C steal%2C skid%2C or recreate any of the code inside this file.%0A * You may not under any circumstance republish any code from this file as your own.%0A * %0A * ALL TERMS STATED IN THE LINK BELOW APPLY ASWELL%0A * https%3A%2F%2Fgithub.com%2FSh1N02%2FBlooket-Cheats%2Fblob%2Fmain%2FLICENSE%0A *%2F%0A%0Alet hackEnabled %3D true%3B%0Alet hackHidden %3D false%3B%0A%0A(() %3D> %7B%0A const toggleHack %3D () %3D> %7B%0A hackEnabled %3D !hackEnabled%3B%0A console.log(%60Hack is %24%7BhackEnabled %3F 'enabled' %3A 'disabled'%7D%60)%3B%0A %7D%3B%0A%0A const toggleHackVisibility %3D () %3D> %7B%0A hackHidden %3D !hackHidden%3B%0A const elements %3D document.querySelectorAll('%5Bclass*%3D"answerContainer"%5D%2C %5Bclass*%3D"feedback"%5D%2C %5Bclass*%3D"typingAnswerWrapper"%5D')%3B%0A elements.forEach(element %3D> %7B%0A element.style.display %3D hackHidden %3F 'none' %3A 'block'%3B%0A %7D)%3B%0A console.log(%60Hack is %24%7BhackHidden %3F 'hidden' %3A 'visible'%7D%60)%3B%0A %7D%3B%0A%0A const hideButtons %3D () %3D> %7B%0A buttonToggleHack.style.display %3D 'none'%3B%0A buttonToggleVisibility.style.display %3D 'none'%3B%0A %7D%3B%0A%0A const autoAnswer %3D async () %3D> %7B%0A if (!hackEnabled) return%3B%0A%0A const %7B stateNode%3A %7B state%3A %7B question%2C stage%2C feedback %7D%2C props%3A %7B client%3A %7B question%3A pquestion %7D %7D %7D %7D %3D Object.values((function react(r %3D document.querySelector("body>div")) %7B return Object.values(r)%5B1%5D%3F.children%3F.%5B0%5D%3F._owner.stateNode %3F r %3A react(r.querySelector("%3Ascope>div")) %7D)())%5B1%5D.children%5B0%5D._owner%3B%0A%0A try %7B%0A if (question.qType !%3D "typing") %7B%0A if (stage !%3D%3D "feedback" %26%26 !feedback) %7B%0A %5B...document.querySelectorAll(%60%5Bclass*%3D"answerContainer"%5D%60)%5D%5B(question %7C%7C pquestion).answers.map((x%2C i) %3D> (question %7C%7C pquestion).correctAnswers.includes(x) %3F i %3A null).filter(x %3D> x !%3D null)%5B0%5D%5D%3F.click%3F.()%3B%0A %7D else %7B%0A document.querySelector('%5Bclass*%3D"feedback"%5D')%3F.firstChild%3F.click%3F.()%3B%0A %7D%0A %7D else %7B%0A Object.values(document.querySelector("%5Bclass*%3D'typingAnswerWrapper'%5D"))%5B1%5D.children._owner.stateNode.sendAnswer(question.answers%5B0%5D)%3B%0A %7D%0A%0A %2F%2F Check if there is a next question%0A const nextQuestion %3D document.querySelector('%5Bclass*%3D"questionContainer"%5D')%3B%0A if (nextQuestion) %7B%0A nextQuestion.click()%3B%0A await new Promise(resolve %3D> setTimeout(resolve%2C 50))%3B %2F%2F Wait for 50ms before answering the next question%0A autoAnswer()%3B%0A %7D%0A %7D catch %7B %7D%0A %7D%3B%0A%0A %2F%2F Create a button element to toggle hack on and off%0A const buttonToggleHack %3D document.createElement('button')%3B%0A buttonToggleHack.textContent %3D 'Toggle Hack (press %60) to disable and enable'%3B%0A buttonToggleHack.style.position %3D 'fixed'%3B%0A buttonToggleHack.style.top %3D '10px'%3B%0A buttonToggleHack.style.left %3D '10px'%3B %2F%2F Move button to the left side%0A buttonToggleHack.style.padding %3D '10px 20px'%3B%0A buttonToggleHack.style.fontSize %3D '16px'%3B%0A buttonToggleHack.style.backgroundColor %3D '%234CAF50'%3B%0A buttonToggleHack.style.color %3D 'white'%3B%0A buttonToggleHack.style.border %3D 'none'%3B%0A buttonToggleHack.style.borderRadius %3D '4px'%3B%0A buttonToggleHack.style.cursor %3D 'pointer'%3B%0A%0A %2F%2F Add a click event listener to toggle hack on and off%0A buttonToggleHack.addEventListener('click'%2C toggleHack)%3B%0A%0A %2F%2F Initially hide the button%0A buttonToggleHack.style.display %3D 'none'%3B%0A%0A %2F%2F Append the toggle hack button to the document%0A document.body.appendChild(buttonToggleHack)%3B%0A%0A %2F%2F Create a button element to toggle hack visibility%0A const buttonToggleVisibility %3D document.createElement('button')%3B%0A buttonToggleVisibility.textContent %3D 'Toggle Visibility (press %5C) to delete %2F remove'%3B%0A buttonToggleVisibility.style.position %3D 'fixed'%3B%0A buttonToggleVisibility.style.top %3D '70px'%3B%0A buttonToggleVisibility.style.left %3D '10px'%3B %2F%2F Move visibility button to the left side%0A buttonToggleVisibility.style.padding %3D '10px 20px'%3B%0A buttonToggleVisibility.style.fontSize %3D '16px'%3B%0A buttonToggleVisibility.style.backgroundColor %3D '%234CAF50'%3B%0A buttonToggleVisibility.style.color %3D 'white'%3B%0A buttonToggleVisibility.style.border %3D 'none'%3B%0A buttonToggleVisibility.style.borderRadius %3D '4px'%3B%0A buttonToggleVisibility.style.cursor %3D 'pointer'%3B%0A%0A %2F%2F Initially hide the visibility button%0A buttonToggleVisibility.style.display %3D'none'%3B%0A%0A %2F%2F Add a click event listener to toggle hack visibility%0A buttonToggleVisibility.addEventListener('click'%2C toggleHackVisibility)%3B%0A%0A %2F%2F Append the toggle visibility button to the document%0A document.body.appendChild(buttonToggleVisibility)%3B%0A%0A %2F%2F Listen for key events to toggle hack on and off with the '%60' key and hide with the backslash key%0A document.addEventListener('keydown'%2C event %3D> %7B%0A if (event.key %3D%3D%3D '%60') %7B%0A toggleHack()%3B%0A buttonToggleHack.style.display%3D hackEnabled %3F'block'%3A'none'%3B %0A %7D else if (event.key %3D%3D%3D '%5C'') %7B%0A toggleHackVisibility()%3B%0A %7D else if (event.keyCode %3D%3D%3D 220) %7B %2F%2F Backslash key%0A hideButtons()%3B%0A %7D%0A %7D)%3B%0A%0A %2F%2F Automatically trigger auto-answer function when moving to the next question%0A setInterval(autoAnswer%2C 10)%3B %2F%2F Change interval to 10ms for faster auto-answering%0A%0A %7D)()%3B%7D)()%3B