Okay, so I made a donation UI, but after they buy the product, how do I thank players via a GUI after they bought the developer product?
If you know how, please tell me. I am using this script to make the purchase prompt pop up on click.
local productId = 1231980771
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId)
end)

2 comments
I don't really understand.
All it is, is when its purchased, it will do processreceipt function. Replace -- Enable gui here with the code to turn on the gui. Such as plr.PlayerGui.Thanks.TextLabel.Visible = True