1

# How to clone a part into a player after death?

I just want to clone a part into the player after they die, the problem is, the part disappears when the player respawns, any help?

game.Players.PlayerAdded:Connect(function(player)
local Children = character:GetChildren()
character:WaitForChild("Humanoid").Died:Connect(function()
wait(2)
clone.Parent = character
wait(0.1)
end)
end)
end)


1

game:GetService("Players").PlayerAdded:Connect(function(plr)
chr:WaitForChild("Humanoid").Died:Connect(function()
local Part = nil -- Replace nil with part directory, e.g. game.Workspace.Part
local PartClone = Part:Clone()

PartClone.Parent = chr
end)
end)
end)


Remember to always search Roblox Dev first, https://developer.roblox.com/en-us/api-reference/event/Humanoid/Died

0
What did you change besides line 3? SilverishReign 67 — 22d
0
LMAO he removed the wait and renamed "clone" lOl, the characters descendants are cleared shortly after dying so whatever ur trying to accomplish would be better in workspace, probably greatneil80 2546 — 22d