So i want to make something that gets a place thumbnails and like select a random one but i still can’t find any function or something that can give me all the thumbnails
This is the only thing i can find which only returns the first thumbnail
Got this from assistant, I have no idea how to work with thumbnails
local HttpService = game:GetService("HttpService")
local ThumbnailSize = Enum.ThumbnailSize.Size48x48
local thumbnailUrl = "rbxthumb://type=Asset&id=" .. game.Id .. "&w=" .. ThumbnailSize.Value .. "&h=" .. ThumbnailSize.Value
local response = HttpService:GetAsync(thumbnailUrl)
-- Process the response to get the thumbnail image
Hey, I found a couple of API endpoints to get the images.
I wrote these in JavaScript syntax because it has built-in string interpolation to better show where you should put your universe ID. To convert to Luau, remove the Dollar ($) sign.
I’m pretty sure those are XML files. You could try sending some kind of request to those links in the hope it returns them as content that can be displayed, but I’m not too sure.
I’m gonna sleep now but I’ll take another look in the morning.
Edit: I noticed you mentioned decals, I’m pretty sure Roblox has a separate API for decals, you could find it on their API documentation.