#Datastore not saving
1 messages · Page 1 of 1 (latest)
** You are now Level 6! **
and before you guys ask, the values are incremented on server side
o
okay so i found something that is working a lot better, instead of trying to save it when the player leaves, i save it when the value increments, since this isnt gonna be a big project ill call this solved unless issues arrise
You need to use pcalls for DataStoreService
All methods from the DataStoreService are unstable and can sometimes fail
Can you show us your datastore script?
oh so its solved or
The server could shut down before the PlayerRemoving event happens
so you need to do
which basically forces the server to do something, before it shuts down
That makes the most sense on what the issue would be, I'll try this when I'm back home
Im still new to scripting and recently learnt datastores so that's why my coding looks kinda crappy lol
its all good, we all have to start at that crappy annoying stage but once you get past it, its alot smoother from there
thank you, had to tinker a bit with it but i got it working, now i can manually reset my data without resetting others when i need to ❤️🩹