Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.11 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.11 KB

Luau Overview

Introduction

What is Luau ?

Luau is the scripting language creators use in Roblox Studio. It is a fast, small, safe, gradually typed embeddable scripting language derived from Lua 5.1.

Support in Studio ?

The Script Editor in Studio supports Luau with autocompletion, syntax highlighting, static linting, type cheking, and script analysis. It also shows documentation and function signatures for members of the Roblox Engine API.

Types

Luau includes the following data types:

  • nil represents non-existence or nothingness.
  • Boolean, or bool, have a value of either false or true.
  • Numbers, or double, repesent double-precision (64-bit) floating-point numbers.
  • Strings, are sequences of characters, such as letters, numbers, and symbols.
  • Tables, are arrays or dictionaries of any value except nil.
  • Enums, are fixed lists of items.