Lua Globals
Show Deprecated
The following is a list of functions and variables that are native to Lua. These functions can be used in a standard installation of Lua 5.1.4, though there are some differences in how some of these work on Roblox.
Summary
Functions
Functions
assert
Variant
Parameters
value: Variant
Default Value: assertion failed!
Returns
Variant
getmetatable
Variant
Parameters
t: Variant
Returns
Variant
Properties
_G
A table that is shared between all scripts of the same context level.
_VERSION
A global variable (not a function) that holds a string containing the current interpreter version.