Roblox GuidebookKnowledge base
English ⌄

Studio / ROBLOX

Test Roblox party logic with Party Simulator in Studio

Set up two simulated parties in Server & Clients and verify who your server adds to a shared match.

Updated:

Define a single party behavior #

Choose an observable outcome, such as a Ready button queueing the party members connected to the current server. Verify the proposed roster before teleporting anyone or awarding anything. Write down the expected result for a solo player as well.

Configure a controlled multi-client test #

Open Server & Clients in current Roblox Studio. In Party Simulator, assign two test players to one party and a third to a different party. Record the expected roster. Changing the client count can change simulator assignments, so inspect the configuration before each run.

Compare PartyId on the server #

Check values in the server simulation against the assigned parties. Use a separate path for an empty PartyId so unrelated solo players are not treated as one party. For a diagnostic, write down the test names and the count of matching objects.

Checks 1–3 · Test Roblox party logic with Party Simulator in StudioOpen full-size image ↗
Checks 1–3 · Test Roblox party logic with Party Simulator in Studio

Use the membership query that fits #

SocialService:GetPlayersByPartyId returns connected Player objects with the requested PartyId. GetPartyAsync returns information about party members across the current experience. A record for someone on a different server is different from a connected Player object on yours. Verify that the local query returns the two expected players.

Test departure and a repeated confirmation #

Repeat the action with a different client and then close one test client. Record the chosen roster at each step. A departure between steps calls for a fresh roster check. Confirming twice should avoid queueing the same player twice. Start with a disposable test roster without durable writes.

Verify real invites or travel separately #

The simulator verifies your server logic with configured parties. For actual invitations or coordination across servers, use a restricted published test with authorized participants. Record the party members, server, action and result so you can compare the Studio and published behaviors.

Checks 4–6 · Test Roblox party logic with Party Simulator in StudioOpen full-size image ↗
Checks 4–6 · Test Roblox party logic with Party Simulator in Studio
What to checkExpected result
Match ruleSolo outcome is specified
Three clientsTwo in one party, one in another
Server PartyIdValues match the assignments
Local rosterTwo Player objects returned
Leave and retryFresh roster without duplicates
Regular RobloxSeparate published test checked

Original sources

Roblox Creator Hub · Party simulation
Roblox Creator Hub · SocialService
Roblox Creator Hub · Player.PartyId