First off, please don't hijack someone else's thread. If you need help create your own. I'm only answering because of its similarity to OP's question by nature I need help making a timer where when it reaches 0 it kills the character
Simply record the last X & Y positions. …make a timer that kills you if you stand still for too long.
set [Old X v] to (x position)And if after a set amount of time the current X & Y equal the old, then excute the “end script”.
set [Old Y v] to (y position)
Unfortunately, the built-in timer block only counts up so it's going to be more of a count-up timer than a countdown one. Of course you could inverse if you really wanted to.
reset timer//Don't forget this unless you're using another variable to apply the offset
if <((10) - (timer)) < > then//Where 10 means 10sec countdown
Or alternatively, use a variable that decreases itself every second.