This is what i've got so far:

local MarketplaceService = game:GetService("MarketplaceService")
 
MarketplaceService.PromptPurchaseFinished:connect(function(player, assetId, isPurchased)
	if isPurchased then
		wait(1)
		game.Players.LocalPlayer.PlayerGui.PurchaseFinished.Main.Visible = true
	end
end)

This is placed in a screen gui in starter gui. This is a regular script. If you've got an answer, please leave an answer. If you've got a tip, please leave a comment. Thanks!

2 comments

0

Not sure what your asking, but you can test purchasing in test mode..

0

Yes, when i purchase an item in testing mode, it works fine but when i test it on a server, nothing happend