I’m working on a survival game, I had to script a data that saves players skins and abilities they bought from the shop but everything works fine but DataStore is not saving the StringValue called “SelectedGamemode” inside player
Everything seems to work fine but for some reason it’s not saving that StringValue, script does not give an error either.
I seperated enitre script to few functions to not make it complicated for me
The problem is in the “loadDefaultStuff” and “saveDefaultStuff” functions
EDIT: I solved it now!