RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make me a script where if you press a textbutton a developer product shows up and you can buy it"
-- LocalScript in TextButton local MarketplaceService = game:GetService("MarketplaceService") local TextButton = script.Parent local productId = 123456789 -- replace with your developer product ID local function onButtonActivated() local player = game.Players.LocalPlayer MarketplaceService:PromptProductPurchase(player, productId) end TextButton.Activated:Connect(onButtonActivated)