Hey everyone,
I’m facing an issue in my Roblox game where I’m encountering the error “Asset is not trusted for this place” when attempting to use certain assets retrieved from the Roblox catalog. I’ve been using a script to fetch random decals, but it seems that some of these decals are not trusted for use in my game.
Here’s the relevant code snippet for context:
local url = "https://search.roproxy.com/catalog/json?" --> Proxy url
local genre = GENRES[math.random(1, #GENRES)]
local sortType = SORTTYPE[math.random(1, #SORTTYPE)]
local sortAggregation = SORTAGGREGATION[math.random(1, #SORTAGGREGATION)]
local params = "Category=8" .. "&Genre="..genre .. "&SortType="..sortType .. "&SortAggregation="..sortAggregation .. "&Limit="..math.random(30, 300)
local response = HttpsService:GetAsync(url..params)
local data = HttpsService:JSONDecode(response)
local randomDecal = data[math.random(1, #data)]
id = randomDecal.AssetId
I’m wondering if anyone has encountered this issue before and if there are any loopholes or alternative approaches to access these assets reliably within my game environment. I’ve tried various methods such as randomly rolling numbers until it finds an existing image (which includes a lot of shirt templated which is what i’m trying to avoid), read through some forums, but haven’t found a satisfactory solution yet.
Can provide the full script if necessary.
Thank you in advance for your help!