I know that first I have to make the gamepass, then I have to script it out with a GUI.
If you answer this CORRECTLY I will ACCEPT your answer.
01 | local mps = game:GetService( "MarketplaceService" ) |
02 |
03 | local id = 7550418 |
04 |
05 | local player = game.Players.LocalPlayer |
06 |
07 |
08 | script.Parent.MouseButton 1 Click:Connect( function () |
09 |
10 | mps:PromptGamePassPurchase(player, id) |
11 | end ) |
12 |
13 |
14 | local mps = game:GetService( "MarketplaceService" ) |
15 |
https://www.roblox.com/library/5186755643/ My shop model with a open-close button.