Destroy clone after its death

How would I destroy the player after death?

You can reference their humanoid and use a script like this:


Do you think a 10 second wait before destroying it would work?

Change the 0 in game.Debris:AddItem() to a 10, that’s the delay in seconds until it’s destroyed

This didn’t work for me sadly (char char char char)

Do you mean the player or the character?

If you want to kick a player when they die, you just player:Kick(“You died”) when a humanoid dies.

If you want to remove the character of a player when they die, there is a variable in the Players service called ‘RespawnTime’, and setting that to 10 will respawn the character and cleanup the old dead character when the time is up.