There is a bug in scratch where cloud variables don't get saved so... Turbowarp makes it kind of work so you can use that BUT other than THAT... IT WOOOOOOOOOOORKS And if it weren't for that scratch bug it would work properly. Just use Turbowarp and it will permanently save the last two messages. It still works perfectly fine there just doesn't SAVE.
https://turbowarp.org/1198631822 That's the link thing It only works there So using it seems like a good idea