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.
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.
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.
| What to check | Expected result |
|---|---|
| Match rule | Solo outcome is specified |
| Three clients | Two in one party, one in another |
| Server PartyId | Values match the assignments |
| Local roster | Two Player objects returned |
| Leave and retry | Fresh roster without duplicates |
| Regular Roblox | Separate published test checked |
Original sources
Roblox Creator Hub · Party simulationRoblox Creator Hub · SocialService
Roblox Creator Hub · Player.PartyId


