#Datastore saving not working

14 messages · Page 1 of 1 (latest)

spice stump
#

Script: https://pastebin.com/jagnT0wH

So when I leave to save, I never get the warn I put saying data saved. I already tried fixing this for like 7 hours but still can't do it.

No errors in output.
Sometimes after rejoining it saves but it happens like 1 out of 20 times I rejoin and loading works.

hexed perch
#

might be roblox studio closing faster then you save

#

try in roblox, in game outside of studio it gives you 30 secs before shutting it down

spice stump
#

Alright

#

Ima try

#

It works in roblox

muted mountainBOT
#

studio** You are now Level 4! **studio

hexed perch
#

yep

spice stump
#

but you know why is happening ?

hexed perch
#

the problem is roblox studio closing the game before saving

spice stump
#

Alright. I wasted 7 hours for nothing then xD

hexed perch
#

in normal robloxx

#

you have 30 seconds to do your final things before shut down xd

quasi mural
#

roblox studio server runs on local, when u stop it doesnt have time to save, u can do game:BindToClose to save if u want too. This saves when the server closes. Between u need to save every player with an iteration or the way that u want to.