Looking for ProfileService in Roblox Studio? ProfileService is Mad Studio’s community player-data library, not a built-in Roblox service. Its repository now directs new projects to ProfileStore. If you are following an older tutorial, identify the module before copying code: the two libraries use different methods.

ProfileService or ProfileStore: which one do you have?
Open the ModuleScript that your server code requires and compare its source with the ProfileService repository or ProfileStore repository. A ModuleScript can be renamed, so its Explorer label alone is not sufficient identification. Record where you obtained it and the revision you installed.
| Operation | ProfileService | ProfileStore |
|---|---|---|
| Create a store handle | ProfileService.GetProfileStore(...) | ProfileStore.New(...) |
| Begin working with a profile | store:LoadProfileAsync(...) | store:StartSessionAsync(...) |
| Finish a session | profile:Release() | profile:EndSession() |
| React to session loss | profile:ListenToRelease(...) | profile.OnSessionEnd:Connect(...) |
These are identification clues, not a search-and-replace migration recipe. Compare the complete lifecycle with the ProfileService API and ProfileStore API. In older code, a variable named ProfileStore can even mean a store object returned by ProfileService rather than the newer library.
Which library should a new Roblox project use?
The ProfileService maintainer says the older project is no longer supported and recommends ProfileStore for new work. That is a reason to start a new implementation from the current ProfileStore tutorial, rather than combining fragments from several generations of videos.
Existing games need a separate decision. Inventory and currency are part of the product players already rely on. Before changing the library, list every caller of the save system: rewards, spending, receipts, trades, teleports, admin tools, and shutdown handling. The migration is only as complete as that dependency list.
For a new project, place the reviewed ModuleScript on the server, such as under ServerScriptService, and require it from a server Script. A LocalScript that renders a coin counter should receive the display state; it should not own the persistent record. Roblox’s DataStore documentation establishes server-side access.
Why a session has a beginning and an end
A useful way to reason about a player record is ownership: which server is currently responsible for changing it? Consider a player moving between two servers. If both work from an old balance and later save independently, the final record can lose a legitimate change. A session-locking library coordinates access to that record.
The application still needs its own rules. For each reward, specify the server-validated action, the maximum grant, and whether repeating the request is allowed. A library handling record ownership does not decide whether the player earned an item. Keep those decisions in your gameplay code and test them separately.
The ProfileStore documentation describes an active session around Profile.Data, with periodic saving and a final save when the session ends. Treat acquisition failure and session loss as explicit application states. Decide what the player sees while data is loading and which actions become unavailable after ownership ends.
Keep a test environment separate from player saves
Roblox warns that Studio API access can reach the same stores as the live game and recommends a separate test version. Confirm the experience, store name, key format, and scope before a test that writes data. A differently named place in the same experience is not automatically an isolated data environment.
ProfileStore also documents a store.Mock mode with temporary, separate records. Use it to exercise application flow without treating the result as proof of durable storage. A second load in the same running test and a fresh server after shutdown answer different questions.
Write the environment identity into your test notes before running anything. For example: test experience, library revision, store name, sample key, initial balance, expected balance, and whether the run uses mock or persistent data. Use synthetic test records rather than a player’s real account history.
A migration review before changing an existing game
The maintainer’s migration notes describe compatibility with existing ProfileService records, but also identify a rollback caveat after using ProfileStore messaging. Read that section for your installed revision. Compatibility of stored records is not proof that your application’s loading, reward, or release code is compatible.
- Map the current identity. Record the store name, optional scope, and exact player-key expression. A changed prefix can make existing progress appear absent because the application is looking elsewhere.
- Capture representative shapes. Use synthetic records for a new player, a returning player, and an older schema. Include a missing optional field and an unexpected value type.
- Trace lifecycle callbacks. List the behavior on successful load, failed acquisition, player departure during loading, session loss, and shutdown.
- Plan transformations explicitly. Adding a missing default, renaming a field, and converting an inventory structure are different operations. Test each intended transformation and preserve unrelated values.
- Evaluate rollback before new features. Decide how to restore the previous implementation and what data-format or messaging changes could prevent that path.
- Release only after the isolated checks pass. Keep logs and compare observed values with written expectations. A successful first join is only one test case.
Six tests to run before release
| Scenario | Question to answer | Evidence to record |
|---|---|---|
| First join | Does a new record get the intended defaults? | Initial fields and values |
| Leave and rejoin | Does an earned change survive a fresh server? | Before/after values and server identity |
| Departure during load | Does the application abandon work for a player who left? | Load outcome and cleanup log |
| Session ends unexpectedly | Do reward and spend paths stop using that profile? | Attempted action and rejected result |
| Older record | Are intended defaults or transformations applied without losing existing values? | Field-by-field comparison |
| Acquisition or save failure | Is failure visible rather than presented as a successful fresh start? | Error, player state, and retry outcome |
Download the plain-text profile test record to capture these checks. It executes no code and connects to no service. For multiplayer setup, use our Studio multiplayer testing guide.
Common setup mistakes to identify
- “New is not a valid member of ModuleScript.” Check whether the variable refers to the ModuleScript Instance or the value returned by
require. Also verify that you installed the library whose API you are calling. - A new player works, a returning player fails. Compare the stored shape with current code assumptions. Changing a default table does not by itself explain what should happen to an existing value of the wrong type.
- The UI resets but the record did not. Trace the data-to-display update separately from the persistence layer. A label is not evidence of the stored value.
- Progress seems missing after a rename. Compare the old and new environment, store, scope, and key before writing replacement data.
For the broader save-system contract, continue with the DataStore script guide. For the display layer, see leaderstats. Keep the profile as the source of persistent state and define how display values are updated.
Prototype the game before connecting persistent progress
In Obby, start with one room, five collectibles, and a visible count. Verify collection and reset behavior first. Then write a separate save-system contract describing what should survive a rejoin, who can change it, and how failures are shown. Generated code needs review against the exact library revision you choose.
Sources and scope
Reviewed December 1, 2026 using the linked maintainer repositories and documentation, plus Roblox’s DataStore guidance. The diagrams, review sequence, and test record are original planning aids. No live player records were accessed or changed, and no native Roblox migration or persistence test was performed for this article.


