Character dead

I’m making an endless game so I’m trying to get my character kill if he stop running or moving for a period. Does someone knows how to do it ??

Not that good at backend stuff, but I’d start experimenting by making a blueprint that makes it tie into your characters movement speed, ie on event begin start (I’d add a delay of 2 seconds or so for the start of levels) - if run speed <1 - destroy actor (make an end game function such as return to menu/restart level etc)