I’m facing a very weird problem related to Developer Products.
In Roblox studio everything works fine, but in the live game it shows an error when i attempt to purchase a dev product. Does anyone know more about this issue?
So this a local script that handles a gui and prompts the product id
for i, LeftBarButtons in pairs(MainGui.MainThings.LeftBar.DevProducts:GetChildren()) do
if LeftBarButtons:IsA("ImageButton") then
LeftBarButtons.MouseButton1Click:Connect(function()
for i, v in pairs(ProductsModule.Product) do
if v.Genre == "Product" and v.ProductName == LeftBarButtons.Name then
Mps:PromptProductPurchase(Player, v.Id)
end
end
end)
end
end