Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

saving datastores when player leaves, how effective is this?

Asked by 6 years ago

So i want to save player data when the player is, but i'm wondering.. how effective is this?

Is there any chance the server will shut off if it's the last player to leave, and not have enough time to save? Thanks.

1 answer

Log in to vote
0
Answered by 6 years ago

I have wondered the same thing, if the server shuts down, will it have enought time to save? Probably not, but your best bet to a good save system, is using pcall()

Here's a page on the Roblox Wiki that will show you how to do this http://wiki.roblox.com/index.php?title=Saving_Player_Data

0
this isnt even meant to be an answer V_ChampionSSR 247 — 6y
Ad

Answer this question