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 comment
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.