---
title: "CoreScript"
description: "A privileged engine-owned script class used by Glorpia core systems."
canonical: "https://docs.glorpia.com/instances/corescript"
markdown: "https://docs.glorpia.com/instances/corescript.md"
---
# CoreScript

A privileged engine-owned script class used by Glorpia core systems.

**Category:** Instances

## Permissions

| Name | Type | Description |
| --- | --- | --- |
| `Owner` | Glorpia engine | Used by Glorpia core systems. |
| `Execution` | core | Runs with Glorpia core-script permissions. |
| `Source` | read-only | CoreScript source may be viewed in Studio but cannot be edited or replaced by creators. |
| `Creation` | engine only | Cannot be created with Instance.new() or inserted from Studio. |
| `Related public class` | ServerScript | ServerScript does not receive CoreScript permissions. |

## Studio playtesting visibility

CoreScripts are client-side runtime objects in Studio's playtest Explorer. They are shown in Client view and hidden in Server view.

> **Note:** Players and the live Character hierarchy remain visible in Server view even though CoreScripts are hidden.

## Permission model

> **Note:** `CoreScript` uses Glorpia's privileged core permission context. `ServerScript` uses the public script permission model.
