---
title: "Playtesting & Client/Server Views"
description: "How Glorpia Studio separates the client and authoritative server while a playtest is running."
canonical: "https://docs.glorpia.com/studio/playtesting"
markdown: "https://docs.glorpia.com/studio/playtesting.md"
---
# Playtesting & Client/Server Views

How Glorpia Studio separates the client and authoritative server while a playtest is running.

**Category:** Studio

## Starting a playtest

Press **Play** to start a runtime session. Studio shows the Glorpia loading screen while it prepares the place, starts or contacts the playtest server, and creates the client and server runtime views.

When Studio is online, it uses the username and `PlayerID` of the account signed into Studio for the playtest Player instance. In offline mode, the playtest identity defaults to `Player` with `PlayerID` `0`.

> **Note:** Playtesting is temporary. Studio clears the edit-time selection while the runtime is active, then restores that selection when Stop returns to the unchanged edit-time place. Live changes made during the playtest are not written into the `.glrp` file.

## Offline playtests

Offline mode still supports local playtesting. Studio opens from its built-in `Baseplate.glrp`, uses the offline Player identity, and keeps publishing disabled while offline.

- [Offline Mode](https://docs.glorpia.com/studio/offline-mode.md) — Startup fallback, PlayerID 0, local files and disabled publishing.

## Client / Server toggle

While Play is running, one Client/Server icon button appears directly to the right of Play/Stop. The icon shows the view that is currently active. Click the same button to toggle between Client and Server view.

| Name | Type | Description |
| --- | --- | --- |
| `Client view` | runtime view | Shows the client-side world, player controls, client camera and CoreScripts. Client-only changes stay on the client. |
| `Server view` | authoritative view | Shows the server mirror with Studio freecam and live editing tools. Edits are sent to the authoritative server and then replicate to the client. |

## Authority rules

| Name | Type | Description |
| --- | --- | --- |
| `Client changes` | client only | Runtime changes made only on the client are not sent upstream to the server. |
| `Server changes` | replicated | Authoritative server changes replicate down to the client view. |
| `Movement input` | client → server | Movement and jump input are sent to the authoritative server, which owns character physics. |
| `Server-view Studio edits` | Studio → server | Supported live edits are sent to the real running server and then appear in Client view through normal replication. |

> **Note:** The two views are separate runtime mirrors. Switching views does not turn client-local state into server state.

## Client view

Client view is the normal player-facing runtime. It runs the built-in client CoreScripts for controls, camera behaviour and freecam support.

CoreScripts appear in Explorer only in Client view. Selecting a real world instance in Explorer also draws its selection box in the 3D preview, even though Client view is not the authoritative editing view.

The **Players** service, Player instance, runtime `PlayerGui`/`PlayerScripts`, Character model, Humanoid and R6 body parts are visible while playtesting. LocalScripts cloned into those runtime containers are discovered and started once on the client.

## Server view

Server view uses the Studio freecam and keeps the normal editor interaction model while the simulation continues to run.

You can select and transform parts, edit Properties, rename instances, drag/reparent in Explorer, insert supported runtime objects, delete, duplicate, copy/cut/paste, and group or ungroup supported live instances. Move, Scale and Rotate use the same transform gizmos as Edit mode.

Server view hides the client-only CoreScripts from Explorer, but it still shows Players and the current Character hierarchy so you can inspect the live player and character state.

> **Note:** Server-view edits are not saved. Stop ends the runtime session and restores the original edit-time place.

## Live-editable server objects

The current live-edit bridge replicates the runtime hierarchy and server-side properties used by the playtest system.

| Name | Type | Description |
| --- | --- | --- |
| `Part / SpawnLocation` | live editable | Transform, size, colour, transparency, shape, bevel, mesh detail, smooth shading, Anchored and CanCollide. |
| `Model / Folder` | live editable | Create, rename, group, ungroup, reparent, destroy, and edit Visible and CanCollide. Folders also expose Explorer icon colour. |
| `Lighting` | live editable | Brightness, ClockTime and direct BlurEffect / ColourCorrection children. |
| `Humanoid` | live editable | Health, WalkSpeed and JumpPower. |
| `Player` | inspect | Name, ClassName, PlayerID and Character are shown as runtime player data. |
| `ServerScript` | authoritative | Enabled public ServerScripts run on the server and can drive supported world state and events. |
| `LocalScript` | client | Enabled LocalScripts start from runtime copies in PlayerGui, PlayerScripts or the local Character. StarterGui and StarterPlayer template scripts remain inactive. |
| `BasicSound` | live editable | Enum-backed Sound, Volume, Looped, Playing and RolloffMaxDistance replicate to clients. |

## Playtest server selection

Studio first looks for a compatible Glorpia LAN playtest host on the local network. If one is available, Studio uploads the temporary playtest place and connects to the gameplay session it provides. If no compatible LAN host can be used, Studio automatically falls back to the same Glorpia server running in-process on the current PC.

## Related

- [Player](https://docs.glorpia.com/instances/player.md) — PlayerID, Character and other Player properties.
- [Players](https://docs.glorpia.com/services/players.md) — LocalPlayer and the runtime player list.
- [LocalScript](https://docs.glorpia.com/instances/localscript.md) — Creator client-side scripts and their permission set.
- [CoreLocalScript](https://docs.glorpia.com/instances/corelocalscript.md) — Built-in client scripts visible in Client view.
- [Parts & Properties](https://docs.glorpia.com/studio/parts.md) — Selection, transform gizmos and part properties.
- [Offline Mode](https://docs.glorpia.com/studio/offline-mode.md) — Playtesting without online account services.

For the basic editor workflow, see [Getting Started](https://docs.glorpia.com/studio/getting-started.md).
