.LUAU File Extension
Luau Script
Developer | Roblox |
Popularity |
4.5 | 4 Votes |
What is a LUAU file?
A LUAU file is a script comprised of Luau source code. It likely contains code used by a Roblox game. Roblox game developers typically create and edit LUAU files with Roblox Studio.
More Information
Roblox is a multiplatform video game in which players can choose from and play a wide variety of sub-games. In many cases, players themselves develop these sub-games, using Roblox game development tools like Roblox Studio.
Around 2006, Roblox began using Lua 5.1 as its game scripting language. However, the Roblox development team eventually felt that Lua 5.1 no longer fit their, or game developers', needs. To address this issue, Roblox created its own variant of Lua 5.1, named Luau.
Now, Roblox developers often save game source code in LUAU files. The code these files contain looks similar to the code found in .LUA files, and is designed to be backward-compatible with Lua 5.1 code. However, Luau uses its own compiler and runtime, developed and maintained by Roblox.
NOTE: Some .RBXM files contain LUAU scripts.
How to open a LUAU file
You can open and edit a LUAU file with Microsoft Visual Studio Code (multiplatform) or any other source code or text editor.
You can also open, edit, and execute a LUAU script with Roblox Studio (Windows, Mac), as part of a Roblox development project. To insert a LUAU script into an existing Roblox Studio project:
- Select Insert → Object....
- Navigate to and open your LUAU file.