I have a script that applies a specific Uniform to the player when they click it on the GUI. I tried adapting it to work with Tshirts but it seems to not work. I tried using this
local Event = Instance.new("RemoteEvent")
Event.Parent = game.ReplicatedStorage
Event.Name = "Badge2"
local ShirtGraphic = "rbxassetid://5128483529"
function GiveUni(plr)
local character = plr.Character
local shirtgraphic = character.ShirtGraphic
local pants = character.Pants
shirtgraphic.Graphic = ShirtGraphic
end
Event.OnServerEvent:Connect(GiveUni)
But only to get the following error.
01:08:05.942 - ShirtGraphic is not a valid member of Model
01:08:05.944 - Stack Begin
01:08:05.944 - Script 'ServerScriptService.Badge2', Line 8 - function GiveUni
01:08:05.945 - Stack End
So I'm confused as to where to go from here any help will be appreciated.

2 comments
First Option gives me the following error - 16:27:03.691 - ShirtGraphic is not a valid member of Model 16:27:03.693 - Stack Begin 16:27:03.693 - Script 'ServerScriptService.BadgeGive2', Line 8 - function GiveUni 16:27:03.694 - Stack End
Second one gives me this error - 16:55:29.376 - ShirtTemplate is not a valid member of Model 16:55:29.377 - Stack Begin 16:55:29.378 - Script 'ServerScriptService.BadgeGive2', Line 8 - function GiveUni 16:55:29.378 - Stack End