Team workflow: Team Create, Git, reviews, Packages

How Roblox teams share one game. Compare Team Create, Script Sync, partially and fully managed Rojo, then set up branches, code review, CODEOWNERS and Packages for Beacon Yard.

Concept lesson, about 70 minutes, 11 steps

By the end you can

  • Choose between a Studio-native, a partially managed and a fully managed workflow for a given team
  • Say what belongs in Git, what stays in the place, and where Team Create and Packages fit
  • Use branches, pull requests and a CODEOWNERS file so the right person reviews each change
  • Explain why a place file cannot be merged, and what teams do instead

Before this: Rojo and Git day to day

1Two people, one shop, one Friday

Imagine two of you fix Beacon Yard's shop on the same Friday. One moves the Speed button. The other changes its price. Each of you opens the place, edits, and saves. Whoever saves last wins, and the other change is gone without a warning.

Roblox solved this first with Team CreateTeam CreateRoblox Studio's way for several people to edit one place at the same time.Think of it as a shared workshop table that several people use at once.: you turn it on, add collaborators, and everyone edits the same place at the same time. Each person gets a colour, and you see their selections in the Explorer and the 3D view1. Studio's own Experience Settings window has the switch.

Roblox Studio
Studio's Experience Settings window on the Basic Info page. Team Create is switched on. Below it, Enable Drafts Mode is switched off.

Select a numbered pin, or a row below, to read what it marks.

Figure 1.1.

Experience Settings in Studio. The pins mark Team Create and the Drafts Mode switch under it.

In the picture, which of the two switches is off until a team turns it on?

  1. Enable Drafts Mode, which lets each person edit scripts privately and commit them later
  2. Team Create, which is off for every new game
  3. Both are on for every game
  4. Neither can be changed after the first save
Answer

Enable Drafts Mode, which lets each person edit scripts privately and commit them later. Drafts Mode is disabled by default. Live scripting, where everyone edits the same script at once, is the default inside Team Create.

Open this step in lesson mode · Link to this step · This confused me

2What Team Create is good at

Team Create is the right tool for the work that lives in the place: building, terrain, lighting, UI layout and art. It saves the place to the cloud for you every four minutes. It has comments you can pin to an object, with @name mentions. The owner can restore an older version from Version History2.

It has limits you should know about before you rely on it:

  • Adding someone to work with you needs an age check first, and Edit access on a game you own can go only to Roblox friends. A group can give roles Edit access instead.
  • Reverting is not safe while others are connected. Their next auto-save can overwrite your revert, so Roblox tells the owner to turn Team Create off first.
  • It has no review step. A change is live for the whole team the moment it is made.

Which of these are true of Team Create?

  1. Teammates see each other's selections in different colours
  2. A change waits for a reviewer before teammates see it
  3. The place is saved to the cloud automatically while the session runs
  4. The owner can revert to an older version, but should disable Team Create first
  5. It merges two people's edits to the same script line by line, like Git
Answer

Teammates see each other's selections in different colours; The place is saved to the cloud automatically while the session runs; The owner can revert to an older version, but should disable Team Create first. Team Create is live: changes appear at once and there is no review step. It auto-saves, and the owner can revert, ideally with Team Create off. Drafts Mode, not live editing, is the source-control style option.

Open this step in lesson mode · Link to this step · This confused me

3Git for the code, and why places do not merge

In the last lesson you used branches and resolved a text merge conflict in Config.luau. That is what Git gives a team that Team Create cannot: a reviewed history, short-lived feature branches, and a way to catch mistakes before they reach main.

Both sidesRemember: Git commits and branches is save points and a parallel save file.

One recap check ties the two worlds together before you choose a team setup: why do studios keep code in Git and keep place files out of it?

Two teammates each edit a saved copy of Beacon Yard's binary place file in Studio and commit it to Git. What can plain Git do without a Roblox-aware merge driver?

  1. Nothing smart: a place file is binary, so Git sees a changed blob and one version has to win
  2. Merge the two edits property by property
  3. Merge them line by line, as it does for Luau
  4. Reject both commits
Answer

Nothing smart: a place file is binary, so Git sees a changed blob and one version has to win. Git cannot merge a binary place file, and even the XML .rbxlx form is huge and noisy. That is why teams build places from code in Git or edit the live place together in Team Create.

