Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[SOLVED] Where should I store my values that I want a player to retain through deaths?

Asked by
lolzmac 207 Moderation Voter
4 years ago
Edited 4 years ago

I'm trying to store an ObjectValue inside the player that retains the value even if the player dies. If I put it in Backpack, the value resets. If I put it in the actual character, the value also resets on death. This also happens in PlayerGui. Where should I keep this value so it will not be reset on the player's death?

Or should I just update the value inside the character from the server every time the player dies?

2 answers

Log in to vote
0
Answered by
Lucke0051 165
4 years ago

If you store your value inside the player it wont reset I think.

Ad
Log in to vote
0
Answered by
lolzmac 207 Moderation Voter
4 years ago

Never mind, I resolved the issue by creating the value inside the player.

Answer this question