Revive with Ragdoll

Hello, i am currently using a script and a SWEP i have created to revive someone with his Ragdoll but the script wont work how i want it. Like when i kill someone revive him and kill him right after i cannot revive him again. The Script: Steam Workshop::Revival Player Defibrillator | DarkRP Friendly

If anybody know how i can make a script like this by my one (Revive players with the ragdoll and when they had weapons that were not written in ther Job that they get them back when i revive them) pls show me if you know how i can make a SWEP like this