Is it possible to save values when they ARE NOT a leaderstat/leaderboard? (For Example: NumberValue, BoolValue, Etc.)
✓ ANSWER ACCEPTED
Is it possible to save values? (For Example: NumberValue, BoolValue, Etc.)
1 answer
✓ Accepted answer
What do you mean by save. If you mean data stores then yes, completely possible.
Value = game.Workspace.StringValue
local DataStoreService = game:GetService("DataStoreService")
local playerExperienceStore = DataStoreService:GetDataStore("PlayerExperience")
pcall(function()
playerExperienceStore:SetAsync("player_1234", Value.Value)
end)
5 comments
0
Can you link me to a tutorial or put some script in your answer, please?
0
K, did it
0
Thanks
0
Can you explain more how i use it? I don't get what the "player_1234" is for. Also, Does it need to be in a localscript or normal?
0
and what is "PlayerExperience"
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
i gave an example