CyberMax
Stallwren · Shop & Currency System for Roblox developers

A shop and currencies that never lose a purchase

Try the example shop

The kit's example config with its purchase rules: requirements, limits, a live sale, today's rotation and Robux receipts. Every refusal is the reason Shop:Buy() gives your server.

    Multi-currency wallets, a validated catalogue with sales and limited items, a daily rotating shop that matches on every server, purchases that charge once or refund, Robux receipts granted exactly once, Game Passes, and a shop UI built in code.

    7 modules + 3 example scripts1,350 lines of original Luau27 tests passing.rbxmx + Rojo

    For: Roblox developers adding a shop, currencies, Robux products and passes.

    See it work: real output from the shipped code

    The example's daily shop, 7 days from 12 Oct 2026

    From Rotation:Current(os.time()): every server computes the same 3 items for the day, with no DataStore, and an item never repeats from yesterday.

    Day 1Star Wings
    Frost Trail
    Neon Halo
    Day 2Pixel Hat
    Ember Trail
    Bubble Aura
    Day 3Neon Halo
    Frost Trail
    Leaf Cape
    Day 4Bubble Aura
    Ember Trail
    Pixel Hat
    Day 5Leaf Cape
    Frost Trail
    Neon Halo
    Day 6Bubble Aura
    Ember Trail
    Pixel Hat
    Day 7Star Wings
    Frost Trail
    Leaf Cape

    A player's purchases through Shop:Buy()

    ItemResultCharged / reason
    Grapple HookRefusedrequires speed_coil
    Speed CoilBought750 Coins
    Speed CoilRefusedsold out
    Grapple HookBought2500 Coins
    2x Coins Potion ×2Bought600 Coins (25% off)
    Star WingsRefusednot enough Gems
    Luck Potion ×30Refusedrefused: 30 is over the 10-per-purchase limit

    Requirements, one-time limits, the timed 25% sale and per-purchase limits are all checked before the wallet is touched.

    Watch it run (13 s)

    Design your shop: items, rotation and a ready config

    Set your currencies and items, choose what rotates and how often, add sales and requirements. The page runs the same startup checks as the kit, shows exactly which items your rotating shop will offer on every server for the next rotations (the same maths as Rotation:Current()), and how often each item comes back. Then download StallwrenConfig.luau and drop it into ReplicatedStorage. Free, no sign-up; your design is saved in this browser.

    See the generated Luau

    What's inside

    ModuleRuns onWhat it doesLines
    ShopServerThe server purchase flow.180
    WalletServerOne player's currencies with caps, atomic multi-currency spending and a change signal.149
    CatalogSharedEvery item you sell, validated at startup: prices, sales, time windows, limits, Robux links.167
    RotationSharedA rotating item shop that shows the SAME items on every server, refreshing on a schedule.142
    RobuxStoreServerDeveloper Product receipts that are granted exactly once, and Game Passes that are granted on join and the moment they are bought.124
    Format (free)ClientShort numbers and countdowns for shop and HUD labels (1.25K, 3.4M, 2h 05m).72
    Signal (free)SharedA tiny event object so your UI and systems can react to purchases and balance changes.49
    Example scriptTypePut it in
    StallwrenConfigModuleScriptReplicatedStorage
    StallwrenServerScriptServerScriptService
    StallwrenClientLocalScriptStarterPlayer > StarterPlayerScripts

    Tested like real software

    27 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
    core11/11Format: short numbers never round up past a suffix …
    demo1/1demo: a week of the example's daily shop + a purchase log
    example3/3example server: join, buy gear through the remote, leaderstats + tool update …
    shop12/12Shop: buy charges once and grants through the kind handler …

    Install in 5 minutes

    1. Drag Stallwren.rbxmx onto ReplicatedStorage in Roblox Studio.
    2. Drag StallwrenExamples.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. Stallwren ships its tests (27 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 SystemPet Trading KitTrading SystemInventory Hotbar KitInventory SystemGavelwickAdmin CommandsMillwrenTycoon KitQuestwrenQuest & Dialogue SystemSalvowickFPS Combat FrameworkRoundmoorRound & Match SystemDevEx calculatorFree: Robux to USD at 2026 rates
    Roblox and Roblox Studio are trademarks of Roblox Corporation. Stallwren is made by CyberMax and is not affiliated with or endorsed by Roblox Corporation.

    Free: the Roblox Starter Kit

    7 free Luau modules (damage, pets, shop formatting, admin audit log, tycoon guards and more) plus 3 free calculators, then 5 short emails with the scripting fixes we see go wrong most often.

    You get one email to confirm first. Then the kit, and 5 short emails over two weeks. One-click unsubscribe in every email; we never share your address.

    $8Get Stallwren