How do I make someone die after a state expires?

Cant figure out how to do it. 
I'm sure it could be done, did u try experimenting with the states? i would say try making it a timed state, then when that state expires put knockout in the trait of the desired state. 


Edit: as in timed i mean duration of turns. i assume u are trying to make something like perish song like pokemon or a countdown to death type thing


http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/ ][ http://yanfly.moe/2016/04/03/yep-89-state-categories/ try these plugins if ur game is using yanfly engine, if not i recommend u get the necessary plugins such ashttp://yanfly.moe/2015/10/09/yep-1-core-engine/   http://yanfly.moe/2015/10/10/yep-3-battle-engine-core/
http://yanfly.moe/2016/06/25/tips-tricks-doom-bravely-default-rpg-maker-mv/
Thanks i'll tinker with these some more. Im actually trying to create a skill where the character gains a huge power boost for a few turns and then die.


Edit: Thank you Waynee!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-someone-die-after-a-state-expires.72691/