Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I code a gamepass shop in my game?

Asked by
goodlead -62
4 years ago

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.

2 answers

Log in to vote
0
Answered by
iivSnooxy 248 Moderation Voter
4 years ago

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)
Ad
Log in to vote
0
Answered by 4 years ago

https://www.roblox.com/library/5186755643/ My shop model with a open-close button.

0
Uh sorry but I do not want your free model sir, I wanted an explaination. goodlead -62 — 4y
0
Oh ok. DaNinjaRoblox23 7 — 4y
0
Don’t be sad ninja iivSnooxy 248 — 4y

Answer this question