Hello! I’m Charmy.
I’m trying to create a GUI that will offer to buy clothes whose ID was entered earlier in the window (well, you know, like redeem a code in games, etc.). And it will be purchased not in my game, in Roblox
I don’t know how to explain it right…
To prompt a user with a purchase dialogue use MarketplaceService:PromptPurchase
game:GetService("MarketplaceService"):PromptPurchase(game.Players.LocalPlayer, 4367427794)
Change 4367427794 to any item id.
4367427794
https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/PromptPurchase