I want to help out a friend selling his shirts on my game, but I don't know if this script can sell his shirt, t-shirt, pants, etc. This is the script:
local Id = "ASSET NUMBER HERE"
script.Parent.ClickDetector.MouseClick:connect(function(player)
game:GetService("MarketplaceService"):PromptPurchase(player, Id)
end)