Open this step in lesson mode · Link to this step · This confused me

4Three ways to combine them

Roblox's own guide frames it as one question: for each part of the game, where is the source of truth? It names three common answers3:

  1. Studio-native. The place is the truth. Script Sync copies scripts to files so Git can track and review them4.
  2. Partially managed Rojo. Git is the truth for code and config. The place is the truth for art, terrain and UI, edited in Team Create5.
  3. Fully managed Rojo. Git is the truth for everything. The place is build output that CI publishes6.

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Team Create onlyNo Git. Everyone edits the live place and Version History is the safety net.Solo creators and small art-heavy teams that rarely write scripts together.No review step and no readable history of who changed which line.
Script Sync plus Team CreateStudio's own feature writes scripts to a folder in your Git repository.Roblox's guide suggests it for teams of fewer than five on a single-place game, and it adopts into an existing game at any time.Only scripts and folders sync. Merging a branch does not update the place for the team.
Partially managed RojoRojo syncs code and config from Git; art stays in the place, shared by Team Create and Packages.Roblox's guide recommends it for most teams that use Git: several programmers, or more than one place.You run Rojo, linters and CI, and you must keep Studio-only edits out of Rojo-managed folders.
Fully managed RojoEverything, models and images included, is files in Git, and CI builds and publishes the place.Teams that need review and history for every instance. Roblox's own sample CI repository assumes it.The most tooling to maintain. Roblox's guide says most teams do not need it.

Match each team to the setup Roblox's guide would suggest.

  1. Three friends, one place, mostly building
  2. Six people, four of them programmers, two places
  3. A studio that must review every model change in a pull request
  4. A solo creator who wants scripts in Git
Answer

Three friends, one place, mostly building: Studio-native with Team Create; Six people, four of them programmers, two places: Partially managed Rojo; A studio that must review every model change in a pull request: Fully managed Rojo; A solo creator who wants scripts in Git: Script Sync. Fewer than five creators on one place suits Studio-native. Several programmers or several places suit partially managed Rojo. Only a need to review every instance justifies fully managed Rojo. Script Sync is the light way to get scripts into Git.

Open this step in lesson mode · Link to this step · This confused me

5Where Beacon Yard sits

Beacon Yard is unusual: its yard is not in the place at all.

-- The yard is built when the server starts. Up to m05 it was placed by
-- hand in default.project.json; in code it can use loops (the pad ring)
-- and helpers (signs, lights, motes), and Play still works without an
-- uploaded place or a single asset id. Pads, gates, the spawn, and the
-- prompts stay ordinary anchored parts the server can trust. The beacon
-- visual is your uploaded model on CrystalAnchor when Assets has one, and
-- a MeshForge stand-in otherwise. The anchor remains the gameplay part.
Figure 5.1

The layout is code, so a pull request can show a moved gate as a changed number. That puts the game near the Git-first end. The exception is meshes: Rojo cannot write a MeshPart's mesh, so uploaded art stays outside Git and the repository holds templates that a script fills in with your ids.

A teammate opens Studio during Play, drags Pad3 two studs east in Workspace.Yard and saves the place. What happens at the next Play?

  1. MapBuilder builds the yard again from code, so the move is gone
  2. The new position is kept, because the place file wins
  3. Rojo copies the move into src
  4. Git reports a conflict in MapBuilder.luau
Answer

MapBuilder builds the yard again from code, so the move is gone. From m06 the yard is built by MapBuilder when the server starts, and it is not saved in the place. A hand edit disappears. To move the pad you change the code, and the diff shows the change.

Open this step in lesson mode · Link to this step · This confused me

6Branches, pull requests and CODEOWNERS

The Git half of the workflow is a loop. You make a branch off main, commit, push, and open a Pull requestPull requestA request to merge one branch into another, with a page for discussion and checks.Think of it as a handover note stapled to your branch: please review and merge.. A teammate reads the diff, comments, and approves. Then it merges. Roblox's guide adds two habits for programmers: run the formatter and linter before you open the pull request, and never hand-edit a Rojo-managed script in Studio, because the next sync wipes it5.

To make sure the right person reviews, add a CODEOWNERSCODEOWNERSA file that lists who must review changes to which paths.Think of it as a sign on each door saying whose signature opens it. file. Each line is a path pattern and the owners. GitHub asks the owners of every changed file for a review, and with branch protection set to require code owner review, the pull request cannot merge without them7. When several lines match, the last one wins. Try it.

