Skip to content

Extended from BaseObject ReactiveLabel

UI element that renders text with a typewriter effect, text animations and supports roblox rich text.

Properties

Enum Font

The font used for displaying text.

number FontSize

The font size of the text.

string Text

The text content to be rendered.

Enum HorizontalAlignment

Controls how child elements are laid out horizontally within the label. Enum type: Enum.HorizontalAlignment

Enum VerticalAlignment

Controls how child elements are laid out vertically within the label. Enum type: Enum.VerticalAlignment

number TextTransparency

Color3 TextColor3

boolean TextScaled

Determines if the text scales automatically.

boolean Animated

If true, renders text progressively like a typewriter.

Color3 TextStrokeColor3

number TextStrokeTransparency

Transparency of the text stroke.

number TextStrokeThickness

Thickness of the text stroke.

number CharactersPerSecond

The number of characters rendered per second.

number TypingSoundVolume

The volume of the typing sound.

boolean StopSoundOnFinish

If true, stops the typing sound once rendering is complete.

table PauseDelays

A table defining additional pause durations after certain characters (e.g., comma, period). Example of PauseDelays usage:

{
  [","] = 0.25, -- pause 0.25 seconds after a comma
  ["."] = 0.5,  -- pause 0.5 seconds after a period
  ["?"] = 0.5,  -- pause 0.5 seconds after a question mark
}

{
    [","]: number,
    ["."]: number,
    ["?"]: number,
}

UDim2 Size

number BackgroundTransparency

Methods

void Render()

Renders the label text with a typewriter effect, yielding during animations.

Events

There is no events for this class