Is there any Set() in datastore2? or only Increment?

Hi, I’m getting acquainted with datastore2 and that is my question. For example if I want to save a new equipped gun, should I do this like this?

local equippedStore = DataStore2("Equipped",player)
equippedStore:Set(gun) -- (gun is a number)

https://kampfkarren.github.io/Roblox/api/#datastoreset

1 Like