Hello, I recently got an idea but don’t know how to do it…
I want to be able to get use a math.random function to choose a random accessory
within the player’s inventory (their own, from the ROBLOX Avatar/Inventory Page).
How would I get the items from a specific category (example: hats) to
be shown / fetched?
local assetTypes = {
Enum.AvatarAssetType.BackAccessory,
Enum.AvatarAssetType.ShoulderAccessory,
Enum.AvatarAssetType.WaistAccessory
--documentation's example
}
it says array in the documentation, that may include dictionaries