How would I require a random module script from my inventory

I want to require 1 random asset from my inventory.
"https://inventory.roblox.com/v2/users/"..game.CreatorId.."/inventory/10?limit=10&sortOrder=Asc"

If you can get the IDs into a table, you could do this:

local TableOfIDs = {}

local RandomID = TableOfIDs[math.random(1, #TableOfIDs)]
1 Like