THE SHORT ANSWER
Roblox experiences use a client-server model. The server maintains the experience state and keeps connected clients synchronized through replication, including the data model, physics simulation, and chat messages.
- Roblox experiences use a client-server model in which the server maintains experience state and keeps connected clients synchronized.
- Roblox replication synchronizes the data model, physics simulation, and chat messages between the server and connected clients.
- Server & Clients mode launches multiple Studio sessions, with one acting as the server and the others acting as clients.
- A two-player simulation can be configured by selecting Server & Clients and choosing two client sessions.
- Clicking Play or pressing F7 starts the client-server simulation.
- Roblox Studio supports up to eight simulated clients, and Roblox says one or two clients are usually sufficient.
- Server & Clients mode can be used to compare how one client sees other clients.
- Connected clients receive runtime data and run applicable scripts.
How to Test with Two Players in Roblox Studio
Roblox experiences use a client-server model. The server maintains the experience state and keeps connected clients synchronized through replication, including the data model, physics simulation, and chat messages.
Start a two-player simulation
Roblox Studio's Server & Clients mode launches multiple Studio sessions: one acts as the server, while the others act as clients.
- Open the testing-mode dropdown in Studio.
- Select Server & Clients.
- Set the number of client sessions to 2.
- Click Play or press F7.
Studio supports up to eight simulated clients, although Roblox says one or two clients are usually sufficient.
Compare the clients
Use the two client sessions to compare how each client sees the other. Perform an action in one client, then check the result from the other client's perspective.
Connected clients receive runtime data and run applicable scripts, while the server maintains the authoritative experience state and keeps the clients synchronized.
When you finish, select End Session from any simulation session. Studio will close every simulated client and the simulated server.
For additional Studio guidance, continue with practical Roblox help on Roblox How.