LocalScript

Tampilkan yang Tidak Digunakan Lagi

*Konten ini akan segera tersedia dalam bahasa pilihanmu.

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.

Rangkuman

Properti

Properti diwarisi dari Script
  • Baca Paralel
    Keamanan Plugin
    Keamanan OpenCloud

    The code to be executed.

Properti diwarisi dari BaseScript

Properti

Metode

Acara