The table "PlayerData" has been converted into a JSONString that I want to save and load with data stores. How would I do this???
local PlayerData = {
money = 2500;
plane1Unlocked = false;
plane2Unlocked = false;
plane3Unlocked = false;
}
local http = game:GetService("HttpService")
local PlayerDataJSON = httpService:JSONEncode(PlayerData)
game.Players.PlayerAdded:connect(function(player)
--LoadData
end)
game.Players.PlayerRemoving:connect(function(player)
--SaveData
end)
