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

I got a question about data persistence and how I can use it?

Asked by
Prioxis 673 Moderation Voter
9 years ago

well I already know how to use it anyways but heres my question

can I save a players info as a table on a online server then when I go to edit the game load that same data and if so how would it look like would it be the script it was saved in or no?

0
Not with DataStore or DataPersistence. They each use different storage for data when you're in Edit mode vs. when you're in online mode. Merely 2122 — 9y

1 answer

Log in to vote
0
Answered by
Prioxis 673 Moderation Voter
9 years ago

and also i'm currently making a RPG but in the game your player creates an account so would this work to save their ingame account password after they create it

heres my script so far :

script.Parent.MouseButton1Down:connect(function(click)
    if game.Players.LocalPlayer.Info.Username.Value == "" and game.Players.LocalPlayer.Info.Password.Value == "" then
game.Players.LocalPlayer.Info.Username.Value = script.Parent.Parent.Username.Text
game.Players.LocalPlayer.Info.Password.Value = script.Parent.Parent.Password.Text
game.Players.LocalPlayer.Info.Password.Value:SaveString()
    end
end)
1
you could have edited your question above and put this in... My_Comment 95 — 9y
0
I know im not really helping with your script, but if you could, it would be easier for your players just to join and there would be an automatic load so they dont have to remember a password. My_Comment 95 — 9y
Ad

Answer this question