Skip to main content

Change the text alignment

The alignment of the username and message is controlled by the settings script. This is done this way to allow you to have the text aligned differently based on whether the GUI is displaying an image or not.

To edit the alignment, open the HostGui and double click the Settings script. Locate the TextAlignment setting, it should be at or around line 27.

It has 2 sub-settings: WithImage and WithoutImage. The first one gets applied when a message with an image (or character) appears. The second one gets applied when a message without one appears.

This setting has 3 possible values:

  • Enum.TextXAlignment.Left

  • Enum.TextXAlignment.Center

  • Enum.TextXAlignment.Right