PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Game Testing Modes

Game Testing Modes

Oct 19 2018, 7:25 PM PST

Testing games is critical for success. Because of the underlying articles/Roblox Client Server Model|client-server model in all Roblox games, it’s important that you test your game in various modes before publishing it to the public.

Play Solo Mode

The Play and Play Here modes in Studio are collectively known as “play solo” mode. Play inserts your avatar into the game at the SpawnLocation while Play Here inserts your avatar at the current camera position.

When testing in these modes, Studio runs two separate simulations (one client and one server). This gives you a more accurate impression of how the game will execute in production, for instance:

  • LocalScript|LocalScripts will run on the client data model and obey client-side rules — they will not create objects in the overall game world, etc.
  • Script|Scripts will run on the server data model and they will not affect client-side instances like a player’s local ScreenGui.

Client/Server Toggle

To toggle between Client and Server modes, click the Client/Server Toggle button while simulating:

The following tables outline the key differences between modes:

3D View
Client Server
Window surrounded by blue border. Player avatar is inserted and simulation uses in-game controls and camera.
Window surrounded by green border, with free-floating camera. Avatar is inserted but not under your control.
Output Window
Client Server
Output messages tagged blue.
Output messages tagged green.
Explorer Window
Client Server
In the Explorer window object hierarchy, only client-side objects will be present. For instance, you will not see items that you placed inside ServerStorage or ServerScriptService.
The expected server-side objects will appear in the Explorer window hierarchy, including objects added to ServerStorage, scripts you placed in ServerScriptService, etc.

Run Mode

Run mode is similar to Play SoloServer mode, but it does not insert your player avatar into the game. The simulation begins at the current camera position and you can navigate around the game world using the standard Studio camera controls.

Multi-Client Simulation

Using the Server/Players options in the Test tab, you can launch multiple sessions of Studio, one acting as the server and each other acting as a client.

  1. Select the Test tab in Studio.
  2. In the Clients and Servers section, make sure Local Server is selected in the upper box.
  1. In the next box, select the number of player sessions to test (usually “1 Player” is fine).
  1. Press the Start button to begin the client-server simulation.

Team Create

If you’re working on a game with others in Articles/Team Create|Team Create mode, you can test as follows:

  1. Select the Test tab in Studio.
  2. In the Clients and Servers section, select Team Test in the upper box.
  1. Press the Start button to publish the current state of the game and create a new Studio session with your character inserted. Other creators can join by pressing Join from the Test tab.