of     1   

masterfire113
#139885270Thursday, July 10, 2014 5:02 PM GMT

Is the data store system reliable enough to save and load from a single, server-wide script, or is it safer to insert a script into a player on player entry and have that script responsible for that one player's data storage?
XlAscensionlX
#139885339Thursday, July 10, 2014 5:03 PM GMT

maxomega3
#139885379Thursday, July 10, 2014 5:03 PM GMT

First one. DataStore can't even be accessed from the local client.
masterfire113
#139885534Thursday, July 10, 2014 5:05 PM GMT

could you not insert a normal script (not local) into every player, and use that to store data?
masterfire113
#139885653Thursday, July 10, 2014 5:06 PM GMT

and i am intentionally avoiding data persistence because of known issues with it
XlAscensionlX
#139885743Thursday, July 10, 2014 5:07 PM GMT

--Made By XlAscensionlX --This is a really nooby Leaderscript I made, thanks to the wiki I know how now xD --I may update this from time to time as I learn more and more scripting. winsKey = "playerWins" lossesKey = "playerLost" game.Players.PlayerAdded:connect(function(player) print ("A New Player ... " ..player.Name.. " ...Has Joined! Giving Leaderstats to!") local leaderstats = Instance.new("Model",player) leaderstats.Name = "leaderstats" --Giving Wins Stats To. local Wins = Instance.new("IntValue",leaderstats) Wins.Name = "Wins" Wins.Value = 0 local Loses = Instance.new("IntValue",leaderstats) Loses.Name = "Losses" Loses.Value = 0 --Load Data Saving player:WaitForDataReady() player.leaderstats.Value = player:LoadNumber(winsKey) player.leaderstats.Value = player:LoadNumber(lossesKey) end) --Save The Players Wins/Losses For If The Ever Come Back. game.Players.PlayerRemoving:connect(function(player) if player:FindFirstChild("leaderstats") then player:SaveNumber (winsKey, player.leaderstats.Wins) player:SaveNumber (lossesKey, player.leaderstats.Loses) end end) --This is needed for this script to work in "Play Solo" for _, player in pairs(game.Players:GetPlayers()) do PlayerAdded(player) end I have never had a problem with that.
smiley599
#139885863Thursday, July 10, 2014 5:08 PM GMT

use datastore its fine

    of     1