I’m so tired these days, I keep getting errors on errors. Now new ones: this time, with DataStore2. I’ll explain what I’m doing (it’s for a Custom character creator btw):
- I create new string values when the player gets added
- Everytime the player selects something (for example hairs, or skin colors), the value is updated
- Each value is an “ID” to use with DSS2, so when the player joins the actual game, based on his IDs, the appearance of the character will be loaded.
What’s the problem, you might ask? Well, when the values are updated, I get this error:
PLUS, when the player leaves, the data doesn’t save giving me this error:
These are the functions that the error reminds to:
Line 191
Line 496
And line 30, the one from my script (I won’t send a screenshot since there’s 3 lines here
plr.Folder.Skin.Changed:Connect(function()
dataSkin:Set(plr.Folder.Skin)
end)
(Skin is the StringValue of the skin color, when it changes the data is simply :Set to the new value. Or at least, it should.
I’m pretty new to DSS2, I’ve been messing around with it for a couple of days, but I can’t get it to work here. Any help is appreciated, as always.