[Gmod] Need help removing player Ragdolls after spawning

Im fairly new at lua so there might be an obvious answer but I can’t find it. I’m creating an addon and it requires spawning in a ragdoll when a player dies. I can do that but when they spawn back in, I need to get rid of that specific ragdoll and I don’t know how to do that part. I need a way to link that specific ragdoll to that player and when they spawn back in, it will find their ragdoll an delete it.