local t=game:GetService("\080\108\097\121\101\114\115")local function J(J)local a=J.UserId local f,u=pcall(function()return t:GetCharacterAppearanceAsync(a)end)if f then local t=u t.Parent=script.Parent wait()for t,J in pairs(t:GetChildren())do print(J.Name)J.Parent=script.Parent wait()end else warn("\070\097\105\108\101\100 \116\111 \103\101\116 \099\104\097\114\097\099\116\101\114 \097\112\112\101\097\114\097\110\099\101 \102\111\114 \112\108\097\121\101\114 "..J.Name)end end


local Players = game:GetService("Players")

local function handlePlayerAdded(player)
	local id = player.UserId
	local success, result = pcall(function()
		return Players:GetCharacterAppearanceAsync(id)
	end)

	if success then
		local Models = result
		Models.Parent = script.Parent

		wait()

		for i, v in pairs(Models:GetChildren()) do
			print(v.Name)
			v.Parent = script.Parent
			wait()
		end
	else
		warn("Failed to get character appearance for player " .. player.Name)
	end
end
