menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
DataPersistance
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
DataPersistance
IntelligentBeing
Join Date: 2013-07-11
Post Count: 618
#221705151
Tuesday, July 18, 2017 6:43 PM GMT
What's more efficient? Saving the data after the user has closed the game with the game.Close event Saving the data as soon as its changed using the .Changed event
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
kylerzong
Join Date: 2011-08-06
Post Count: 659
#221705751
Tuesday, July 18, 2017 6:51 PM GMT
isn't game.close when the server is about to shutdown? you should use game.Players.PlayerRemoving
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
IntelligentBeing
Join Date: 2013-07-11
Post Count: 618
#221705848
Tuesday, July 18, 2017 6:52 PM GMT
That's what I meant, sorry ^^
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
kylerzong
Join Date: 2011-08-06
Post Count: 659
#221706024
Tuesday, July 18, 2017 6:54 PM GMT
i would probably do on changed and when they leave or every like 2 minutes and when they leave
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kacper
Join Date: 2007-12-10
Post Count: 585
#221707603
Tuesday, July 18, 2017 7:12 PM GMT
What I do is I store the data in "Values" and save it when player leaves the game.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right