Game-Over Persecution

Hello, I would like to know if you can help me. I need my sprite to have to run so it doesn’t die. The idea of ​​the game is that the character is chased and then if he stops he loses. Can anybody help me ? Greetings!

Try