> For the complete documentation index, see [llms.txt](https://stuykgaming.gitbook.io/old/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stuykgaming.gitbook.io/old/player/createerrorscreen.md).

# Error Screen

## Athena.player.emit.createErrorScreen

Create an error screen that will show for a fixed amount of time.

*Accessible on Server Side*

## Example

```typescript
Athena.player.emit.createErrorScreen(player, { duration: 5000, title: 'Test', text: 'Hello World!' });
```

![](https://i.imgur.com/PjzQtwg.png)
