Shirt-changing script distorts shirt ID

I have a problem. I made a gui that changes the clothes of a mannequin. changing clothes doesn’t work through a script, but it works if you change the ShirtTemplate through workspace. and as I realized my script for some reason distorts the Shirt Id
(i took random shirt from marketplace)
original ID: 11966348239 (http://www.roblox.com/asset/?id=11966348212)
distorted ID because of script: 6578687519 (http://www.roblox.com/asset/?id=6578687519)
Снимок экрана 2025-04-05 003411


Снимок экрана 2025-04-05 003458
Снимок экрана 2025-04-05 004034

script under proximity prompt:

script.Parent.Triggered:Connect(function(plr)
	game.ReplicatedStorage.to_local:FireClient(plr,script.Parent.Parent.shirt,script.Parent.Parent.pants)
end)
game.ReplicatedStorage.to_server.OnServerEvent:Connect(function(plr,pants_id,shirt_id)
	script.Parent.Parent.shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id='..shirt_id
	script.Parent.Parent.pants.PantsTemplate = 'http://www.roblox.com/asset/?id='..pants_id
end)

local script under Gui:

local pants_id
local shirt_id
local button = script.Parent.TextButton
game.ReplicatedStorage.to_local.OnClientEvent:Connect(function(npc_shirt,npc_pants)
	script.Parent.Enabled = true
end)
button.Activated:Connect(function()
	pants_id = script.Parent.pants.Text
	shirt_id = script.Parent.shirt.Text
	game.ReplicatedStorage.to_server:FireServer(pants_id,shirt_id)
end)

help pls