How can I make it so that when a player dies, their body will stay there even after they have re spawned. Of course it cannot be permanent either, or else the body pile up would cause lag. So I need a timer. Can anyone help?
COMMUNITY QUESTION
ROBLOX corpse despawn time?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You have to use a script to clone the player the second they die and then have it ragdoll. You'll want to have the body be false on Anchored and true on CanCollide for a few seconds while it sets in the environment, and then after say 3 or so seconds, depending, have it Anchor and CanCollide become false. After this, the script should finally perform one remaining function: Wait() and Destroy.
Or you can just parent it some place else, as long as you don't parent it directly to workspace it won't despawn. If you want it to disappear in a certain amount of time you could also use debris.