Items of the character lost after dying

What I want to obtain is that the wings that I had on do not take off when I die
The problem starts when I have 5 game passes, how do I know which wings they were before I died?
:frowning:

I tried putting a string value in the workspace for each player but I don’t know if it’s a good idea I think there could be more ways I would appreciate if you could say some ways to save them

2 Likes

You could put a StringValue in the Player object, in a folder called “Settings” or something, or just under the object itself.

1 Like

Can you not store this data in an array? Have an array, and update it like this array[playerName/Id] = wingsString

I feel like this’ll be easier for you to program as all you have to do on respawn to get their wings is:
array[playerName/Id], which will return their wings id

1 Like