of     1   

177117
#184099392Sunday, February 21, 2016 9:27 PM GMT

So I was able to write a quick GUI up that prompts a player to purchase a gamepass if they click it. local productId = 0 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() Game:GetService("MarketplaceService"):PromptPurchase(player, productId) end) The problem is, if you already own it, or if you try to click "Purchase" or "cancel," the ROBLOX GUI won't go away, instead I just keep clicking Ok and it stays on the screen. Reseting does not fix the problem. Anybody know what may be causing this?
Darkenus
#184099751Sunday, February 21, 2016 9:32 PM GMT

Yup lol thats my issue to. I just did a simple, if plr DOESNT own asset, then show. if the plr does own it, then doesnt bothering prompting them.
177117
#184100111Sunday, February 21, 2016 9:38 PM GMT

ok, thanks

    of     1