#DataStore problem

1 messages · Page 1 of 1 (latest)

weary prairie
#

I'm trying to save a StringValue inside of a Folder for a player, then when he leaves and joins the game, should be saved, can someone help please?

#

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

nova gulch
#

send it

narrow shuttle
trim radishBOT
#

studio** You are now Level 2! **studio

weary prairie
weary prairie
#

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

narrow shuttle
#

Also it's best if you send the entire code

weary prairie
weary prairie
weary prairie
#

Ah okok, sending it now

narrow shuttle
#

Could it be there's some interference with another script?

weary prairie
weary prairie
weary prairie
weary prairie
trim radishBOT
#

studio** You are now Level 5! **studio

weary prairie
weary prairie
# narrow shuttle Could it be there's some interference with another 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