Im wondering how to make a gamepass gui for inside your game :)
COMMUNITY QUESTION
How do you make a game pass gui inside ur game?
1 answer
It is pretty simple to be honest
.Once you have a textbutton, place a local script inside with the following code:
local GamepassId = GAMEPASSIDHERE
local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
game:GetService('MarketplaceService'):PromptGamePassPurchase(Player, GamepassId)
end)
Hope this helps.
1 comment
0
You should explain your code, so he understands what's happening.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You need to learn how to do these things and show your script. Scriptinghelpers isn't a request site.