Import rthro bundles into studio as character with humanoid

I tried using stickmasterluke’s wear me plugin but it only works for r15 or lower.

There is another thread on this topic but the plugin they used doesn’t seem to work for me.

So is there anything that can help me get this into my game as an npc?

Rthro rigs are the same as r15, the only “difference” is the body scaling since rthro characters are usually slimmer but it’s still an r15 rig.

I don’t know if this is the best method but this is the solution I came up with and it should work for any character bundle including non rthro bundles.

local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local function GetOutfitIdFromBundleId(id)
	local BundleInfo = MarketplaceService:GetProductInfo(id, Enum.InfoType.Bundle)
	for i, item in BundleInfo.Items do
		if item.Type == "UserOutfit" then
			return item.Id
		end
	end
end

-- Create a HumanoidDescription from the bundle id
local BundleId = 372
local OutfitId = GetOutfitIdFromBundleId(BundleId)
local Description = Players:GetHumanoidDescriptionFromOutfitId(OutfitId)

-- Create humanoid model of bundle using the HumanoidDescription
local Model = Players:CreateHumanoidModelFromDescription(Description, Enum.HumanoidRigType.R15)
Model.Parent = workspace

image

5 Likes

ohh this looks great thank you so much for taking the time