`Get Character Appearance Info Async` bug

heres my code:

local ServerStorage = game:GetService("ServerStorage")
local Settings = require(script.Settings)

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(character)
		local Assets = game.Players:GetCharacterAppearanceInfoAsync(plr.UserId).assets
		for index,Asset in Assets do
			if Asset.assetType.name == "Shirt" then
				--character:FindFirstChildOfClass("Shirt").ShirtTemplate = "http://www.roblox.com/asset/?id=".. Asset.id
				print(Asset) --10796754025
				print(character.Shirt.ShirtTemplate) --10796754002
				--
			end
		end
	end)
	
	plr:GetPropertyChangedSignal("Team"):Connect(function()
		
	end)
end)

My goal is when the player loads, without using loadcharacter, to load him some parts of his clothes, but what the hell is this?
Asset from Async - 10796754025
Real Asset - 10796754002

I just want to know why this is so? :sob:

Help please :cold_sweat::cold_sweat::sob::sob::sob::sob::sob:
I really idk how to fix it

The “real asset” is actually an Image ID of the given shirt while the ID that is returned is the actual AssetID.

1 Like