I've been trying and trying to find out how and I can't! It's not on YouTube or anywhere. Please, respond
How do I make an in-game clothing scripted catalog?
1 answer
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:
local cleanSweepId = 109592995
script.Parent.ClickDetector.MouseClick:connect(function(player)
game:GetService("MarketplaceService"):PromptPurchase(player, cleanSweepId)
end)
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
local screenGui = Instance.new("ScreenGui") -- Create the screenGui that holds it.
screenGui.Parent = script.Parent
local textButton = Instance.new("TextButton") -- Create a textLabel (Text) that is a button you can click
textButton.Parent = screenGui
textButton.Position = UDim2.new(0, 25, 0, 50)
textButton.Size = UDim2.new(0, 150, 0, 50)
textButton.BackgroundColor3 = BrickColor.White().Color
textButton.Text = "Click Me!"
textButton.MouseButton1Down:connect(function()
local cleanSweepId = 109592995
script.Parent.ClickDetector.MouseClick:connect(function(player)
game:GetService("MarketplaceService"):PromptPurchase(player, cleanSweepId)
end)
end)
Welp like I said I am a beginner but I hope I helped you, You look like you can build a cool store :D
2 comments
@spiderman90438 Thanks! I have a question though. Do I keep copying and pasting this over and over, but still changing the asset id of the Shirts/Pants/Gears?
You basically copy and paste it in whatever part you are wanting them to click to buy and change the asset ID, Tip, If you put in a Shirts or pants ID and it doesn't work, Subtract the number. Ex: 10041515 - Subtract - 10041514, I subtracted the last number from 5 to 4, Please click answered next to my answer, I am on a journey to gain back rep points :D
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Would you like players to actually be able to buy stuff or just wear it?
@FrostTaco Just wear only. Like in my runway/fashion game.