This Is I Know To Make A Gamepass Gui But Read Please.

local productId = 0
local player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function() 
	game:GetService("MarketplaceService"):PromptPurchase(player, productId)
end)

ok I guess for the title they will think about how to make a gui to sell gamepass? No, I do not want to do that.

What I Want To Try Is If You Buy A Gamepass Some Gui Saying Something Where You Can Interact With For Example Change Some Map. If You Buy The Gamepass.

1 comment

0

I'm assuming you're asking for this to be able to occur while the player is still in the server instead of having to leave and come back?