Skribbl.io Cheat GUI

Adds a functional cheat GUI for Skribbl.io with auto-draw, auto-answer, character and name changers, and a restart game button.

< 脚本Skribbl.io Cheat GUI的反馈

评价:差评 - 脚本失效或无法使用

§
发表于:2025-02-23

I tried using chatgpt to fix the UI not showing up but still doesn't work, it's just a GUi, the Autodraw just puts the image on the canvas but isnt actually drawing anything...

here's the code generated by chatgpt if you're curious to see it

// ==UserScript==
// @name Skribbl.io Cheat GUI
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Adds a functional cheat GUI for Skribbl.io with auto-draw, auto-answer, character and name changers, and a restart game button.
// @author YourName
// @match https://skribbl.io/*
// @grant none
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @require https://code.jquery.com/ui/1.12.1/jquery-ui.min.js
// ==/UserScript==

(function() {
'use strict';

// Inject styles
$('head').append(`

`);

// Open GUI Button
$('body').append('Open Cheat GUI');

// Create GUI container
const gui = $('

', { id: 'cheat-gui' }).appendTo('body');

// Make draggable
gui.draggable();

// GUI Content
gui.append('

Skribbl.io Cheat GUI

');

// Auto-draw button
gui.append('Auto Draw Image');
$(document).on('click', '#auto-draw', function() {
const imageUrl = prompt('Enter the URL of the image to draw:');
if (imageUrl) {
const img = new Image();
img.src = imageUrl;
img.onload = function() {
const canvas = document.querySelector('canvas');
if (canvas) {
const ctx = canvas.getContext('2d');
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
}
};
}
});

// Auto-answer button
gui.append('Auto Answer Correctly');
$(document).on('click', '#auto-answer', function() {
setTimeout(() => {
const answers = Array.from(document.querySelectorAll('.answer'));
const correctAnswer = answers.find(answer => answer.innerText.includes('correct answer text'));
if (correctAnswer) {
correctAnswer.click();
}
}, 2000);
});

// Character changer
gui.append('Change Character');
$(document).on('click', '#change-character', function() {
const name = $('#character-name').val();
alert(`Character changed to: ${name} (Not implemented yet)`);
});

// Name changer
gui.append('Change Name');
$(document).on('click', '#change-name', function() {
const name = $('#player-name').val();
alert(`Player name changed to: ${name} (Not implemented yet)`);
});

// Restart game button
gui.append('Restart Game');
$(document).on('click', '#restart-game', function() {
const restartButton = document.querySelector('button.restart');
if (restartButton) {
restartButton.click();
} else {
alert('Restart game functionality is not implemented.');
}
});

// Toggle GUI visibility
$(document).on('click', '#open-gui-btn', function() {
$('#cheat-gui').toggle();
});

})();

发表回复

登录以发表回复。