How to get OutfitId for HumanoidDescription?

GetHumanoidDescriptionFromOutfitId is part of the HumanoidDescription System but there is no tutorial on how to get an OutfitId with a script


Code from Wiki

1. -- Stop automatic spawning so it can be done in the "PlayerAdded" callback
2. game.Players.CharacterAutoLoads = false * local function onPlayerAdded(player)
3. local humanoidDescriptionForOutfit = game.Players:GetHumanoidDescriptionFromOutfitId(480059254)
4. -- Spawn character with the HumanoidDescription
5. player:LoadCharacterWithHumanoidDescription(humanoidDescriptionForOutfit)
6. end
 * -- Connect "PlayerAdded" event to "onPlayerAdded()" function
7. game.Players.PlayerAdded:Connect(onPlayerAdded)

I believe this is still a WIP. If the way it sounds, then that means roblox is going to allow you to grab id’s from outfits, and apply them in game.

This page is everything you need regarding this, For you to request any of those endpoint from a script though you would’ve to use a proxy like And its really straight forward,an example on how to request one of the endpoints would be:

local http = game:GetService('HttpService')
local function getOutfits(id)
	local data
	local url = '''/outfits?itemsPerPage=1000' --notice how is replaced with
	local succ,err  = pcall(function() data =  http:JSONDecode(http:GetAsync(url,true)) end)
	local tables = 
    local stuff = {}
	for i = 1,#tables do
		local subTables = tables[i]
		local id = subTables["id"]
   return stuff
local outfits = getOutfits(164460352)

(this gets all the Outfits from a userid, thats just an example though you can apply that to any endpoint of them)


thx for teaching me something new!