> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/other-integrations/roblox.md).

# Roblox

在 Roblox 游戏中集成 Convai 角色聊天机器人服务。

## 概述

Roblox 是由 Roblox Corporation 开发的在线游戏平台和游戏创作系统，允许用户编写游戏程序并游玩其他用户创作的游戏。这为开发带有智能 AI NPC 的游戏提供了理想平台，玩家可以与这些 NPC 互动，以全新的方式体验剧情发展或游戏玩法。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FTuFK9ixGVXtkDa2CPx07%2Flogo1.png?alt=media&amp;token=c79895a2-336f-4f79-ad33-08ac2bb3108f" alt=""><figcaption></figcaption></figure>

## 限制

Roblox 环境不支持许多必要功能，因此无法充分发挥角色 API 端点的潜力。

{% hint style="warning" %}
Roblox 不允许创建音频文件
{% endhint %}

我们无法使用 Convai 返回的音频，因为没有简便的方法在游戏中创建音频文件并播放。

{% hint style="info" %}
Roblox 不允许访问麦克风
{% endhint %}

我们无法录制用户的音频并直接将其发送到服务器进行处理和生成回复。我们只能在请求正文中发送文本数据，并且只能接收和显示响应中的文本数据。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/other-integrations/roblox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
