How to put my avatar into my game

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

So you want any random character to just spawn in the game, doesn’t have to be someone in the game but just someone’s character? Am I correct?

I want to load any players avatar by their username into my game through a script (NOT THE PLUGIN) while the user is playing in my game.

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)
	if suc then
1 Like

Obviously place the dummy into ReplicatedStorage. Then clone it with a script and load appearance with above script

Try using HumanoidDescription

local hum = script.Parent:FindFirstChildOfClass("Humanoid")
local desc = hum.HumanoidDescription
1 Like