#DataStore problem
1 messages · Page 1 of 1 (latest)
I can send some of the script, I just don't understand why does it works on data inside of leaderstats like gold but not with another folder than leaderstats inside of a player, basically it should be the same, but just changing some stuff
send it
We cannot help you without the given script
** You are now Level 2! **
Sorry for the long reply, just saw the message now
I’ll send it, thanks for pinging
Here's the essentials
Don't mind the towersToSave table part and the other slots, just the slot 1 for now, the other slots should work as well if slot 1 works
Is this part under PlayerAdded or PlayerRemoved?
Also it's best if you send the entire code
The 1st screenshot one is under PlayerAdded and the 2nd screenshot is under PlayerRemoved
Oh, I just didn't want to put long code to avoid bothering, it's 161 lines of code, I think it's good
That's not long
The code looks fine to me
Could it be there's some interference with another script?
Brother
😭
Lol I know how loops works, I just need more practice to get good with it when using
Oh
Probably, with a module script
Ikr
** You are now Level 5! **
This is the module script
Nope, I found out when going on server side instead of client that the stringvalues' values don't change whenever equipping or not, they stay empty, so that's why when saving, it literally saves nothing, so when saving and giving back data it gives nothing as expected, I've managed to equip and unequip saving now, all good