In-Game clothing scripted catalog, Funny thing is I almost didn't see clothing in the title, It depends if it is a Gui or not, If it isn't than make the model of the shirt or pants or both you want them to buy or a decal is fine, Than put a ClickDetector in and script, There is a In-Game Purchase script you can use to buy clothes, It would go like this:
1 | local cleanSweepId = 109592995 |
4 | script.Parent.ClickDetector.MouseClick:connect( function (player) |
5 | game:GetService( "MarketplaceService" ):PromptPurchase(player, cleanSweepId) |
I suggest you make the shirt or pants you want to sell than add a buy sign in front of it and where people click to buy, Put a Click Detector and a script not a local script and put this in, Change the cleanSweepId to the ID of your Shirts/Pants/Gears, If you want a Gui than :D
01 | local screenGui = Instance.new( "ScreenGui" ) |
02 | screenGui.Parent = script.Parent |
05 | local textButton = Instance.new( "TextButton" ) |
06 | textButton.Parent = screenGui |
07 | textButton.Position = UDim 2. new( 0 , 25 , 0 , 50 ) |
08 | textButton.Size = UDim 2. new( 0 , 150 , 0 , 50 ) |
09 | textButton.BackgroundColor 3 = BrickColor.White().Color |
10 | textButton.Text = "Click Me!" |
13 | textButton.MouseButton 1 Down:connect( function () |
14 | local cleanSweepId = 109592995 |
17 | script.Parent.ClickDetector.MouseClick:connect( function (player) |
18 | game:GetService( "MarketplaceService" ):PromptPurchase(player, cleanSweepId) |
Welp like I said I am a beginner but I hope I helped you, You look like you can build a cool store :D