DarkRP Mayor to Citizen LUA Request

Hello, Can anyone help me make a DarkRP script. I need a script that when the mayor dies. He gets turned back to citizen.

Thanks, Resilient