i have the accessory as a child of the localscript (which is in startercharacterscripts) and its name is "Bone"
the code for the script is here:
local character = script.Parent
character.Humanoid.BreakJointsOnDeath = false
character.Humanoid.Died:Connect(function()
character.Humanoid:AddAccessory(script.Bone)
end)

3 comments
and then nothing happened
wouldnt you do this on the server or by a regular script
you need to use remotes, you fire a remote event to execute that function