why does my script dont work ?
local MarketplaceService = game:GetService("MarketplaceService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local productID = 1069575853
local function processReceipt(receiptInfo)
local player = players:GetPlayerByUserId(receiptInfo.PlayerID)
if not player then
return Enum.ProductPurchaseDecision.NotProcessedYet
end
if player then
local PlayerGUI = player.PlayerGui
local BalloonGui = game.ReplicatedStorage.GUI.DevProducts.BalloonGUI
BalloonGui.Parent = PlayerGUI
end
return Enum.ProductPurchaseDecision.PurchaseGranted
end
MarketplaceService.ProcessReceipt = processReceipt()

6 comments
handing a bunch of these out today: https://idownvotedbecau.se/unclear
i edited it
that doesn't help
that doesn't help
What's the error?
I can purchase the dev product but the gui does not open