I wanted to know if I could check if a Developer Product was bought but in the "Speaker" Module Script (Chat.ChatServiceRunner.Speaker, the game focuses on chatting).
Could anyone tell me if it is even possible to run such a command in this type of script? Or maybe I just wrote something wrong?
It looks like the script is not printing anything at all.
I am still a beginner and I got the script from the Roblox dev website.
game:GetService("MarketplaceService"):PromptProductPurchase(pl, devPro[chatLength]) game:GetService('MarketplaceService').PromptPurchaseFinished:Connect(function(player, assetId, isPurchased) if isPurchased== true then print("Purchase successful") else print("Purchase failed") end end)