ScratchData LogoScratchData
Back to 2grw's profile

httml control test (executor)

2G2grw•Created November 12, 2024
httml control test (executor)
0
0
14 views
View on Scratch

Instructions

#1 screen moves #2 cool animation #3 gets out from the canvas #4 writes a comment

Description

#[!] IF U DONT KNOW WHAT THIS IS GO AWAY AND DONT TOUCH! #[!] (DANGEROUS.) const target = vm.runtime.getTargetForStage(); const questionVarName = '?'; const executeVarName = 'execute'; function getVariableByName(name) { return Object.values(target.variables).find(variable => variable.name === name); } function waitForVariable() { const questionVar = getVariableByName(questionVarName); const executeVar = getVariableByName(executeVarName); if (questionVar && Number(questionVar.value) === 1) { questionVar.value = 0; if (executeVar) { try { eval(executeVar.value); } catch (error) { } } executeVar.value = ''; setTimeout(waitForVariable, 5); } else { setTimeout(waitForVariable, 5); } } const questionVar = getVariableByName(questionVarName); if (questionVar) { questionVar.value = 'start'; } waitForVariable();

Project Details

Project ID1095442193
CreatedNovember 12, 2024
Last ModifiedMay 22, 2025
SharedNovember 12, 2024
Visibilityvisible
CommentsAllowed