Hey! So, I am currently trying to make a datastore, that saves a table of my pets. As of yesterday evening, my script fails to SetAsync(player.userId, SaveTable). I have Studio API Access enabled and everything worked fine, until yesterday. Here’s a quick test script, that isn’t working in my game. The funny part is, that GetAsync is working, it’s just not printing the updated data.
game.Players.PlayerAdded:Connect(function(player) print(game:GetService("DataStoreService"):GetDataStore("Pets"):GetAsync(player.userId)) end) game.Players.PlayerRemoving:Connect(function(player) game:GetService("DataStoreService"):GetDataStore("Pets"):SetAsync(player.userId, "NormalPet") end)
Image of the output:
Am I doing something wrong?
Thanks in advance