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.
local mps = game:GetService("MarketplaceService") local id = 7550418 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() mps:PromptGamePassPurchase(player, id) end) local mps = game:GetService("MarketplaceService") local id = 7550418 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() mps:PromptGamePassPurchase(player, id) end)
https://www.roblox.com/library/5186755643/ My shop model with a open-close button.