I built a (mostly) working piracy detector in Scratch, that is able to catch stolen copies of a project. Don't believe it? Try downloading the project, uploading it into a blank Scratch project, and watch what happens! (Less reliable with remixes, but that's not as big of a problem) Only 2 quirks with it: - You can’t use the timer in your project if you use this, since this method relies on constantly resetting the timer to work. - It will falsely report if you go directly into the editor without clicking the green flag first. Until someone figures out a way to detect if you're in the editor, there is no known way to fix that.
Yeah this is extremely buggy... there's zero good way to actually detect it, this was just a test to see if I could An explanation of what the code does: - A stop sign detector checks whether or not you're touching the stop sign, and sets an "ss" variable depending on whether you're touching it or not. - It keeps the project running when the stop sign is clicked, by using the "when timer > [#]" block. - A "DETECTOR" variable was set to 0 before this project was shared, meaning the project was not a remix. (0 means not pirated, 1 means it is). That variable is not changed anywhere else in the code. Similarly, the "ss" variable was set to "false." When you upload the project into a new file, here's what happens: - The "when timer > [#]" block immediately runs, since the project isn't technically running. - The variable "ss" will be showing as set to "false", since you didn't click the stop sign to stop the project. - With these conditions, the project sets "DETECTOR" to 1, and reports the project as pirated.