press the green flag and look at your time survived when scratch freezes and is about to crash
this is the same logic that i coded into my project called lag machine this is the link https://scratch.mit.edu/projects/1142858565/ but this time scratch might not freeze in the first second