Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make the player keep accessories given to them on when they die?

I force players to wear certain accessories in my game using the humanoid:AddAccessory() function and it works fine except that when they die they lose the accessories. Would I have to just copy all their accessories when they die and put them back on when they respawn or is there a better way to do it?

1 answer

✓ Accepted answer

Use the Humanoid.Died event and then reassign/add the accessories back to the player. You could use a bindable event so when the Humanoid dies it triggers the accessory-add process in another script.

This discussion is preserved as it was. New answers, comments, and votes are closed.