Well I have the prompt purchase to give coins in game it doesnt work and theres no output...
BuyCash.MouseButton1Click:connect(function()
local ID = 43126171
local Market = game:GetService("MarketplaceService")
local Buy = Market:PromptProductPurchase(Player, ID)
Market.PromptPurchaseFinished:connect(function(Player, ID, Purchased)
if Purchased then
Coins.Value = Coins.Value + 700
Server:FireServer(Coins.Value)
end
end)
end)

2 comments
Where are you defining the player?
Oh at the top i just took the portion out