Hi, I just Trying To Make Outfits Loader And I Got A Little Problem
I’m Trying To Get Idle Animation Id From Roblox Api But I Got Idle Animation Bundle
I Want To Get The Idle Animation Not Idle Animation Bundle
I Don’t Know How To
I Was Research For It But Seem Like No One Post About It
So, This is a outfit detail table
they give 2 id (id and currentVersionId)
after tried to load animation both of id seem like it not working
After checking in the catalog, i found the idle animation have 2 animations
Humanoid Description have animations, shirts, pants etc.
Example code is listed below
local players = game:GetService("Players")
local playerOutFitToGet = "ROBLOX"
local playerUserId = players:GetUserIdFromNameAsync(playerOutFitToGet)
players.PlayerAdded:Connect(function(player)
local char = player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid") or char:FindFirstChild("Humanoid")
if not humanoid then return end
local description = players:GetHumanoidDescriptionFromUserId(playerUserId)
if not description then return end
humanoid:ApplyDescription(description)
end)
The code above will give every player outfit of roblox.
I was able to accomplish this by getting a browser plugin called “BTRoblox”. It would allow you to view an explorer of the animation folder. From there, you can get the Id manually.
Outfits Detail Has Different Animation So I Need To Get The Animation Id From OutfitsDetailTable, Or I Need To Get Every Animations In The Roblox And Find If They’s Animation Name Are Correct (i think i can not do it)
Its easy, just add animate script in those npcs and you are good to go.
Heres the animate script below (Dont change anything from the animate script even animations the humanoiddescription will take care of it.)