Skip to content

Compat ​

Properties ​

isRoblox Read Only ​

luau
Compat.isRoblox: boolean

task Read Only ​

luau
Compat.task: any

typeof Read Only ​

luau
Compat.typeof

services Read Only ​

luau
Compat.services

Instance Read Only ​

luau
Compat.Instance

Color3 Read Only ​

luau
Compat.Color3

UDim Read Only ​

luau
Compat.UDim

UDim2 Read Only ​

luau
Compat.UDim2

Vector2 Read Only ​

luau
Compat.Vector2

Vector3 Read Only ​

luau
Compat.Vector3

CFrame Read Only ​

luau
Compat.CFrame

Rect Read Only ​

luau
Compat.Rect

NumberRange Read Only ​

luau
Compat.NumberRange

Font Read Only ​

luau
Compat.Font

TweenInfo Read Only ​

luau
Compat.TweenInfo

Enum Read Only ​

luau
Compat.Enum

ColorSequence Read Only ​

luau
Compat.ColorSequence

ColorSequenceKeypoint Read Only ​

luau
Compat.ColorSequenceKeypoint

NumberSequence Read Only ​

luau
Compat.NumberSequence

NumberSequenceKeypoint Read Only ​

luau
Compat.NumberSequenceKeypoint

Functions ​

traceback ​

luau
Compat.traceback(err: any, level: number?): any

warn ​

luau
Compat.warn(...: any)

setWarnHook ​

luau
Compat.setWarnHook(hook: ((message: string) -> ())?)

getService ​

luau
Compat.getService(name: string): any

clock from Clock ​

luau
Compat.clock(): number

Seconds on a monotonic clock, for measuring intervals: os.clock() in a game, virtual time on a manual clock.