CyberMax
Millwren · Tycoon Kit for Roblox developers

A tycoon that earns, saves and rebirths

Plots, a checked unlock graph, physics-free droppers and upgraders with exact income maths, a collector pad, capped offline earnings, rebirths that can't double-fire, and saving. Lay out your plot in Studio or start from the grey-box demo.

9 modules + 3 example scripts2,410 lines of original Luau48 tests passing.rbxmx + Rojo

For: Roblox developers building tycoons and idle games.

See it work: real output from the shipped code

30 minutes of the example tycoon

A player who always buys the cheapest next item, simulated second by second with Economy:Step() (no physics parts). 95,207 Cash produced; 9 of 10 items unlocked (the last one needs a rebirth).

TimeBoughtPriceIncome after
0:00Dropper101/s
0:25Dropper2253/s
0:45Walls603/s
1:25Washer1204.5/s
2:10Dropper320012/s
2:35Vault30012/s
3:25Polisher60024/s
4:15Dropper41,20060/s
4:57Tower2,50060/s

The example's rebirth curve

RebirthCostIncome multiplier
15,000x1
212,500x1.5
331,250x2
478,125x2.5
5195,313x3
6488,281x3.5

What's inside

ModuleRuns onWhat it doesLines
UnlockGraphSharedThe tycoon's buttons and items as a checked dependency graph (prices, requirements, order).319
TycoonServerOne player's tycoon state (cash, unlocked items, rebirths, stored cash) with atomic purchases.272
EconomyServerVirtual droppers, upgraders and collectors; deterministic income maths with no physics parts.184
RebirthServerA configurable price curve and permanent multiplier, with a reset that can't run twice.95
PlotsServerN plots per server, one per player, claim and release with ownership checks.145
LayoutServerReads a plot Folder you built in Studio (attributes or tags) and shows or hides its items.329
Guard (free)ServerRate limits, argument checks and touch/distance checks for every remote and touch handler.148
DropVisualsClientClient-only cosmetic drops that glide from each dropper to the collector (never cash).183
Signal (free)SharedA tiny event object so your UI, saves and analytics can react to tycoon changes.49
Example scriptTypePut it in
MillwrenConfigModuleScriptReplicatedStorage
MillwrenServerScriptServerScriptService
MillwrenClientLocalScriptStarterPlayer > StarterPlayerScripts

Tested like real software

48 automated tests run in a real Luau VM against a Roblox engine mock, on two runtimes (luau-web and native Luau 0.740). They ship in the zip: cd tests && npm install && node run.mjs.

SpecPassingFor example
demo1/1demo: 30 minutes of a player buying the cheapest next item, plus the rebirth curve
economy8/8droppers add up per second …
example7/7example server: demo plots are built and the graph is valid …
graph7/7a valid graph builds and orders dependencies first …
guard7/7rate limit: burst, then refill over time, per player and per key …
plots6/6plots: claim first free, one per player, specific plot, full server …
tycoon12/12purchase: check -> spend -> unlock -> reveal …

Install in 5 minutes

  1. Drag Millwren.rbxmx onto ReplicatedStorage in Roblox Studio.
  2. Drag MillwrenExamples.rbxmx in and move the three scripts to the services above.
  3. Turn on Studio access to API services and press Play. INSTALL.md walks through an example place step by step.

FAQ

Is this allowed on Roblox?

Yes. It's ordinary Luau using Roblox's own services (DataStoreService, MarketplaceService, Players). Nothing bypasses Roblox rules.

Why not a free model from the Toolbox?

Free models are a fine start. Millwren ships its tests (48 of them, run on two Luau runtimes), validates every remote argument, and is original code with a clear licence.

Do I need Rojo?

No. Drag the .rbxmx files into Roblox Studio. A Rojo project file is included if you use it.

Can I use it in a game I sell or a client's game?

Yes: unlimited experiences, commercial or not, for you or your clients. You can't resell or share the code itself.

Is CyberMax affiliated with Roblox?

No. Roblox and Roblox Studio are trademarks of Roblox Corporation, named only to describe compatibility.

More tested kits

HatchwrenPet & Egg SystemStallwrenShop & Currency SystemGavelwickAdmin CommandsDevEx calculatorFree: Robux to USD at 2026 rates
Roblox and Roblox Studio are trademarks of Roblox Corporation. Millwren is made by CyberMax and is not affiliated with or endorsed by Roblox Corporation.
$8Get Millwren