How to make a standing kill

I have no idea on how to make an object that kills you if you stand on it long enough can anyone help me?

I would use a collision that starts a timer.

I’v tried that but even if you leave it still restarts the level!

Raycast

Thank you for the help and suggestions I figured it out

any way to shut this down i finished with this a long time ago and it’s getting kind of annoying