RBX.lua.Script (Object)

From Legacy Roblox Wiki
Revision as of 02:48, 25 April 2010 by >GoldenUrg (Added description details)
Jump to navigationJump to search


A Script in Roblox is a type of object that hold a section of Lua code. A script will execute on server and has access only to server-side events and properties. See Hopperbins for the exception.

A Script runs when placed as a Descendant of any of the following (and not Disabled):

Note: Changing the value of Disabled will have no effect unless script parent is subsequently changed.

Functions

The Script object only incorporates the global functions.

Properties

In addition to the Global properties, the Script also has these:

Events

The Script object only incorporates the global events.