RBX.lua.LocalScript (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
not a stub
>Anaminus
Added members
Line 1: Line 1:
{{CatUp|Class reference}}
__NOTOC__
LocalScripts are scripts that only run in two places:
LocalScripts are scripts that only run in two places:


Line 5: Line 8:


LocalScripts are intended to be used to create light-weight client-side eye candy. Because they do not run on the server and are not replicated to other clients, they have zero network overhead.
LocalScripts are intended to be used to create light-weight client-side eye candy. Because they do not run on the server and are not replicated to other clients, they have zero network overhead.
==Functions==
The LocalScript object only incorporates the global functions.
==Properties==
In addition to the global properties, the LocalScript object also has these:
*[[Disabled]]
*[[LinkedSource]]
*[[Source]]
==Events==
The LocalScript object only incorporates the global events.
[[Category:ROBLOX Lua Objects]]
[[Category:ROBLOX Lua Objects]]

Revision as of 22:57, 9 July 2008


LocalScripts are scripts that only run in two places:

  1. In the local player's Backpack
  2. In the local player's character model

LocalScripts are intended to be used to create light-weight client-side eye candy. Because they do not run on the server and are not replicated to other clients, they have zero network overhead.

Functions

The LocalScript object only incorporates the global functions.

Properties

In addition to the global properties, the LocalScript object also has these:

Events

The LocalScript object only incorporates the global events.