LocalScript

顯示已棄用項目

*此內容很快就會推出您所選的語言版本。

A LocalScript is a Lua code container that runs its contents on the client (player's device) instead of the server. It is used to access client-only objects such as the player's Camera.

For code run through LocalScripts, the LocalPlayer property of the Players service will return the player whose client is running the script.

See here for a table of valid container services from which LocalScripts will execute.

概要

屬性

屬性 繼承自 Script
  • 平行讀取
    外掛程式安全性
    OpenCloud 安全性

    The code to be executed.

屬性 繼承自 BaseScript

屬性

方法

活動