The arena and the broadcast
The server is the arena and its referee. Each player watches a broadcast at home and holds a controller. Every picture here is introduced, used, then broken on purpose, because knowing where an analogy fails is how you learn the real model.
Server
The server
The referee with the only real scoreboard
In the picture In Roblox The referee The Roblox server running your Scripts The official scoreboard Values the server owns, such as a player's coins Calling a foul Rejecting a request that breaks the rules Where it breaks. The server is also the field itself, and it cannot see things that exist only on a client, such as a player's GUI or a LocalScript's effects.
The server runs the authoritative copy of the whole game world. Anything that matters (coins, damage, purchases) is decided there, and clients only see what it replicates to them.
Client
The client
Your screen and controller at home
In the picture In Roblox Your screen What one player's device draws Your controller Input that LocalScripts read and send as requests Watching from home Seeing a copy of the world, not the original Where it breaks. The client also simulates your own character's movement and sends it up, so it is more than a screen.
Each player's device runs its own copy of the game for display and input. It owns its character's physics by default, which is why movement feels instant and why a cheater can move strangely.
Both sides
Replication
The live broadcast
In the picture In Roblox The match in the arena The server's instance tree The broadcast feed Property and instance changes sent to every client The delay on the feed Network latency Where it breaks. Only property changes in some containers are sent, and nothing a client changes ever travels back up to the server.
The server copies changes in replicated containers, such as Workspace and ReplicatedStorage, down to clients. A client's own changes stay on that client unless it asks the server through a remote.
Both sides
A RemoteEvent
A note to the front-desk clerk
In the picture In Roblox Writing a note FireServer from a LocalScript The clerk reading it OnServerEvent running on the server The name on the envelope The player argument the engine adds Where it breaks. The engine stamps the sender for you, but every other word on the note can be a lie.
A RemoteEvent carries a one-way message between a client and the server. The server always learns which player sent it; every other argument is untrusted input that the server must check.
Stored data
A DataStore
A bank vault in another city
In the picture In Roblox The vault Roblox's DataStore service, outside your server The trip to the city A network call that takes time and can fail The deposit slip SetAsync or UpdateAsync with a key Where it breaks. The vault keeps only the last write for a key, so two servers writing the same key can silently undo each other.
A DataStore is a remote key-value store with request budgets. Calls are slow and can throw, so code wraps them, retries carefully and uses UpdateAsync or a session lock when more than one server might write.
Server
Rewarded video ads
A sponsored sample stall at the shop counter
In the picture In Roblox The sponsor who pays the shop The advertiser, who pays Roblox for impressions The short demo you agree to watch A 6 to 30 second rewarded video, started only by the player's own click The free sample of something the shop sells A developer product that is also on sale in the shop, granted after the full view The sign that says what you get The disclosure on the button: what the reward is and what to do for it Where it breaks. The shop decides neither who may watch nor how the sample is handed over: Roblox decides eligibility (age, region, fill, frequency), and the reward arrives later as a ProcessReceipt receipt, not across the counter.
The client asks AdService:GetAdAvailabilityNowAsync when the shop opens. The server calls ShowRewardedVideoAdAsync with an AdReward made from a developer product. When the ad plays to the end, Roblox delivers a receipt for that product through ProcessReceipt with ProductPurchaseChannel AdReward. You earn Robux per impression, not per reward.
Both sides
AI coding agents
A very fast apprentice who never says I do not know
In the picture In Roblox The apprentice types the change The agent edits scripts and files You look over their shoulder You read the diff in Git before accepting it Show me it works A test that failed before, and a playtest in Studio Where it breaks. A human apprentice remembers a correction tomorrow and tells you when unsure, but an agent starts each session without yesterday's instructions and sounds equally sure when it is wrong, including about links and numbers.
An agent is a program that predicts plausible work from the text it is given. It has no memory between sessions beyond files it reads, and no sense of when it is wrong. Rules belong in a file in the repository, work belongs on a development copy, and every claim is checked against the artefact itself.
Stored data
Economy events
The store's till roll
In the picture In Roblox The roll The economy events on the dashboard A line for each sale One LogEconomyEvent per coin in or out The balance printed on each line The balance-after argument Where it breaks. A till roll only records what happened; it cannot restore a lost balance, which lives in the profile.
LogEconomyEvent records a source or sink of a named currency with the balance after it. Analytics events are aggregated for charts and are not a backup of player data.
Server
Service lifecycles and dependencies
Crews on a building site: each sets up its own corner, then the foreman schedules the work from every crew's note of who must finish first
In the picture In Roblox A crew A service module such as CoinService Unloading its own tools before work begins init: build its own state, call nobody, never yield The note saying which crews must finish first The service's deps list The foreman building the schedule The loader sorting services so each starts after its deps Two crews each waiting for the other A dependency cycle, which the loader refuses with the loop's names Where it breaks. Crews stuck on each other negotiate and one starts early; a loader cannot, so a cycle is a design fault fixed in code by splitting a service or passing a callback. And a crew finishes and leaves, while a service runs for the life of the server and must clean up after every player who leaves.
Each service has an init phase that only builds its own state and a start phase that may use others; it declares its deps, and a loader orders them with a stable topological sort, refuses unknown deps and cycles, and hands each start its deps so tests can pass fakes.
Both sides
An art pipeline
A relay race: programs are the runners and files are the baton
In the picture In Roblox Each runner A program: Blender, a painter, Studio's Importer The baton A file: .blend, .fbx, .png A hand-off Export from one tool and import into the next Where it breaks. A baton is the same object at both ends of a hand-off, but a file is not the whole work: unapplied modifiers, paint layers and tool settings stay in the sending program's own project file, so the receiving tool never sees them.
Interchange formats such as FBX and glTF carry geometry, UVs, materials, rigs and animation. Everything else lives in each tool's native project files, which you must keep and back up yourself.
Server
Interest management for your own streams
Walkie-talkies with a channel per zone and a limited range
In the picture In Roblox A drone's walkie-talkie That drone's snapshots in the server's stream One channel per zone, linked zones share Recipients only in the drone's zone or a linked zone Limited range Ground-plan distance up to ENTER_RANGE Keep hearing a little further once tuned in Keep receiving up to LEAVE_RANGE (hysteresis) Where it breaks. Something far away is big enough to see or hear over the wall, such as a huge explosion: players off the channel never get it, though they could see it.
Relevance is a cheap stand-in for what each player can perceive. Large, loud or server-wide events need a wider rule or a global message.
Both sides
Blender's Z-up axes and Roblox's Y-up axes
Two maps of the same town that print the axes differently
In the picture In Roblox The town The model: its shape does not change between programs Each map's grid labels Blender's axes (Z up, Y forward) and Roblox's axes (Y up) Rewriting an address for the other map Converting Blender (x, y, z) to Roblox (x, z, -y) Where it breaks. Swapping two axes on a map is harmless, but in 3D a swap without a sign flip mirrors the model: a left hand becomes a right hand, and a drone's eye ends up at its rear.
The conversion is a rotation of 90 degrees about X, written as Roblox (x, z, -y). The minus sign keeps it a rotation; dropping it turns it into a reflection that symmetric props hide and asymmetric props reveal.
Both sides
A mesh on a gameplay part
A mascot costume over a player on the field
In the picture In Roblox The player inside The invisible gameplay part with the touch handler and the tag The costume The uploaded MeshPart welded on with CanTouch and CanCollide off The referee watching the player Server code that reads the gameplay part, never the mesh Where it breaks. A MeshPart is a full BasePart: turn its collision or touch back on and the costume starts playing the game, blocking players or firing Touched.
Any MeshPart can collide, be touched and carry scripts. Beacon Yard chooses to keep rules on plain parts and switches those properties off on every visual, so art changes cannot change gameplay.
Both sides
An armature and its bones
The wooden frame inside a puppet
In the picture In Roblox The wooden frame The armature Each stick of the frame A bone The cloth sewn to the frame The mesh's vertices, bound by weights Where it breaks. Cloth is sewn to one stick, but a vertex can be split between up to four bones, moving part of the way with each; that blend is how skin bends at an elbow.
Each vertex stores a weight per bone, and its final position is the weighted blend of where those bones would carry it. Weights of 1 on a single bone give rigid parts; shared weights give smooth bends.
Both sides
Boot order
The opening checklist for the arena
In the picture In Roblox Unlocking the doors first Remotes.init creating the folder everything else uses Lights on before the crowd enters WorldLook.start setting the lighting before the round stores it Staff at their posts before the whistle The wrench in StarterPack before any call that can yield The checklist itself The written start list in init.server.luau Where it breaks. A real checklist is walked through by one person. The server and every client boot at the same time on different machines, the engine can run other scripts at any yield, and a client cannot see the server's list: it can only wait for something that replicates.
Boot order is the order of start calls in one entry script per side. Any call that yields lets the engine run other work, including spawning characters, so what must exist early goes before the first yield, and clients wait on replicated signals such as a folder appearing.
Stored data
Developer Exchange (DevEx)
An invoice clearing house that only pays out earned wages
In the picture In Roblox Wages on the ledger Earned Robux from sales, subscriptions and Creator Rewards Filing an invoice Submitting one DevEx request per calendar month (30,000 minimum) Clearing review Roblox's 5 to 10 business day eligibility and compliance check Where it breaks. Not all Robux in your balance count as wages, a request cannot be cancelled once sent, and eligible verified US 18+ purchases pay a higher rate than the standard one.
DevEx converts only Earned Robux (never purchased, gift card or transferred Robux) once per calendar month at the standard 0.0038 rate or the 0.0054 rate for eligible verified US 18+ purchases.
Server
The Touched event
A bump sensor
In the picture In Roblox The sensor on a part BasePart.Touched Each bump One event per part that starts touching What the sensor cannot tell you Who meant it, and whether it was fair Where it breaks. It fires many times for one contact, and a part moved by setting its CFrame (PivotTo) makes no bump by moving, so a drone that lands on a player standing still never fires it.
Touched fires when the physics engine sees two parts start touching through simulated movement, and at least one of them must be unanchored. It fires per part, repeatedly, and not when a script sets a CFrame so that parts overlap. Gameplay needs its own guard, and moving hazards often use a distance check instead.
Server
A debounce
An elevator button that ignores mashing
In the picture In Roblox Pressing the button ten times Touched firing many times The elevator comes once One payout The button resets after the trip The respawned coin has a fresh seen table Where it breaks. One button serves everyone, but a game debounce must be kept per player and on the server, or one player blocks another and an exploiter skips it.
A debounce is state the server keeps, usually per player, that says an action already happened. Checks that decide whether the action is legal run before that state is written.
Both sides
A core loop
A flywheel that stores each push as momentum for the next turn
In the picture In Roblox Pushing the rim The repeated player action: collecting coins, running drills and swinging the wrench Stored spin The reward and progression: coins, Speed and Shield An easier next push Faster movement and protection in the next drill Where it breaks. A flywheel slows down the moment nothing new can absorb its energy; once a player buys the only permanent upgrade and holds a Shield, coins stop unlocking new capability.
A core loop couples minute-to-minute interaction, repeated actions and a progression engine. Every number in Config.luau tunes how fast players earn, how tense a round feels and when progression needs new goals.
Stored data
UpdateAsync
A teller who shows you the balance before you write the new amount
In the picture In Roblox The teller UpdateAsync The balance shown first The previous value passed to your transform Being handed the slip back The transform running again after a conflict Where it breaks. The transform may run more than once, so it must not yield or do anything you cannot repeat, such as granting a badge.
UpdateAsync reads the current value, calls your function with it and writes the result. If the value changed while the write was in flight, it calls the function again with the newer value. Returning nil cancels the write.
Stored data
Session lock
The vault sign-out sheet: Server A has this account, signed at 14:02
In the picture In Roblox The sign-out sheet The sessionJob and sessionAt fields in the record Another teller reading the sheet and waiting Another server seeing a fresh lock and leaving the record alone The sheet going stale The lock expiring after 45 seconds Where it breaks. Nobody enforces the sheet; it only works because every server that touches the key checks it, and an unrenewed lock looks expired.
A session lock records which server holds a player's data so two servers do not write it at once. Beacon Yard's hand-rolled lock expires after 45 seconds so a crashed server cannot hold a key forever. ProfileStore renews its lock with an autosave every 300 seconds.
Stored data
DataStore budget
A prepaid data plan that tops up every minute
In the picture In Roblox The plan The per-minute request budget, such as 300 + 40 x concurrent users reads Running out Calls queuing, up to 30 per queue Calls being dropped Errors 301 to 306 once a queue is full Where it breaks. Running out is not an immediate error: requests wait in a queue and get slower, and only fail once the queue is full.
Standard data stores allow 300 + 40 x concurrent users reads and 300 + 20 x concurrent users writes per minute for the whole experience, shared with Open Cloud. UpdateAsync spends one of each.
Both sides
Staging and production
A dress rehearsal before opening night
In the picture In Roblox The dress rehearsal Publishing the built place to a staging game first Same stage, same script The same place file goes to staging and then to production The director's go-ahead An approval on the production environment before the job runs Where it breaks. A rehearsal has the same cast and the same set, but staging is a separate game with its own data stores and no real players, so it never meets live data or live load.
Staging and production are separate games under one group. The same place file is published to both, one after the other. Staging catches broken builds and failing tests. It cannot show how real player data or real traffic will behave, so production keeps an approval and a rollback.
Server
A co-op objective that needs two players
A two-person saw, with a handle at each end
In the picture In Roblox A handle at each end of the blade Two levers about 40 studs apart, too far for one player One person cannot use the saw at all available hides the repair when fewer than 2 players are in the server Pulling in rhythm Two pulls by different userIds within WINDOW_SECONDS (1.5 s), measured by the server The cut isRepaired returns true and each puller gets the crew bonus once Where it breaks. The two sawyers are side by side and can see each other. Online players are on separate devices with their own lag, either can leave mid-pull, and a third player can stand on a handle and never pull.
The server decides with its own clock: a window absorbs lag, a presence check ignores a player who left, the same userId on both levers never counts, and the objective is a bonus between drills, so an idle or griefing player can cost the others a reward but never their session.
Server
Sawtooth difficulty curves and telemetry tuning
An interval treadmill program with a heart-rate monitor
In the picture In Roblox Warm-up incline Wave 1 baseline (1 drone at speed 12, 1 crawler) so newcomers learn the rhythm Hills with recovery flats A sawtooth wave curve that escalates counts and drops every third wave for a breather The heart-rate readout Server custom events (round_death elapsed seconds, round_survived) guiding Experience Config tweaks Where it breaks. A treadmill runs one program for one runner; in a shared yard, a brand-new player at WalkSpeed 16 and a Speed-Pass veteran at 28 face the same wave, so difficulty must scale through count and zoning rather than outrunning WalkSpeed 16.
Combat balance starts with exact hits-to-kill and TTK tables from Config, drives wave pressure through a capped sawtooth curve that scales with player count, and adjusts live parameters from round survival and time-of-death telemetry.
Stored data
Virtual economy sources and sinks
A bathtub with taps and a drain
In the picture In Roblox The taps Currency sources: coin pads, survival bonuses, crawler bounties and Coin Packs The water level Coins sitting unspent in a player's saved profile The drain Currency sinks: upgrades, shields, wrench repairs and event shop items Where it breaks. A bathtub holds one shared pool of water, whereas a game has thousands of separate player wallets; the server average can look healthy while newcomers are starved and veterans hoard ten thousand coins.
A live economy must be modeled per player archetype (casual, regular, hardcore, payer) over days and weeks. Healthy design matches sources with permanent and repeatable sinks for each cohort and isolates temporary events with their own sinks or event currency.
Both sides
The tool ecosystem
A pegboard of tools above the workbench
In the picture In Roblox A hook on the pegboard One tool pinned in rokit.toml, with a version Taking down only what the job needs A project uses Lune, darklua or roblox-ts only when it has that job A tool that is gone from its hook A tool whose repository says it is no longer maintained Where it breaks. Pegboard tools do not care what was done before them, but build tools run in a pipeline where order and versions matter: a rule that needs a value runs after the rule that injects it, and a build needs its packages installed first.
Ecosystem tools are separate programs that you chain: install pinned versions, install packages, transform code, build the place. Each step feeds the next, so the order and the exact versions are part of the project and belong in files that CI also reads.
Both sides
An event and :Connect
A doorbell
In the picture In Roblox Wiring the bell to a chime event:Connect(handler) Someone pressing the button The engine firing the event Not checking the door every second Not polling in a loop Where it breaks. One visit can ring many times (Touched fires per body part), handlers have no promised order, and a chime you never unwire keeps ringing: connections leak until you disconnect them.
An RBXScriptSignal calls every connected handler each time it fires, possibly deferred to the next resumption point. Handlers must tolerate repeats and must be disconnected when their owner goes away.
Both sides
task.wait
Set a timer and nap
In the picture In Roblox Setting the timer task.wait(seconds) Napping while others work The thread yields; other scripts keep running Waking up The scheduler resumes the thread Where it breaks. The timer only rings at frame boundaries: the thread wakes on the first Heartbeat after the time is up, so it is never early and can be up to a frame late.
task.wait yields the current thread and resumes it on the first Heartbeat at or after the requested time, returning the time actually elapsed. Nothing runs in parallel; threads take turns on one scheduler.
Both sides
task.spawn
Hand a job to a helper
In the picture In Roblox Handing over the job task.spawn(fn) The helper starting at once fn runs immediately until it yields You carrying on The caller continues after fn yields or ends Where it breaks. Helpers take turns rather than working at the same time: a spawned function that never yields blocks the caller and every other script.
task.spawn creates a coroutine and resumes it right away on the same scheduler. Concurrency is cooperative: work interleaves only at yields such as task.wait.
Stored data
Experiments (A/B tests)
A blind taste test: two cups, and a coin toss decides who drinks which
In the picture In Roblox The two cups The control value and the variant value of one config key The coin toss Roblox enrolling each player at random on the first GetValue of a per-player snapshot Asking the tasters which cup they preferred The goal metric and its confidence interval after the planned days Where it breaks. The tasters share a room: control and variant players share one server, see each other's prices and talk, and the change is noticed because it is new.
An in-game experiment assigns each enrolled player a control or variant value of a config key for its whole duration and compares metrics between the groups. Groups can influence each other in shared servers, so per-player values that a player meets alone give the cleanest results.
Client
An FTUE with visual cues, timed hints and veteran skip
Airport wayfinding signs with a fast-track lane for frequent flyers
In the picture In Roblox Overhead gate signs and painted floor lines In-world visual elements: spawn sightline, glowing beam and station highlights An attendant who speaks only if you stop Contextual prompts and timed hints that wait before appearing The frequent-flyer fast-track lane Returning-player skip driven by the server-saved onboardingStep Where it breaks. Wayfinding signs assume you already know how boarding works; a brand-new player who has never held E or equipped a Roblox Tool still needs a clear timed hint when they stall.
A strong FTUE combines visual cues, contextual tutorials and timed hints driven by a server-saved monotonic onboarding step, then measures every step transition in AnalyticsService funnels and tests one change at a time with Experiments.
Client
Anticipation, impact and recovery in combat feel
A drum hit: raising the stick, striking the skin, letting the cymbal ring
In the picture In Roblox Raising the stick Anticipation: local swing animation and whoosh before the Impact marker Striking the skin Impact: server-confirmed hit stop, damage number, sparks, layered clang and damped camera shake The cymbal decaying Recovery: SWING_GAP cooldown, camera spring settling and drone stun highlight Where it breaks. A real drummer always hits the drum in front of them; over a network, the client starts the swing immediately, while the server decides milliseconds later whether the raycast actually hit, so impact juice must wait for server confirmation.
Combat feel splits local anticipation from server-confirmed impact. Every impact effect triggers once per confirmed hit id, never on a miss or rejected request, and suppresses camera shake and hit stop whenever Accessibility.reducedMotion() is true.
Both sides
A genre's conventions
A recipe card
In the picture In Roblox The ingredients the card lists The loop, economy shape and retention hooks players of the genre expect A diner noticing a missing ingredient Players leaving in the first minute when a genre promise is broken The amounts on the card The core number each genre tunes: cost curve, pass rate, payback time, wave health, pacing, time to kill, XP curve Your own seasoning The one change your game makes that the genre's usual recipe does not have Where it breaks. A recipe card never changes and anyone can cook from it. A genre's expectations drift as players play new games, and cooking the recipe exactly gives a dish players can already get from many other games.
A teardown card records what players of a genre expect today, as patterns rather than any one game's content. Use it to meet those expectations and to see the genre's costs and risks, update it when the charts shift, and put your effort into one thing the recipe lacks.
Stored data
Moving an experience into a group
Signing the yard's lease over to a company
In the picture In Roblox The company The Roblox group The lease Ownership of the experience: its game id, place ids, URL and revenue Staff key cards Roles and their permissions Tools on your personal tab Assets uploaded under your own account, such as the wrench swing animation Where it breaks. When a building is sold, what is bolted to the floor usually goes with it. On Roblox the lease moves but every asset keeps its own owner, and some things, such as built-in rbxasset files and Open Use meshes, were never on anyone's tab.
A transfer moves the experience and keeps its game id, place ids and URL. Assets are owned separately: animations, packages and private modules owned by your account are re-owned under the group, Restricted assets need the game's permission, and an API key acts with the access of the account that made it.
Server
Sending data from a game server to your own backend
A post room's outbox tray, with the key sealed in an envelope only the courier carries
In the picture In Roblox Dropping a letter in the tray and walking back to work Pushing a round summary into a queue; the round loop never waits for a web request The courier's rounds A background loop that sends the queue a few times a minute, well under the 500-a-minute limit A sealed envelope handed over at the door A Secret from the secrets store: scripts carry it into a URL or header but cannot read or print it; only the receiving server sees the value Where it breaks. A post room never throws a letter away and never delivers one twice. Your outbox drops the oldest summaries when it is full, and a retry after a lost answer can deliver the same summary twice, so each one carries an id the backend checks.
Outbound HTTP from a game server is unreliable by nature: queue it, send in the background, retry with backoff on transient failures only, bound the queue, give each message an id so duplicates are harmless, and keep keys in the secrets store.
Server
Incident response and kill switches
Circuit breakers and a fire-drill checklist in a factory
In the picture In Roblox The circuit breaker panel Experience Config kill switches (shop_enabled, scrap_rush) that isolate one broken subsystem without shutting down the yard The fire-alarm severity chart SEV-1 to SEV-4 tiers deciding who wakes up and how fast you act The post-drill safety report A blameless post-mortem that fixes the system guardrails instead of blaming one developer Where it breaks. Flipping a physical breaker cuts power instantly, whereas Roblox Experience Configs take 15 to 60 seconds to propagate and running servers still hold in-memory ProfileStore locks until they drain.
Production incident response stops ongoing damage first with fast server-side kill switches, rolls back or patches code before draining outdated servers gracefully, merges corrupted DataStore entries only when no live session holds the lock, and closes with blameless system fixes.
Server
Launch-day operations
Mission control watching gauges and fuel burn during liftoff
In the picture In Roblox The launch checklist Pre-public checks: maturity rating, pinned PlaceVersion, kill switches and verified Analytics funnels Telemetry gauges Creator Hub Error Report, Server Crashes, First-Play Bounce Rate and D1 retention Fuel budget Ads Manager spend compared against 30-day player LTV Where it breaks. A rocket burns its fuel once on day one, whereas Roblox discovery re-evaluates organic cohorts every week and excludes ad-acquired players from Recommended for You ranking.
Launch operations protect server stability and first-session retention first, test thumbnails and small ad cohorts against real 30-day LTV, and reserve hotfixes strictly for crashes, data bugs and broken purchases.
Server
Cleaning up per-player and per-object state
A hotel room's checkout list: every key card, tab and booking the guest starts is written down, and checkout works through the list
In the picture In Roblox A guest checking in PlayerAdded, or a crawler spawning Writing the key card and minibar tab on the room's list scope:Add a connection, scope:Track a table entry Housekeeping working through the list at checkout PlayerRemoving calls scope:Clean A key card nobody deactivated CombatService.lastSwing keeping an entry for every player who ever swung Where it breaks. A hotel's night audit notices a room with no guest; Luau never reports what it could not free, so you need heap snapshots and leak tests. A checkout list has one line per thing the guest did, but a scope gets a line per Add call, so adding on every swing makes the list itself grow. And one stray reference anywhere keeps the whole guest checked in.
Every lifetime (player, object, round) owns a scope; code registers each cleanup once, where the thing is created, and the scope is cleaned where the lifetime ends. The engine setting PlayerCharacterDestroyBehavior handles connections on the Player itself; your tables are yours to clear.
Both sides
A live-ops calendar
A railway timetable for releases and events
In the picture In Roblox The timetable The 12-week schedule of cadence beats, QoL fixes and major updates The signal box Experience Configs and FlagService switching events on and off without a new place version The platform inspection Staging QA gates, kill switches and rollback plans checked before publish Where it breaks. Trains run on fixed tracks, whereas a live event changes player behaviour and can inflate your economy or break an active experiment if two beats collide.
A live-ops calendar coordinates content production, QA gates, Experience Config windows and KPI measurement across weeks so every release ships predictably and can be rolled back or measured against a clean baseline.
Server
TeleportService
A shuttle with a ticket
In the picture In Roblox The shuttle TeleportAsync The ticket TeleportOptions, with a ReservedServerId The private room named on the ticket A reserved server Where it breaks. Nobody checks the ticket: teleport data passes through the client, so treat it as a hint and reload the truth on arrival.
TeleportService:TeleportAsync moves up to 50 players per call from a server script. A GUID in TeleportOptions.ReservedServerId creates or joins a reserved server. TeleportData is visible to the client and not encrypted.
Client
The localization table
A phrasebook with a key on every line
In the picture In Roblox A line in the phrasebook One row of the localization table The number beside the line The Key that code looks up with FormatByKey The same line in another language The column for a supported language Where it breaks. A phrasebook only holds sentences someone wrote in advance, but a game builds sentences while it runs, such as a countdown with a changing number, a player's name or text a player types, none of which are lines in the book.
The table holds the strings you know ahead of time. Dynamic text uses a parameter slot in one entry so each language can place the value. Text players write or names should not go through the table; a real-time translation API exists for generated text and is in early development.
Both sides
Type annotations
Labels on jars
In the picture In Roblox The jar A variable, parameter or table field What is inside The value it holds at run time The label The annotation, such as : number or : ShopItem Reading the labels before cooking The type checker running in the editor or in CI Where it breaks. Labels are checked before the game runs, and only then. While it runs, nothing reads them, so a value that arrives from a client or a DataStore can be anything whatever its label says.
Annotations feed a static checker that runs on the source code. At run time Luau ignores them. Code that receives outside data marks it unknown and narrows it with typeof, comparisons or type guards before treating it as a specific type.
Both sides
ModuleScript and require
One shared whiteboard
In the picture In Roblox The first person writing the board The first require running the module's body Everyone reading the same board Later requires returning the same table Writing on the board Changing a field of the returned table, seen by every holder Where it breaks. There is one board per side, not one per game: the server, each client and Studio's command bar each run the module once and hold separate tables.
require caches a ModuleScript's return value per Luau environment. The server, every client and the command bar are separate environments, so state in a module is shared only within one of them. Cross-side data must travel by replication or remotes.
Both sides
Vector3
Walk 3 east, 4 north
In the picture In Roblox A set of walking directions A Vector3 offset How far the walk is Magnitude Which way to start walking Unit Where it breaks. A Vector3 also stores a place: the same three numbers can be a walk from anywhere or a point measured from the origin, and only context says which.
A Vector3 is three numbers. As an offset it is a displacement; as a position it is the displacement from the origin. Subtracting positions gives the offset, and adding an offset to a position gives a new position.
Both sides
CFrame
A map pin with an arrow
In the picture In Roblox The pin CFrame.Position The arrow on the pin The rotation, read as LookVector Walk this far relative to the arrow cframe * offset Where it breaks. A pin's arrow points one way on a flat map, but a CFrame rotates in all three dimensions, and multiplying CFrames in a different order gives a different result.
A CFrame stores a position and a 3 by 3 rotation matrix. Multiplying composes them: a * b applies b in a's frame. The order matters because rotations do not commute.
Stored data
MemoryStore
The lobby whiteboard, wiped regularly
In the picture In Roblox The whiteboard A MemoryStore queue, sorted map or hash map Writing a name on it AddAsync or SetAsync with an expiration The janitor wiping it Items expiring Where it breaks. Entries expire and the memory quota can reject writes, so it can never be the only copy of anything.
MemoryStore is a fast, shared, in-memory service for frequent, short-lived data. Items expire (45 days by default) and a queue read hides items for an invisibility timeout (30 seconds by default) until you remove them.
Stored data
MessagingService
The PA system across arenas
In the picture In Roblox The announcement PublishAsync to a topic Listening for it SubscribeAsync on every server Missing it A server that was not subscribed at the time never hears it Where it breaks. Delivery is best effort and a message can be late or lost, so it is only a hint; keep the truth in a store that servers can poll.
MessagingService publishes small messages (1 kB) to a topic and every subscribed server receives them. Nothing is stored, and Roblox says delivery is not guaranteed.
Stored data
Reading retention, engagement and monetization metrics together
A hospital monitor with separate traces for heart rate, oxygen and blood pressure
In the picture In Roblox Each separate trace on the screen Retention (D1/D7/D30), engagement (session time) and monetization (conversion, ARPPU, ARPDAU) A strong pulse hiding falling oxygen High ARPPU masking low ARPDAU, or high play-through rate masking a 60-second bounce Watching trends over hours, not one heartbeat Comparing cohorts across updates rather than reacting to one noisy day Where it breaks. Human vitals share one healthy range across patients, whereas game benchmarks shift by genre, audience age and acquisition source.
Retention, engagement and monetization measure different parts of a live game's health and trade off against each other. Studios read them together by cohort and compare against similar games rather than chasing one number in isolation.
Stored data
A store players trust
A corner shop that knows its regulars
In the picture In Roblox Small things bought on the way past Low rungs of the value ladder: coin items and a small first purchase A treat for a good day, never shoved in your face A contextual offer at a moment of need, capped and never during a drill Prices on the shelf Live prices read with GetProductInfoAsync and shown before the prompt Coming back because last time felt fair Retention as the guardrail on every monetization change Where it breaks. The shopkeeper sees who is at the counter, can tell a child from a parent, and knows when to stop. A game cannot see age, mood or how much a player has already spent this week, and it is open at any hour in the player's pocket.
The game writes its restraint into rules because it cannot use judgement at the counter: offers never during a drill, caps per session, cooldowns after an offer or a purchase, calm copy for an audience that includes minors, odds and PolicyService checks for anything random bought with Robux, and an Experiment with a retention guardrail before any change ships.
Stored data
ProcessReceipt
A courier who keeps coming back until you sign
In the picture In Roblox The parcel A purchase receipt with a PurchaseId Signing for it Returning PurchaseGranted Redelivery Roblox calling ProcessReceipt again when the player rejoins or starts another purchase, or on a second server Where it breaks. You decide what a duplicate looks like: without a stored purchase id, a redelivered receipt grants twice, and a record saved apart from the coins leaves a gap.
ProcessReceipt is one callback, set once from a server script (BindReceiptHandler is the newer route). Record the purchase id in the same save as the grant, then return PurchaseGranted. NotProcessedYet leaves the receipt unresolved: it returns on a rejoin or the next purchase, not on a timer.
Client
Snapshot interpolation with a render delay
A flipbook artist who stays one page behind the pages the server sends
In the picture In Roblox A new page from the server A snapshot packet, ten times a second Staying one page behind Drawing at now minus the render delay Drawing the in-between frames Blending position and yaw between the two snapshots around the render time Throwing away an old page that arrives late Dropping a packet whose sequence number is older than the newest Where it breaks. Pages stop coming for longer than the delay: the artist has nothing to draw towards, so the drone holds still and then jumps when packets return.
Interpolation only hides gaps up to the render delay. Longer stalls need a longer delay (more lag for everyone), extrapolation (guessing ahead, sometimes wrong) or a visible catch-up.
Both sides
Network ownership
Whoever holds the ball
In the picture In Roblox Holding the ball Simulating an assembly's physics Passing to the nearest player The engine's automatic ownership near a character The referee taking the ball back SetNetworkOwner(nil) on the server Where it breaks. The server can take the ball back at any time and always keeps anchored parts, and the holder is trusted with positions it reports, so a cheating holder can move the ball anywhere.
Each unanchored assembly is simulated by one machine. Clients near it usually own it for responsiveness; their simulated positions replicate to the server. Anything gameplay-critical is anchored or kept server-owned, and the server validates results instead of trusting the owner.
Both sides
A class with __index
A shared recipe book
In the picture In Roblox The recipe book The class table that holds the methods Each card An object made by new, holding its own fields The note: see the book for anything not on this card The metatable's __index pointing at the class Where it breaks. Only reads go to the book. Writes land on the card, and a table kept in the book is one shared table that every object changes.
__index is consulted only when a key is missing on read. Assignments create fields on the object itself. Mutable state, such as a hits table, must be created per object in the constructor.
Both sides
Services
Departments with one front door
In the picture In Roblox A department A service such as Players, or a game service such as CoinService The one front door game:GetService(name), or require of the service module Asking at the desk Calling the service's functions Where it breaks. There is exactly one of each department, fetched by name. When you need many of something, such as fifty drones, a department is the wrong shape and you want a class or plain records.
Engine services and Beacon Yard's own services are singletons: one per side, reached by name or require. Things that come in numbers are modelled as instances, records or class objects that a service manages.
Both sides
Parallel Luau Actors
Separate workbenches where jobs can run at the same time
In the picture In Roblox One workbench An Actor grouping scripts that run serially with respect to one another Jobs at different benches Work under different Actors that can run in parallel Where it breaks. Having another bench does not guarantee a dedicated worker or a speedup.
Roblox schedules Actor work. Code enters the parallel phase explicitly, and each API's thread safety determines what that code can do.
Both sides
Validating a game idea with a short prototype and kill criteria
A gold prospector's test pan before digging a mine
In the picture In Roblox Swirling one pan of gravel in a creek Building a two-week graybox prototype of the core mechanic Looking for flakes before buying drills and timber Testing kill criteria before committing months of art and backend work Walking away from a dry creek Killing a weak concept early while the sunk cost is tiny Where it breaks. A creek either holds gold or it does not, whereas a flat prototype can become a strong game after one sharp pivot on controls, camera or pacing.
Prototypes and kill criteria stop a team from spending months polishing a loop nobody wants. They tell you whether to keep, pivot one specific assumption, or kill the idea while the cost is still measured in days.
Both sides
Design pillars
A surveyor's compass and boundary stakes
In the picture In Roblox The compass bearing The three core feelings or constraints every feature must serve The boundary stakes Explicit anti-goals that let you cut tempting scope creep fast Checking the bearing before digging Testing every new mechanic against the pillars before writing Luau Where it breaks. A compass keeps pointing north even when the ground ahead is a swamp; if real playtests show players hate a pillar, you change the pillar instead of defending a boring game.
Design pillars are working hypotheses written in plain rules. They align a team and kill unfocused features, and they get revised whenever playtest evidence proves a pillar clashes with what players actually enjoy.
Server
Experiences and places
A campus of buildings
In the picture In Roblox The campus The experience players find and join A building A place: one world with its own parts and scripts The main gate The start place, where players arrive Walking to another building A teleport to another place Where it breaks. A campus has one copy of each building, but Roblox runs many copies of the same place at once, one per server, and those copies know nothing about each other.
An experience holds places. Every server runs its own copy of one place for the players on it. Servers share nothing unless the game uses a cross-server service such as DataStores or MessagingService.
Client
Moderated blind playtesting and neutral observation
Watching a usability lab through one-way glass
In the picture In Roblox Standing silently behind the glass Letting a new player struggle without explaining controls or defending the design Watching their hands instead of trusting polite praise Recording timestamps, pauses and missed buttons rather than 'yeah, it's fun' Comparing five sessions side by side Counting unique testers who hit the same blocker before prioritising fixes Where it breaks. Multiplayer Roblox games rely on chat, social cues and other players in the room, so isolated solo sessions miss group chaos and co-play friction that only appear in live shared servers.
Studio playtesting pairs silent observation of real behaviour with structured tagging and live telemetry. Solo blind tests expose onboarding and UI breaks; group sessions expose social pacing and team confusion.
Both sides
Playtesting in Studio
A dress rehearsal on a temporary stage
In the picture In Roblox Starting the rehearsal Pressing Play (F5), which copies the edit-mode place into a live test Props added during the show Runtime instances such as Coin balls spawned by CoinService Dropping the curtain at Stop Pressing Shift+F5, which discards the test copy and restores edit mode Where it breaks. Studio shows both the blue client view and the green server view in one window, which looks like one shared stage, but they are two separate simulations and client edits never travel up to the server.
Solo Play runs an independent server simulation and client simulation in memory. The server replicates changes down to the client; edits made on the client stay on that client, and Stop discards both simulations.
Both sides
A senior developer portfolio
An engineer's inspection dossier instead of a glossy brochure
In the picture In Roblox Before-and-after inspection measurements Network Stats, MicroProfiler or 30-day economy sheet numbers proving impact The signed safety report A blameless post-mortem or trade-off writeup showing production judgement The working test rig A playable Roblox link plus a clean GitHub repository with passing CI and Jest-Lua tests Where it breaks. A paper dossier is static, whereas a hiring lead at a Roblox studio will join your live place, read your strict Luau modules and ask you to defend a real design trade-off in an interview.
Top Roblox studios hire for demonstrated judgement under constraints: concise, verifiable artifacts (measurable profiling wins, balanced economy models, clean tested Luau and honest post-mortems) backed by live playable proof.
Both sides
A file path
A postal address for a file
In the picture In Roblox Country The drive (C:) or the root of the disk (/) Town and street The folders you pass through, in order The house The file name Directions from where you stand A relative path, using .. to go up a level Where it breaks. The post office forgives capital letters, but some computers, including the Linux machines CI runs on, do not, so config.luau and Config.luau can be two different files.
A path is an exact string the operating system looks up one folder at a time. Whether capital letters matter depends on the file system, so copy file names exactly.
Both sides
A session cookie
A wristband the site checks instead of your password
In the picture In Roblox The ticket Your password The ID check at the gate 2-step verification The wristband The session cookie (.ROBLOSECURITY on Roblox) Cutting every wristband Logging out of all other sessions Where it breaks. A copied wristband leaves yours on your wrist, so you cannot feel it is gone, and it can skip the gate check entirely.
A session cookie is a bearer token: whoever presents it is treated as the signed-in user until the session ends. That is why you never paste it anywhere, and why ending sessions is the fix.
Both sides
The terminal
The workshop's tool counter, where a clerk does one ordered thing and reports back
In the picture In Roblox The clerk saying 'Next!' The prompt The order The command The details of the order The arguments and options Where you stand at the counter The current directory The receipt The exit code The stockrooms the clerk searches The folders listed in PATH Where it breaks. A real clerk asks 'are you sure?' and keeps returns, but the terminal does exactly what you typed: deletions skip the Recycle Bin and there is no undo.
A shell reads a line, finds the program by name in PATH, runs it with the arguments in the current directory, and reports its exit status. It never asks for confirmation unless the program does.
Both sides
A code editor
Your bench in the workshop, with one project laid out
In the picture In Roblox The opened folder The project you are working on The parts tray The Explorer, listing every file Parts in your hands Open tabs Tools in the drawers Extensions The inspector's notes The Problems panel The tool counter built into the bench The integrated terminal Where it breaks. Work on a real bench is real at once, but in the editor nothing reaches the disk, or the game, until you save.
The editor holds an in-memory buffer for each open file. Saving writes the buffer to the file on disk, which is the only copy that Git, Rojo and Studio can see.
Both sides
A variable
A name tag stuck on a value
In the picture In Roblox The tag The variable name The thing the tag is stuck to The value Moving the tag Assignment with = A tag only this part of the room can read A local variable and its scope Where it breaks. Two tags can be stuck on the same table, so changing the table through one tag shows through the other, because there is only one table.
Variables hold values. Numbers, strings and booleans are copied on assignment, but tables and functions are reference values, so assigning a table copies the reference, not the contents.
Both sides
Assignment with =
A maths statement saying two sides are equal
In the picture In Roblox Checking whether two values match Comparison with ==, which returns true or false Setting a name to a value Assignment with =, which works out the right side and moves the tag Where it breaks. In maths, coins = coins + 5 is impossible, because a number cannot equal itself plus five; in Luau, = is an order to compute the right side first and stick the left tag on the answer.
Single = evaluates the right-hand expression completely, then binds the variable on the left to that result. Double == compares two values and produces a boolean without changing either side.
Both sides
A function
A recipe card: give it ingredients, follow the steps, get a dish back
In the picture In Roblox The recipe name The function name Blanks for the ingredients Parameters in the function definition The dish handed across the counter The value handed back by return Where it breaks. A human cook stops and asks when an ingredient is missing, but a Luau function runs anyway with nil in the missing parameter, and fails only later when code tries to use that nil.
A function call binds arguments to parameters in order; any omitted parameter receives nil, and any extra argument is ignored. A function without return hands back nil.
Both sides
An error message
The panel by a building's front door, which names the room and the zone and lists the doors the smoke came through
In the picture In Roblox Which room The script name or path The zone number on the panel The line number What the detector sensed The error message The doors the smoke came through, nearest first The stack trace Where it breaks. A smoke detector sounds close to the fire, but an error sounds at the line that used a bad value, which can be far from the line that made it, and the trace lists only the calls still running.
The virtual machine raises an error at the instruction that fails, and the stack trace lists the active calls at that moment, innermost first. The cause can be any earlier code that produced the bad value.
Both sides
Continuous integration
An inspector at the workshop door
In the picture In Roblox A delivery arriving A push or a pull request The inspector's checklist The CI jobs: format, lint, build and tests A green stamp Every job exited with code 0 Where it breaks. The inspector only checks what is on the checklist, so a neatly formatted change that sets COIN_VALUE to 5000 still gets a green stamp.
CI runs commands on a fresh machine for every push and reports each command's exit code. A pass proves only what those commands test, so the project is only as safe as its tests.
Both sides
Running a live season
Running a two-week limited menu in a busy kitchen
In the picture In Roblox The menu plan and prep list The season config: duration, clamped event multiplier, progression tiers and FTUE experiment The pass inspection before service Staging QA, CI tests and kill-switch checks before publishing live The closing shift tally Pre/during/post KPI comparison and the blameless season post-mortem Where it breaks. A kitchen closes every night to reset ingredients, whereas a live Roblox season runs continuously across overlapping player cohorts and multiple server versions at once.
A live season bundles a bounded event, a measured progression change and one guarded experiment behind Experience Configs and CI checks, operated live with real telemetry and closed with a blameless review.
Both sides
Building the world near the player (chunks and StreamingEnabled)
Stage sets built as you walk
In the picture In Roblox The stage crew building the next set ahead of you The server generating chunks near players Striking a set nobody is on Destroying chunks far from every player The set drawings The seed and generator, which rebuild an identical chunk Where it breaks. There are two crews. Your generator decides what exists on the server; StreamingEnabled separately decides which of it each client has received, so a piece can exist on the server and still be missing on a client.
Chunked generation is your code creating instances on the server near players. StreamingEnabled is the engine sending only nearby instances to each client. Client code must handle parts that are not streamed in yet, whatever created them.
Both sides
Launch targets and the go or no-go call
A pilot's pre-flight checklist, read before take-off
In the picture In Roblox The checklist items The launch targets: player count, D1, D7 and crash rate Written before the flight, never during it Targets agreed before the playtest numbers come in Hold on the ground A no-go with its list of misses, or not enough data Where it breaks. A game, unlike a plane, is patched every week after launch, and every line can be green on a game players do not enjoy.
Launch targets catch a broken launch, such as crashes or a first session nobody returns from, using numbers agreed in advance. They cannot show that a game is fun, and a no-go is a list of fixes for the next playtest, not a final verdict.
Stored data
A progression curve
Stairs whose step height grows as your legs get stronger
In the picture In Roblox Low first steps Early unlocks earned within the first 2 to 5 minutes so momentum starts immediately Taller upper steps Mid and late tiers scaled to higher income and longer play sessions A sudden six-foot ledge A progression wall where time-to-next jumps sharply and causes churn Where it breaks. A real staircase stops at the roof; a live game eventually runs out of new floors unless seasonal tracks or a prestige rebuild loop fold veterans back onto a fresh climb.
Progression design pairs an income model with a curve formula so time-to-next-unlock stays smooth across minutes, days and weeks, and adds a repeatable endgame (seasons or prestige) before players hit the ceiling.
Both sides
A greybox blockout
An architect's foam-core model before pouring concrete
In the picture In Roblox Plain white foam-core walls Untextured anchored Parts colour-coded by gameplay role Moving a wall with a pin Changing a zone table or dragging a Part in seconds without redoing art Checking room proportions Testing sightlines, kiting loops and choke widths before Blender assets Where it breaks. A tabletop model never moves at WalkSpeed 16 or feels a third-person camera clip a low ceiling; you must walk every greybox at 1:1 avatar scale in Studio Play.
Greyboxing separates spatial design from visual polish. You test navigation, sightlines, timings and combat flow using cheap primitive geometry driven by data, then lock the dimensions before art begins.
Both sides
A RemoteFunction
A phone call on hold
In the picture In Roblox Dialling and waiting on the line InvokeServer yielding until the server returns The person answering The OnServerInvoke callback The answer you hear The value the callback returns Where it breaks. If the server calls a player, the player controls the line: a disconnected client throws an error, and a hung or modified client that never returns leaves the server's script yielding forever.
InvokeServer and InvokeClient yield until a response arrives. A server that invokes a client has no way to force an answer, so servers should avoid depending on clients and should answer with events instead.
Both sides
An UnreliableRemoteEvent
Shouting across a noisy field
In the picture In Roblox Shouting a position FireServer or FireClient on an UnreliableRemoteEvent Some words get lost in the wind Dropped, unordered messages Shouting the latest again a moment later Streaming positions that replace each other Where it breaks. Shouting is fine for a position that is replaced a moment later, never for anything that must arrive once; and a payload over 1000 bytes is dropped outright.
UnreliableRemoteEvent skips resends and ordering to save latency and traffic. It is for continuously changing or short-lived data only; anything that changes game state exactly once belongs on a RemoteEvent.
Stored data
Dailies and forgiving streaks
A cafe stamp card with a spare stamp for one missed day
In the picture In Roblox Today's stamp One UTC day key (os.time() // 86400) recorded in the server profile Free drink on stamp seven A weekly quest or day-seven streak milestone reward One spare stamp per week A grace window that preserves the streak after a single missed day on a 7-day cooldown Where it breaks. A stamp card does not care whether the coffee tastes good; quests and streaks that pay for logging in without fun turn play into a chore and collapse Day 30 retention once players tire of the routine.
Quests, dailies and forgiving streaks structure return reasons around actions the player already enjoys. Rollovers use server UTC timestamps, progress hooks fire from server gameplay services, and claims save atomically inside ProfileStore.
Server
A round state machine
A traffic light
In the picture In Roblox The current colour The phase: Idle, Active or Cooldown The fixed order of colours The allowed transitions Everyone at the crossing sees the same colour The server publishes one phase to every client Where it breaks. A traffic light only changes on a timer, but real transitions have conditions (a press, everyone down, a path blocked) and side effects (gates, lighting, re-pathing) that must run exactly once.
A state machine is a current state plus a set of transitions. Each transition has a guard condition and side effects. One owner changes the state and publishes it, so no other code can put it in an impossible combination.
Both sides
Attributes
Sticky notes on an instance
In the picture In Roblox Writing a note instance:SetAttribute(name, value) Reading the note instance:GetAttribute(name) The note travels with the instance Server attributes replicate to clients Where it breaks. Notes only travel down: a client that writes a note changes its own copy and the server never sees it; and only a few value types fit on a note.
Attributes are typed key-value pairs on an instance. Server writes replicate to clients; client writes stay local. They suit small state such as a phase or a health value, not tables or instances.
Both sides
Content ratings
The rating label on a film poster
In the picture In Roblox The film board prints one label The questionnaire produces one rating for the game The cinema checks the label at the door Roblox only lets in account tiers the rating allows A film cut for another country IARC ratings show by region and PolicyService changes features per player Where it breaks. A poster is printed once and never checked again, but Roblox audits answers against reports and moderator findings, so an update that adds content can make an old answer wrong, and the same game may need to behave differently for different players.
The questionnaire answers describe the most mature content a player can reach. They must be updated whenever an update changes them. Features that depend on the individual player are gated in code with PolicyService, and a missing answer keeps the feature off.
Both sides
A vertical slice compared with building systems horizontally
One finished slice of a layered cake, not ten bare sponge layers with no frosting
In the picture In Roblox Sponge, filling and frosting together in one piece Gameplay, final-quality art, UI, sound and analytics working together for one short playable loop Tasting one slice before baking for the whole party Measuring quality and real production speed before committing to a six-month content list Baking only dry sponge first Building every backend system for months without proving the finished player experience Where it breaks. In a live Roblox game, shared foundations like saving, networking and data schemas sit underneath every future feature, so you still build horizontal engineering support beneath the first slice.
A vertical slice proves final quality, art-to-code integration and real production velocity on a small chunk of the game. It reduces risk before scaling content, while still resting on clean shared systems.
Server
A shared remote validation wrapper
A single stadium turnstile with one ticket scanner and one clicker counter
In the picture In Roblox The turnstile One Remotes wrapper every client-to-server handler registers through The clicker counter Per-player token buckets that absorb short bursts and stop floods The ticket scanner Schema validation, permission checks and rule kill switches before gameplay logic runs Where it breaks. A guest with a real ticket still exploits a rule bug inside the stadium, or a faulty scanner locks out honest visitors across every gate.
A single wrapper guarantees every remote enforces rate limits, shapes, permissions and logging consistently, but it still depends on sound game rules inside handlers and a kill switch to disable a misfiring check.
Server
Server validation
The clerk checks the scoreboard
In the picture In Roblox A note arriving at the desk A remote event reaching OnServerEvent Checking the note against the real scoreboard Comparing the request with Config and the server's profile Refusing the note Returning early or sending a deny Feedback Where it breaks. A clerk checks only what they remember to check, so every field of every note is a place a check can be missing; one unchecked note is the exploit. Some claims, such as a position the client simulated itself, cannot be checked against anything, only judged as plausible.
Validation is a function per entry point: shape, permission, distance, rate, then the server's own numbers. Anything the client can both send and have believed is a hole. Where the client owns the state, as with its own movement, the server can only apply heuristics.
Server
Lag-compensated hit checks with a rewind buffer
A referee who winds the replay back to the moment of the swing
In the picture In Roblox The replay footage The server's own position history for each target Winding back to the moment of the swing Looking up where the target was at the moment the client saw The footage only goes back a short time MAX_REWIND clamps every claimed moment The referee picks the frame, not the player The server turns the client's claim into its own time and checks it Where it breaks. The target saw a newer moment: judging at the attacker's moment overrules the target, who can be hit after reaching cover on their own screen.
Rewinding favours the attacker within the limit. The limit is a fairness trade-off between laggy attackers and targets, set a little above the rewind amounts honest players need.
Both sides
Git commits and branches
Save points and a parallel save file
In the picture In Roblox A save point A commit: a snapshot of every tracked file Loading an old save Checking out an earlier commit or milestone tag A second save file A branch where you try something without touching main Where it breaks. 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.
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.
Both sides
A toolchain file (rokit.toml)
A shared shopping list with exact brand and version numbers
In the picture In Roblox The shopping list rokit.toml, committed to Git The shopper who fetches exact versions rokit install Signing off on each supplier rokit trust for each GitHub repository Where it breaks. Rokit's shims only read rokit.toml inside the project folder or below it; run a tool from your home folder, or skip trusting a repository, and the tool refuses to run.
Rokit installs versioned binaries into ~/.rokit and resolves which version to run by walking upward from the current working directory to find rokit.toml.
Both sides
Rojo
A photocopier from folder to Studio
In the picture In Roblox The original pages The .luau files and project file in the repository The photocopier rojo serve plus the Studio plugin The copies The scripts and instances in the open place Where it breaks. A photocopier never touches the original, and Rojo by default never copies back either: an edit typed only into Studio is overwritten by the next sync from disk.
Rojo serve watches the repository and pushes changes into the place through the Studio plugin. The files are the source of truth. Hand-built parts and terrain that are not in the project file stay only in the place file.
Client
An invite with LaunchData
A guest pass a player writes out for a friend
In the picture In Roblox Writing the pass SocialService:PromptGameInvite with an ExperienceInviteOptions object The name of the friend who invited you ReferredByPlayerId in Player:GetJoinData() A note on the pass: meet me at the beacon LaunchData, a string of up to 200 characters The gate reading the pass The server calling GetJoinData in Players.PlayerAdded Where it breaks. The pass travels in the guest's pocket. Join data comes in with the client, so a pass can be faked, copied or shown again on a second account, and a real gate would keep the stub.
Roblox fills ReferredByPlayerId and LaunchData from the invite, and the server reads them with GetJoinData. Treat both as hints: pay a referral once per new player and only after real play, save that it was paid in the same profile write as the coins, and cap what one inviter can earn in a day.
Server
Server-owned state replicated as numbered diffs
A stadium's official scorebook, a radio that reads out each numbered play, and a late fan who checks the scoreboard first
In the picture In Roblox The official scorer, the only one who writes in the book PlayerState on the server, the only code that changes a player's state The radio reading out "play 41: home team scores" A diff with seq 41 and only the fields that changed A late fan reading the scoreboard before following the radio The snapshot a player gets on join, with its seq Hearing play 43 right after 41 and checking the board again The store answering gap and asking for a fresh snapshot Where it breaks. A stadium has one broadcast in one order; a Roblox client hears attribute changes, property changes and several remotes with no order between them, so the play numbers only mean something when all related state travels on one channel. And a fan's notes are harmless, while a client's copy can be edited by an exploiter, so the server never reads it back.
The server owns one state table per player and changes it only in server code; changes leave as numbered diffs on one RemoteEvent, a snapshot starts each client, and the client store applies only the next number, ignores stale ones and resyncs on a gap. Events that matter once stay on their own remotes.
Server
Subscription status
A gym membership card checked at the door
In the picture In Roblox The membership card An active, paid subscription (IsSubscribed true) The check at the door GetUserSubscriptionStatusAsync on the server when the player joins The front desk phone ringing when a membership changes Players.UserSubscriptionStatusChanged, which only server scripts receive Member perks: towels, classes The daily stipend, the trail and the premium season track Where it breaks. A gym can photocopy your card and keep it on file. Your game must not: the status is asked from Roblox every session, and only what was granted (the stipend day, the claimed tiers) is saved in the profile.
MarketplaceService:GetUserSubscriptionStatusAsync(player, subscriptionId) on the server returns IsSubscribed and IsRenewing. Check it on join and again on Players.UserSubscriptionStatusChanged. Keep the answer in server memory or a server-set attribute, and save only the grants it led to.
Server
Cross-discipline handoffs between leads, scripters and contractors
A relay team passing a baton inside a marked handoff zone
In the picture In Roblox Each runner's lane Clear ownership for engineering, design, art and production The painted handoff zone A written brief and objective acceptance checklist Dropping the baton outside the zone Receiving an unrigged mesh or untested script with no spec and losing a week to rework Where it breaks. A real game team does not run strictly one after another; art, design and scripting iterate in parallel loops, so handoffs are staged checkpoints rather than one-shot passes.
Multi-discipline studios stay fast by naming one decision owner per area, specifying exact file formats and limits up front, checking work at milestones, and revoking access cleanly when a contract ends.
Stored data
Custom Studio plugins and CLIs
A carpenter's jig that cuts every piece to the same spec
In the picture In Roblox The jig fence A Studio plugin that loads, adds and exports zone boxes, one Undo step per action The go/no-go gauge One shared validator run inside the plugin and again in CI The batch stamper A Lune CLI that uploads changed texture maps and tracks their ids and hashes Where it breaks. A jig cuts bad lumber to exact dimensions: valid zone numbers and clean IDs still produce a dull level if the layout itself is not fun.
Internal plugins, validators and code generators remove manual repetition and catch schema mistakes at edit time, while designers still decide layout, pacing and feel.
Both sides
Roblox Packages
A master drawing in the Asset place that every printed copy refreshes from
In the picture In Roblox The master drawing The original Package in the dedicated Asset place Each printed copy on the floor A copy carrying a PackageLink in a dev or match place Issuing a new revision Right-clicking the original and choosing Publish to Package Where it breaks. 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.
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.
Both sides
Automated cloud CI, bots and soak tests
A wind tunnel and crash-test sled run before every flight
In the picture In Roblox The wind tunnel Open Cloud Luau Execution running checks against the exact built place The crash-test dummy Simulated players and bot storms testing joins, leaves and lock handoffs The strain gauge Soak-test heap slope and p95 tick-time gates that block regressions Where it breaks. A crash dummy never gets bored, never misreads a confusing shop label, and never invents a creative social exploit that real players will find in ten minutes.
Automated cloud tests, bots and soak runs prove that builds load, data survives migrations and servers hold steady under load, freeing human playtesters to judge fun, clarity and edge-case behaviour.
Both sides
Licences on AI-generated images
Renting an oven: the rental terms are separate from the cake you bake
In the picture In Roblox The oven's rental agreement The model licence on the checkpoint's card The oven itself The program that runs it, such as ComfyUI, with its own licence The cake The generated image and the output terms around it Where it breaks. Saying the cake is yours does not settle whether you can sell it: the law on owning AI output differs from place to place, the rental terms can still limit commercial use, and the output may not be unique.
Three layers apply: the model licence, the tool licence and the output terms, plus local law. A licence that says you own the outputs only to the extent permitted by law is not a promise that anyone can own them.
Both sides
PBR texture maps
Transparent sheets stacked on an overhead projector, each with one instruction for the light
In the picture In Roblox The colour sheet The ColorMap (albedo), with no lighting baked in The bumps sheet The NormalMap The shine and metal sheets RoughnessMap and MetalnessMap, greyscale amounts Where it breaks. Sheets on a projector can make a flat wall look carved, and so can a normal map, but nothing changes the object's outline, collision or mass: look at the silhouette against the sky and it is smooth.
PBR maps feed the lighting calculation per pixel. Geometry, triangle count, physics shape and mass come only from the mesh and the part.
Both sides
Pinned tool versions
A shadow board: each tool's outline is painted on the wall
In the picture In Roblox The painted outline of each tool A line in rokit.toml: the tool and its exact version Checking the board when you open the shop rokit install on every machine and in CI A tool that is missing or the wrong size A tool that is not installed, or an older version than the pin Where it breaks. The board shows every teammate holds the same pinned version, not that the tool or its API data is current: pinned Rojo 7.5.1 lacks rojo syncback from 7.7, and a pinned Selene standard library misses newer Roblox APIs until you refresh it.
A pin guarantees reproducibility across machines and CI. It does not guarantee freshness: when you need a newer command or updated Roblox API definitions, bump one pin on its own branch or refresh the standard library.
Both sides
Cage meshes on layered clothing
The tailor's dummy in the yard workshop
In the picture In Roblox The dummy the vest was pinned on The inner cage: the body shape the item was fitted to The vest's own outside, where a coat will rest The outer cage: what the next layer wraps onto Refitting the vest to a new customer The engine moving the inner cage onto the wearer's outer cage Where it breaks. A dummy is just a shape, but a cage is a numbered list of points the engine pairs with the template cage. Delete or renumber points and the pairing, validation and fit all break.
Layered fitting maps each inner-cage vertex to the matching vertex of the surface below (body or previous layer) and deforms the visible mesh with it. That only works when the cage keeps the template's vertices and UVs.
Both sides
The instance tree
Folders in a filing cabinet
In the picture In Roblox The drawers Services such as Workspace, Lighting and ServerStorage Folders inside a drawer Folder and Model instances The path to a file A path such as Workspace.Yard.CoinPads.Pad3 Where it breaks. Location changes behaviour: the same part renders in Workspace, is invisible and server-only in ServerStorage, and a script runs or not depending on its container.
Every instance has one parent, and the container decides what it does: whether it renders, replicates, runs or is simulated. Moving an instance between services changes its behaviour, not just its address.
Both sides
A raycast
A laser pointer
In the picture In Roblox Where you hold the pointer The origin Where you point it, and how far it reaches The direction vector and its length The red dot The RaycastResult: the part, position and normal of the hit Where it breaks. It reports only the first hit, and filters make whole groups of parts invisible to it, so it can pass through walls or stop on the wrong thing.
Raycast tests one segment against the parts its RaycastParams allow and returns the nearest intersection or nil. Include lists see only listed parts; Exclude lists see everything else. To respect cover, the ray must be able to see the cover.