slime-factory-tycoon

Studio Setup β€” click by click

You need zero paid tools. Roblox Studio is free. That’s it.

1. Create the place

  1. Studio β†’ New β†’ Baseplate.
  2. File β†’ Save to Roblox β†’ name it. Publish now so DataStores work (they don’t run in an unpublished place).
  3. Home β†’ Game Settings β†’ Security β†’ turn ON Enable Studio Access to API Services. Without this, every DataStore call fails in Studio and you’ll think your code is broken. It isn’t.

2. Build the tree

In the Explorer, create exactly this:

ReplicatedStorage
└── Modules              (Folder)
    β”œβ”€β”€ GameConfig       (ModuleScript)
    └── Format           (ModuleScript)

ServerScriptService
β”œβ”€β”€ Bootstrap            (Script)          <- server Script, RunContext = Legacy/Server
└── Services             (Folder)
    β”œβ”€β”€ DataManager      (ModuleScript)
    β”œβ”€β”€ EconomyService   (ModuleScript)
    β”œβ”€β”€ MonetizationService (ModuleScript)
    β”œβ”€β”€ PetService       (ModuleScript)
    β”œβ”€β”€ DailyRewardService  (ModuleScript)
    └── LeaderboardService  (ModuleScript)

StarterPlayer
└── StarterPlayerScripts
    β”œβ”€β”€ ClientMain       (LocalScript)
    └── UIBuilder        (ModuleScript)

How to create each one: hover the parent in Explorer β†’ click the βŠ• β†’ pick Script / LocalScript / ModuleScript / Folder β†’ rename it to match exactly (names are case-sensitive in the require calls).

3. Paste the code

Open each file from src/ in this workspace and paste it into the matching object.

Workspace file Studio object
src/ReplicatedStorage/Modules/GameConfig.lua ReplicatedStorage/Modules/GameConfig
src/ReplicatedStorage/Modules/Format.lua ReplicatedStorage/Modules/Format
src/ServerScriptService/Bootstrap.server.lua ServerScriptService/Bootstrap
src/ServerScriptService/DataManager.lua ServerScriptService/Services/DataManager
src/ServerScriptService/EconomyService.lua …/EconomyService
src/ServerScriptService/MonetizationService.lua …/MonetizationService
src/ServerScriptService/PetService.lua …/PetService
src/ServerScriptService/DailyRewardService.lua …/DailyRewardService
src/ServerScriptService/LeaderboardService.lua …/LeaderboardService
src/StarterPlayerScripts/ClientMain.client.lua StarterPlayerScripts/ClientMain (LocalScript)
src/StarterPlayerScripts/UIBuilder.lua StarterPlayerScripts/UIBuilder (ModuleScript)

Do not create the Remotes folder by hand β€” Bootstrap creates it and every RemoteEvent at runtime.

4. Make the gamepasses and products

Creator Dashboard β†’ your game β†’ Monetization.

Then paste those numbers into GameConfig replacing every id = 0. Anything left at 0 is simply skipped β€” the code checks for it, so you can launch with a partial set and add more later without errors.

5. Test

  1. Test β†’ Start with 2 players (this catches session-lock and remote bugs that solo testing hides).
  2. Tap the vat, buy upgrades, rebirth, hatch.
  3. Leave and rejoin: your data should persist and you should see the offline-earnings banner.
  4. Test β†’ Device emulation β†’ iPhone. Check every button is reachable with a thumb and no text is clipped.

6. Art (the fastest free path)

You do not need to model anything. For v1:

Ship with programmer art. Replace art in week 2 once you know people are playing. Do not spend week 1 on a slime model.

7. Where to change things

That’s the whole content pipeline. A weekly update is ~15 minutes of editing one file.