Hello, I’m trying to load ANY users avatar into the game via WITH A SCRIPT inside a game. One idea I had, is that I remember there being a built-in function that gives me the players currently wearing items, however it doesn’t work since it only tells me the name of each item and not a model.
I’M NOT USING THE LOAD AVATAR PLUGIN because I want the avatar from a SCRIPT
Create a dummy model via this
Then use this script to apply character appearance
local humanoid = script.Parent:WaitForChild('Humanoid')
local UserId = PLAYERID
local HumanoidDescription
local suc ,erro = pcall(function()
HumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(UserId)
end)
if suc then
humanoid:ApplyDescription(HumanoidDescription)
else
wait()
print(erro)
end