Prompt · Pets and eggs · Updated November 2026
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.
The prompt
Add eggs to my game: Config.Pets (id, name, rarity, multiplier, model) and Config.Eggs (id, cost, pets with weights per 1000: Common 650, Uncommon 250, Rare 80, Epic 17, Legendary 2.5, Mythic 0.5). An egg in the world with a ProximityPrompt and a BillboardGui showing the real odds. Hatch goes to the server: check cost, roll with cumulative weights and the player's luck multiplier applied to Rare and above, grant the pet with a uid, save, then FireClient so the client plays a ForgeFX reveal sized by rarity. For Robux eggs, hide them when ArePaidRandomItemsRestricted is true. Playtest, hatch three eggs, screenshot a reveal.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
- The weighted roll function from Forge's progression playbook, on the server, with luck applied to rare tiers.
- Odds rendered from the same table the server rolls with, so what is shown is what is true.
- Pets granted with server-generated uids and saved before the client sees the reveal.
- A ForgeFX reveal: dim, flash, star burst, pop-in, rarity title, confetti and a shake for Epic and above.
- The PolicyService check for paid random items.
Typical credits
On Sonnet 5.5 this prompt usually runs 200 to 600 credits ($2.00–6.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 | 200–600 |
| 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 roll on the server?
A client-side roll can be edited to always return Mythic. The server rolls, saves, then tells the client what to show.
Do I need pet models first?
No. Forge generates one mesh per pet type in a consistent style, or uses Creator Store models, and recolours tier variants.
Related prompts and guides
- Raycast gun with server validation: A hitscan gun: the client sends the aim, the server raycasts from the head, checks fire rate and ammo, applies damage and broadcasts tracers.
- Redeem codes screen: A codes module with expiry dates, a Redeem screen, server-side validation with rate limits and a per-player used list.
- First 60 seconds onboarding: Spawn facing the action, a beam to the next objective, a reward in the first 30 seconds and a tutorial quest chain skipped for returning players.
- How to make a Roblox pet simulator 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.