i used a way with zones for a topdown TDM where you can't crouch :D
make a 5 high space with a baseplate on top which is clear/unrendered, put a zone on it that goes down a brick, adding 1 "zone" when you enter, minusing 1 when you leave it, when you leave, if "zone" is 0, you die :D