So, I’m working on a personal game. It heavily relies on DataStores in which I have to use GetAsync() and SetAsync().
As stated in an official ROBLOX article, the limit (per minute) for calling GetAsync() and SetAsync() is 60 + numPlayers × 10. (https://developer.roblox.com/en-us/articles/Datastore-Errors)
Now, I am in a dilemma. While rescripting my data-saving code, I eventually came up with this style of saving data:
local Avatar = {
Hair = hairinfo,
Face = faceinfo,
Package = packageinfo,
};
data:SetAsync(plr.UserId,Avatar)
With the code above, will :SetAsync() (or :GetAsync() if I were to load them in) count as it was called once (with those 3 values inside (hair, face, package)) or will be be called 3 times?
Best regards.