Luau
-- A CODEOWNERS-style matcher: the last rule that matches wins.
local rules = {
	{ pattern = "*", owners = { "@leads" } },
	{ pattern = "*.md", owners = { "@docs" } },
	{ pattern = "/src/server/", owners = { "@gameplay" } },
}
 
local function matches(pattern: string, path: string): boolean
	if pattern == "*" then
		return true
	end
	if string.sub(pattern, 1, 2) == "*." then
		local extension = string.sub(pattern, 2)
		return string.sub(path, -#extension) == extension
	end
	local folder = string.sub(pattern, 2)
	return string.sub(path, 1, #folder) == folder
end
 
local function owners(path: string): string
	local found = {}
	for _, rule in rules do
		if matches(rule.pattern, path) then
			found = rule.owners
		end
	end
	return table.concat(found, " ")
end
 
for _, path in { "src/server/CoinService.luau", "README.md", "src/server/NOTES.md", "stylua.toml" } do
	print(path .. " -> " .. owners(path))
end
Figure 6.1. Expected output: src/server/CoinService.luau -> @gameplay README.md -> @docs src/server/NOTES.md -> @gameplay stylua.toml -> @leads

You move the *.md rule to the bottom of the list, below the /src/server/ rule. Who owns Beacon Yard's src/server/NOTES.md now?

rules = {
  { "*",           "@leads" },
  { "/src/server/", "@gameplay" },
  { "*.md",         "@docs" },
}
  1. @docs
  2. @gameplay
  3. @leads
  4. Nobody
Answer

@docs. Both the folder rule and *.md match, and the last match wins, so the order of the file is the whole logic. Put general rules first and specific ones last.

Open this step in lesson mode · Link to this step · This confused me

7Packages: art without merge fights

Art is the part Git cannot help with, so Roblox gives you PackagePackageA model saved as a versioned Roblox asset that copies in many places can follow.Think of it as a master drawing that every printed copy can be refreshed from.s. You right-click a model in Explorer, choose Convert to Package, and it becomes a versioned asset. Every copy in every place carries a PackageLink. When someone publishes a new version, copies with AutoUpdate on pull it in when the place opens; the others show an update icon8.

Both sidesRoblox Packages is a master drawing in the Asset place that every printed copy refreshes from.
In the pictureIn Roblox
The master drawingThe original Package in the dedicated Asset place
Each printed copy on the floorA copy carrying a PackageLink in a dev or match place
Issuing a new revisionRight-clicking the original and choosing Publish to Package

See the whole analogy cast

Four rules from the guide keep it safe: edit packages only in one Asset place, never delete a PackageLink, publish a nested package before its parent, and remember that AutoUpdate is off by default. A copy you edit in the dev place counts as modified and stops updating.

Both sidesRemember: Roblox Packages is a master drawing in the Asset place that every printed copy refreshes from.

Put the steps of changing an existing package in order.

  1. Open the Asset place, where the original package lives
  2. Edit the original
  3. Open the dev place; copies with AutoUpdate on update, others show an update icon
  4. Right-click it and choose Publish to Package
  5. Use Get Latest Package on a copy that did not update
Answer

1. Open the Asset place, where the original package lives 2. Edit the original 3. Right-click it and choose Publish to Package 4. Open the dev place; copies with AutoUpdate on update, others show an update icon 5. Use Get Latest Package on a copy that did not update. The change is made once, in the Asset place, and published as a new version. Copies follow when the place opens (AutoUpdate), or when someone pulls the update by hand.

Where does it break?“A master drawing in the Asset place that every printed copy refreshes from” is a good picture of roblox packages. Where does it stop being true?

It breaks here. A printed copy does not stop accepting revisions when someone writes a note in its margin, but editing a Package copy inside a dev place marks it modified and stops AutoUpdate from refreshing it.

The true model. Packages are versioned assets linked by PackageLink. AutoUpdate is off by default, and any local edit to a copy disconnects it from automatic updates until you revert or publish from the Asset place.

You edit a package copy in the dev place. A teammate publishes a new package version. Will AutoUpdate replace your modified copy when the place opens?

  1. No. A locally modified copy does not update automatically.
  2. Yes. AutoUpdate always overwrites local edits.
Answer

No. A locally modified copy does not update automatically.. Studio protects local modifications. Edit the source package in the Asset place when you want other copies to receive the change.

Open this step in lesson mode · Link to this step · This confused me

8Environments: personal, dev, stable, production

Teams that use Git rarely let anyone edit the live game. They keep several places. Roblox's guide lists personal dev places, a shared dev place, an Assets place, a Stable snapshot for playtests, and Production, which is only ever a copy of Stable after approval3.

One detail trips teams up. The guide says to create each environment as a separate game under the same group, not as extra places in one game, because data stores and secrets belong to the game.

Beacon Yard's Dev and Production are two places inside one game. A tester runs the coin-saving test in Dev. What can go wrong?

  1. Both places share the game's data stores, so the test can write into live player data
  2. Nothing; each place has its own data stores
  3. Studio refuses to run the test
  4. The test runs twice
Answer

Both places share the game's data stores, so the test can write into live player data. Data stores belong to the game, so places in one game share them. Put each environment in its own game and test data stays out of production. Beacon Yard's saves, in the BeaconYard stores, would be shared in the same way.

Open this step in lesson mode · Link to this step · This confused me

9Try the loop on your clone

You will not need a team to try the loop. Do it on your own copy of the game.

Build along

m06-drone-wrench

  • .github/CODEOWNERS
  1. In your clone, run git switch -c docs/code-owners to start a branch.

    You should see git status shows a clean tree, and the branch name appears in your prompt or in git branch.

  2. Create .github/CODEOWNERS with three lines: a * rule, a *.md rule, then /src/server/ with an owner of your choice.

    You should see The file exists. Its last line is the most specific rule, for the server folder.

  3. Stage the new file and commit it: run git add .github/CODEOWNERS, then git commit -s -m "docs(team): add code owners". The -s adds the sign-off.

    You should see git log -1 prints your message and a Signed-off-by line, as Beacon Yard's contributing guide asks.

  4. Run git diff main --stat to see what a reviewer would see.

    You should see One file changed, one insertion block, and nothing under src.

## Sign-off
 
Sign off each commit (`git commit -s`) to certify the [Developer Certificate of Origin](https://developercertificate.org/).
Figure 9.1

Which flag does Beacon Yard's contributing guide ask for on every commit?

  1. git commit -s
  2. git commit --amend
  3. git commit -n
  4. git commit --allow-empty
Answer

git commit -s. -s signs off the commit, certifying the Developer Certificate of Origin. It is a line in the message, not a cryptographic signature.

Open this step in lesson mode · Link to this step · This confused me

10Challenges

Level 1, Apprentice

Challenge

Make one small, reviewable change on a branch and commit it the way a team would.

Start from
m06-drone-wrench, on a new branch

Done means

  • A branch named like type/short-topic
  • One commit with a Conventional Commits subject and a Signed-off-by line
  • git diff main --stat lists only the files you meant to change

Hints

  1. git switch -c docs/team-notes makes the branch.
  2. A Conventional Commits subject looks like docs(team): add code owners.
  3. git log -1 shows the sign-off line.

Level 2, Builder

Challenge

Prove that a package carries a change from the Asset place to a copy without anyone merging anything.

Start from
Any place in Studio, signed in

Done means

  • A model converted to a package in an Asset place, with its PackageLink visible in Explorer
  • A second place that holds a copy with AutoUpdate turned on
  • After you publish a change, the copy shows the new version when the second place opens

Hints

  1. Group the object as a Model first, even if it is one part.
  2. Select the PackageLink and tick AutoUpdate in Properties.
  3. Use Publish to Package on the original, then reopen the second place.
jobs:
  commits:
    name: commit subjects
    runs-on: ubuntu-latest
    if: github.event_name == 'pull_request'
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
        with:
          fetch-depth: 0
      - name: Validate pull request commit subjects
        run: node scripts/check-commit-range.mjs ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
 
  format:
    name: format
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
        with:
          version: v1.2.0
      - name: stylua --check .
        run: stylua --check .
 
  lint:
    name: lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
        with:
          version: v1.2.0
      - name: selene src tests
        run: selene src tests
      - name: selene unit
        run: selene unit
 
  types:
    name: type check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
        with:
          version: v1.2.0
      - name: wally install
        run: wally install
      - name: scripts/typecheck.sh
        run: bash scripts/typecheck.sh
 
  ids:
    name: id guard
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - name: node scripts/check-ids.mjs
        run: node scripts/check-ids.mjs
 
  challenges:
    name: challenge index
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - name: node scripts/check-challenges.mjs
        run: node scripts/check-challenges.mjs
 
  build:
    name: build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
      - uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
        with:
          version: v1.2.0
      - name: wally install
        run: wally install
      - name: rojo build
        run: |
          mkdir -p build
          rojo build default.project.json -o build/beacon-yard.rbxlx
      - name: rojo build the unit-test place
        run: rojo build test.project.json -o build/beacon-yard-tests.rbxlx
      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
        with:
          name: beacon-yard-rbxlx
          path: build/beacon-yard.rbxlx
 
  milestones:
    name: every milestone tag
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
        with:
          fetch-depth: 0
          fetch-tags: true
      - uses: CompeyDev/setup-rokit@1d9390883f7ebce19d48f5b8d006e11d387c92ab # v0.2.1
        with:
          version: v1.2.0
      - name: scripts/check-milestones.sh
        run: bash scripts/check-milestones.sh
Figure 10.1

Why do teams let CI run format, lint and type checks on a pull request before a teammate reads the diff?

  1. So reviewers spend their time on design and bugs instead of pointing out spacing or typos
  2. Because GitHub hides diffs until every job passes
  3. So nobody has to read pull requests
  4. Because CODEOWNERS only works when CI fails
Answer

So reviewers spend their time on design and bugs instead of pointing out spacing or typos. Machines catch formatting, lint warnings and type errors in seconds. That leaves human review for the hard questions: is this the right design, and could it break players?

Level 3, Professional

Challenge

Write the matcher that GitHub's review rule needs. Start from the m14-ship tag in the game repo, then run it with game.ServerScriptService.RunGameTests:Invoke("team-workflow").

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("team-workflow") in the server command bar. Copy the pass code from Output.

Done means

  • challenges/work/code_owners.luau returns the owners of the last rule that matches a path
  • A folder pattern does not match a longer folder name, and no match gives an empty list
  • reviewers lists each owner of a changed file once, sorted
  • The team-workflow challenge prints TEST PASS for all nine checks

Hints

  1. The stock owners function stops at the first exact match. Loop over every rule and keep the last that matches.
  2. A folder pattern such as /src/server/ must compare the path's start, including the slash.
  3. Use a table as a set to remove duplicate owners, then table.sort the list.

Open this step in lesson mode · Link to this step · This confused me

11Recap

Retiring the analogy

You no longer need “save points and a parallel save file”. Git tracks text files as a history of commits. Branches diverge and merge; conflicting lines need a person to decide. Binary files have no lines, so teams keep code and the project file in Git and build the place from them.

With branches and pull requests keeping Beacon Yard's text code reviewable and Packages keeping binary art reusable across places, you no longer need either metaphor to reason about team workflows.

Retiring the analogy

You no longer need “a master drawing in the asset place that every printed copy refreshes from”. Packages are versioned assets linked by PackageLink. AutoUpdate is off by default, and any local edit to a copy disconnects it from automatic updates until you revert or publish from the Asset place.

Recap

  1. Team Create is live editing for the place: great for art and layout, with no review step. Git adds review and history for text, and cannot merge a binary place file.
  2. Pick the lightest workflow that fits: Studio-native, partially managed Rojo, or fully managed Rojo. Beacon Yard builds its yard in code, so it sits near the Git-first end.
  3. Review with branches, pull requests and a CODEOWNERS file where the last matching rule wins. Art travels as Packages, and each environment is its own game.

Git commits and branches is save points and a parallel save file, until two save files can never be combined in a game, but Git merges branches line by line; and when the file is binary, such as a place file, Git cannot merge it at all and one version must win.

Roblox Packages is a master drawing in the Asset place that every printed copy refreshes from, until a printed copy does not stop accepting revisions when someone writes a note in its margin, but editing a Package copy inside a dev place marks it modified and stops AutoUpdate from refreshing it.

Next The toolchain: Rokit, Wally, pesde, StyLua, Selene, luau-lsp

Open this step in lesson mode · Link to this step · This confused me