Now that you've got a unique key to each player, you're set to making the data store update and retrieve data. Underneath your key, you will want to add a method that is most suitable to your needs. In this case, we'll use "UpdateAsync".
Start with a function to help the server understand what you are intending to do. local datastore = game:GetService("DataStoreService"):GetDataStore("name") game.Players.PlayerAdded:connect(function(player) local key = "user_" .. player.userId datastore:UpdateAsync(key, function(old) local newValue = old or -- could be nil newValue = newValue + 50 return newValue end) end) In this function, we set up another function, old. "old" was our previously saved data. In this scenario, every time a player entered the server, the server would locate its key, which is their userId, and it would update the data by 50 points, returning and displaying that new value.