Skip to content

Built-in types

Luau primitive and engine types used in PlayerState API signatures. PlayerState types (for example PlayerData, ValuePath) are documented in the other type reference pages.

boolean

true or false. Used for success flags, feature toggles, and readiness checks such as IsReady().

Luau boolean (Roblox docs)

string

Text values and dot-separated paths (for example "Coins", "Plot.Likes").

Luau string (Roblox docs)

number

Numeric values (integers and floats).

Luau number (Roblox docs)

table

Luau tables — used for nested profile data, arrays, and dictionaries.

Luau table (Roblox docs)

any

Unrestricted value type when a path or callback can hold any Luau value. See primitive types in the type-checking guide.

Luau type checking (Roblox docs)

nil

Absence of a value (for example a missing path or disconnected listener).

Luau nil (Roblox docs)

Player

Roblox Player instance passed to server APIs (for example Init, Get, SetPath).

Player class (Roblox API reference)

PlayerState - High-Performance Roblox Data Management