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)

3 comments
FilteringEnabled on or off?
on
Click Detectors do not work in FilteringEnabled, check out Goulstem's fix: https://scriptinghelpers.org/questions/17049/how-would-i-fix-click-detectors-if-filtering-is-enabled