So heres the trigger in workspace,
for i, model in pairs(workspace.ClothingModels:GetChildren()) do model.Torso.ClickDetector.MouseClick:connect(function(click) game.Lighting.BuyShirt:FireClient(click,model) end) -- Other RemoteEvents end
and heres the connect in the players starter scripts,
game.Lighting.BuyShirt.OnClientEvent:connect(function(click, model) game:GetService("MarketplaceService"):PromptPurchase(click, model.Shirt.ClothingID.Value) end)