https://gyazo.com/013be0156065545c7b1275b0aeb77edc?token=cd72a0b72fb5deac53648107e9f978ae
https://gyazo.com/3e2f5bcf95255c81b5b7140dfb89bed4
local shirtId = 1361887013
script.Parent.ClickDetector.MouseClick:connect(function(player)
Game:GetService("MarketplaceService"):PromptPurchase(player, shirtId)
end)
local pantsId = 1361888033
script.Parent.ClickDetector.MouseClick:connect(function(player)
Game:GetService("MarketplaceService"):PromptPurchase(player, pantsId)
end)

2 comments
https://gyazo.com/013c7210eb2a9ec131ac495a05db8317 That doesn't work.
I only showed the detection code, things like marketservice you have to do yourself, I'll edit the script though