[Request/Help] Kick on Death (and prevent rejoin)

Basically I have a Purge script setup but there’s a couple of of things I want, but don’t know how to do.

1.) You get kicked on death, so that you can’t revive and keep playing.
2.) You can’t rejoin until the script is disabled or server restarts

Is there is a script available that does something similar, or can I get some help on where to start.