[RPG Maker XP] HP/SP Drain Status Ailment script?

I'm searching for a script for a status ailment that drains both HP/SP, like Poison? I'm a noob with this, but help can be appreciated!
Bump
Ty! This is what I was looking for 🙂

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-xp-hp-sp-drain-status-ailment-script.167962/