Prompt · Developer product · Updated November 2026
Coin pack developer products
Five coin packs through one idempotent ProcessReceipt, with the purchase id saved alongside the grant and real prices shown.
The prompt
Add 5 coin pack developer products (small to huge) with placeholder ids in ReplicatedStorage.Config.Products. One script, ServerScriptService.Monetization, sets MarketplaceService.ProcessReceipt: it waits for the player's data, grants through the economy module, records the PurchaseId in the saved profile, and returns PurchaseGranted only after that save is confirmed, otherwise NotProcessedYet. Show the packs in the shop with real prices from GetProductInfo (pcall, cached), the middle one marked Most popular. Playtest with a Studio test purchase and screenshot.The button opens Forge with this prompt already in the message box. Nothing is sent until you press Send, and the credit price shows first. Forge needs a Windows PC with Roblox Studio and the free Forge Bridge; Mac support is planned.
What Forge builds
- Exactly one ProcessReceipt in the whole game, because a second assignment silently replaces the first.
- A grant that is idempotent: the purchase id is stored in the same saved data as the reward.
- NotProcessedYet on any failure, so Roblox retries and nobody pays for nothing.
- Prices fetched from Roblox rather than typed into the UI.
- Five tiers with a Most popular and a Best value label, per the game pass playbook.
Typical credits
On Sonnet 5.5 this prompt usually runs 100 to 400 credits ($1.00–4.00), more if the playtest catches mistakes that need fixing. One credit is one cent, the price is shown before each message, and credits never expire. Opus 5.5 and Fable 5.2 cost more per message and are worth it for a stubborn bug, not for a first build.
| What you ask for | Typical credits |
|---|---|
| This prompt | 100–400 |
| One build step (a button, a HUD fix, a lighting pass) | 20–150 credits ($0.20–1.50) |
| One game system (a shop, saving, a round loop) | 100–600 credits ($1–6) |
| A complete game, following a guide's full sequence | 2,500–6,000 credits ($25–60) |
Full ranges, packs and the optional membership are on the pricing page. New accounts get free trial credits when they first pair the Bridge (Roblox accounts older than 30 days). No card is needed.
How to run it
- Open your place in Roblox Studio and turn on Assistant ▸ ⋯ ▸ Manage MCP Servers ▸ Enable Studio as MCP server.
- Run the Forge Bridge on the same PC and confirm the pairing in the Forge web app; the sidebar shows your place name in green.
- Press Build this in Forge above (or copy the prompt and paste it), read the price, press Send.
- Forge reads your place first, builds, playtests, reads the console and sends a screenshot. Reply with changes; it remembers your place between messages.
Questions
Why save the purchase id with the data?
If the grant and the receipt are saved separately, a crash between them either loses a paid purchase or grants it twice on retry. One save fixes both.
Do products work in Studio?
Test purchases use test Robux and no charge, but products only exist after the game is published and the ids are real.
Related prompts and guides
- Map voting during intermission: Three random map cards during intermission, one changeable vote per player, vote counts live on the cards and a tie-breaker.
- Rebirth with a permanent multiplier: A rebirth button with a scaling cost, a two-step preview, a server-side reset that keeps the right things, and a Rebirths leaderstat.
- Egg hatching with weighted odds: Eggs with weighted pet tables, odds shown on the egg, a server-side roll with luck, a hatch reveal and a paid-random policy check.
- Game pass and developer product scripts with AI: the full step-by-step sequence this prompt belongs to.
- Pricing: packs from $10, what a whole game costs, membership perks.
- All prompts: every genre and system in the library.