Bobrix Docs

Luau Overview

Luau is Roblox’s language, based on Lua 5.1 and extended with performance features and gradual typing. You can add type annotations to catch mistakes early and improve readability.

export type PlayerProfile = { coins:number, name:string } local function loadProfile(id:number): PlayerProfile return {coins=0,name="Guest"} end
Good to know: Most Lua 5.1 resources still apply to Luau; features like type inference and analysis are Luau-specific.