📜  你需要什么本地脚本 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:29.096000             🧑  作者: Mango

代码示例1
A LocalScript is a Lua source container that runs Lua code on a client connected to a Roblox server. They are 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.