GPT3-5 Encryption Auto Answer powered by Brune.pages.dev

Brune's working GPT3-5 API FUll turbo answering. No highlighting, for making it look like as if it not hacking

  1. // ==UserScript==
  2. // @name GPT3-5 Encryption Auto Answer powered by Brune.pages.dev
  3. // @namespace https://blooket.com
  4. // @version 2024-05-03
  5. // @description Brune's working GPT3-5 API FUll turbo answering. No highlighting, for making it look like as if it not hacking
  6. // @author Brune
  7. // @match https://*.blooket.com/*
  8. // @icon https://res.cloudinary.com/blooket/image/upload/v1613003832/Blooks/purpleAstronaut.svg
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. javascript:(function(){/**
  13. *
  14. * MADE USING CODE BASED ON SCRIPTS PROVIDED HERE.
  15. * https://github.com/Sh1N02/Blooket-Cheats
  16. */
  17.  
  18. let hackEnabled = true;
  19. let hackHidden = false;
  20.  
  21. (() => {
  22. const toggleHack = () => {
  23. hackEnabled = !hackEnabled;
  24. console.log(`Hack is ${hackEnabled ? 'enabled' : 'disabled'}`);
  25. };
  26.  
  27. const toggleHackVisibility = () => {
  28. hackHidden = !hackHidden;
  29. const elements = document.querySelectorAll('[class*="answerContainer"], [class*="feedback"], [class*="typingAnswerWrapper"]');
  30. elements.forEach(element => {
  31. element.style.display = hackHidden ? 'none' : 'block';
  32. });
  33. console.log(`Hack is ${hackHidden ? 'hidden' : 'visible'}`);
  34. };
  35.  
  36. const hideButtons = () => {
  37. buttonToggleHack.style.display = 'none';
  38. buttonToggleVisibility.style.display = 'none';
  39. };
  40.  
  41. const autoAnswer = async () => {
  42. if (!hackEnabled) return;
  43.  
  44. const { stateNode: { state: { question, stage, feedback }, props: { client: { question: pquestion } } } } = Object.values((function react(r = document.querySelector("body>div")) { return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div")) })())[1].children[0]._owner;
  45.  
  46. try {
  47. if (question.qType != "typing") {
  48. if (stage !== "feedback" && !feedback) {
  49. [...document.querySelectorAll(`[class*="answerContainer"]`)][(question || pquestion).answers.map((x, i) => (question || pquestion).correctAnswers.includes(x) ? i : null).filter(x => x != null)[0]]?.click?.();
  50. } else {
  51. document.querySelector('[class*="feedback"]')?.firstChild?.click?.();
  52. }
  53. } else {
  54. Object.values(document.querySelector("[class*='typingAnswerWrapper']"))[1].children._owner.stateNode.sendAnswer(question.answers[0]);
  55. }
  56.  
  57. // Check if there is a next question
  58. const nextQuestion = document.querySelector('[class*="questionContainer"]');
  59. if (nextQuestion) {
  60. nextQuestion.click();
  61. await new Promise(resolve => setTimeout(resolve, 50)); // Wait for 50ms before answering the next question
  62. autoAnswer();
  63. }
  64. } catch { }
  65. };
  66.  
  67. // Create a button element to toggle hack on and off
  68. const buttonToggleHack = document.createElement('button');
  69. buttonToggleHack.textContent = 'Toggle Hack (press `) to disable and enable';
  70. buttonToggleHack.style.position = 'fixed';
  71. buttonToggleHack.style.top = '10px';
  72. buttonToggleHack.style.left = '10px'; // Move button to the left side
  73. buttonToggleHack.style.padding = '10px 20px';
  74. buttonToggleHack.style.fontSize = '16px';
  75. buttonToggleHack.style.backgroundColor = '#4CAF50';
  76. buttonToggleHack.style.color = 'white';
  77. buttonToggleHack.style.border = 'none';
  78. buttonToggleHack.style.borderRadius = '4px';
  79. buttonToggleHack.style.cursor = 'pointer';
  80.  
  81. // Add a click event listener to toggle hack on and off
  82. buttonToggleHack.addEventListener('click', toggleHack);
  83.  
  84. // Initially hide the button
  85. buttonToggleHack.style.display = 'none';
  86.  
  87. // Append the toggle hack button to the document
  88. document.body.appendChild(buttonToggleHack);
  89.  
  90. // Create a button element to toggle hack visibility
  91. const buttonToggleVisibility = document.createElement('button');
  92. buttonToggleVisibility.textContent = 'Toggle Visibility (press \) to delete / remove';
  93. buttonToggleVisibility.style.position = 'fixed';
  94. buttonToggleVisibility.style.top = '70px';
  95. buttonToggleVisibility.style.left = '10px'; // Move visibility button to the left side
  96. buttonToggleVisibility.style.padding = '10px 20px';
  97. buttonToggleVisibility.style.fontSize = '16px';
  98. buttonToggleVisibility.style.backgroundColor = '#4CAF50';
  99. buttonToggleVisibility.style.color = 'white';
  100. buttonToggleVisibility.style.border = 'none';
  101. buttonToggleVisibility.style.borderRadius = '4px';
  102. buttonToggleVisibility.style.cursor = 'pointer';
  103.  
  104. // Initially hide the visibility button
  105. buttonToggleVisibility.style.display ='none';
  106.  
  107. // Add a click event listener to toggle hack visibility
  108. buttonToggleVisibility.addEventListener('click', toggleHackVisibility);
  109.  
  110. // Append the toggle visibility button to the document
  111. document.body.appendChild(buttonToggleVisibility);
  112.  
  113. // Listen for key events to toggle hack on and off with the '`' key and hide with the backslash key
  114. document.addEventListener('keydown', event => {
  115. if (event.key === '`') {
  116. toggleHack();
  117. buttonToggleHack.style.display= hackEnabled ?'block':'none';
  118. } else if (event.key === '\'') {
  119. toggleHackVisibility();
  120. } else if (event.keyCode === 220) { // Backslash key
  121. hideButtons();
  122. }
  123. });
  124.  
  125. // Automatically trigger auto-answer function when moving to the next question
  126. setInterval(autoAnswer, 1);
  127. console.log('Hacked by Brune');// Change interval to 10ms for faster auto-answering keeep it like less than 10 to allow super quick
  128.  
  129. })();})();