This block will activate a timer when it is touched by Mario, and then hurt/kill Mario when the timer runs out. The timer resets every time Mario isn't touching a toxic block. Also an 8x8 sprite indicator will appear near Mario when the timer is close to running out.
Depending on the "Act as", you could make toxic water, air, cement, etc.
The zip contains two files: one is the block asm, which contains some parameters that can be edited to what you want and then it must be inserted with GPS, and the other must be inserted with UberASMTool (as level asm or gamemode asm) to make the blocks work properly. More information can be found in those files.
Update v1.01: the exclamation mark is now drawn accordingly to the direction that Mario is facing.
I plan on using this in a Flooded Ice Cave level, because the toxic water can easily be recontextualized as being freezing water.
In that way, I like how this block can be used in a variety of circumstances