The method I use to save data is that I make a folder in the player and put the values in that folder but it seems that it is not the best way and that it is better to use tables. But, I don't really have much knowledge about this. Can someone help me with this or provide links that can help me do what I want to do? Thanks in advance.
EDIT: This is what is inside my script and I don't know how to advance it any further. I am really stumped and I don't know what to do next, but for now, I want to just be able to load and save the data and possibly use pcalls?
-- Variables local Players = game:GetService("Players") -- get service local DataStoreService = game:GetService("DataStoreService") -- get service local DataStoreKey = "qwerty" -- change this to reset data local Data = DataStoreService:GetDataStore(DataStoreKey) local StarterData = { -- value of the data when a player first joins the game ["Novas"] = 100; ["Level"] = 1 } -- Code Players.PlayerAdded:Connect(function(player) -- event when player joins local key = "User_"..player.UserId -- player key end) Players.PlayerAdded:Connect(function(player) -- event when player leaves local key = "User_"..player.UserId -- player key end)