I was wondering how I would determine if a player bought a Developer Product, I don’t remember if there was a way to do it, or I’m just forgetting something
Current Code:
for number, Asset in Frame:GetChildren() do
if Asset:IsA("Frame") then
if Asset:GetAttribute("Price") >= 1000 then
local Div = Asset:GetAttribute("Price")/1000
Asset.Buy.Text = "R$"..Div.."K"
else
Asset.Buy.Text = "R$"..Asset:GetAttribute("Price")
end
Asset.Desc.Text = Asset:GetAttribute("Desc")
Asset.Buy.Activated:Connect(function()
MarketPlaceService:PromptProductPurchase(Player, Asset:GetAttribute("Asset"))
-- How would i determine if they did here?
end)
end
end