Ragdoll on death script with corpse and first person help

Hello, I am a beginner scripter as I just started 3 days ago, how could I make a script that ragdolls the player on death and creates a clone of the ragdoll that disappears until 60 seconds so there is a corpse, I also would like to figure out how I could script it so when the clone is created a camera is made inside its head thats sets the player in a first person view, so it looks like they died in first person. Any help is appreciated, thank you :slight_smile:

2 Likes

For the rag doll, make a script in starter character scripts that sets break joints on death to false. For the corpse, make a clone of a rig that uses:

local humanoid = 
game.ReplicatedStorage:FindFirstChild(β€œRig”)
Local plrID = β€” get the player from a remote event

humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(plr ID))

And for the camera, set the camera type to scriptable and set its c frame into the head of the clone. (sorry for bad formatting, as I am on mobile)