SimpleText - Module That (sort of) Simplified Roblox Rich-Text

Introducing SimpleText

Hi Devs!

First of all, i want to mention that this module is one of my incomplete experiments and i just want to share it with you guys and hoping to get a great feedback. Ofcourse this module is open-source, if you want to take it just take it and modify as you like, credit is not required but appreciated>


  • Benefits:
  • You don’t have to type long and complicated html code <font color='rgb(255,0,0)'> Hello World! </font>' and stuff, it’s not efficient if you do it multiple times and tiring!
  • Fully customizeable, you can add more custom *presets
  • Fully open-source, you can modify as you like. Credit is not required but appreciated
  • Works in every single text-based GUI (TextButton, TextLabel, TextBox)
  • Cons
  • Right now, you can’t add more than one tag, for example Red[Blue[Hello World!]] is not possible (atleast for now)
  • The module maybe broken if you use TextBox.Changed, use TextBox.FocusLost instead
  • Fully customizeable, you can add more custom *presets

  • FAQ

What Is Presets?

Preset is a table filled with many html tags, this process is done only once when you create a preset, after you create a preset, you don’t need to touch the html code again.

Multiple Html Tags?

You can add more that one html tags on one preset, see picture below

How It Works?

Basically my module does is convert custom tags into html tags, for example Bold[Hello] will convert to <b>Hello</b>, the same goes to everything, Red[World!] to <font color='rgb(255,0,0)'>World</font> and so on

"Bold[Hello]" ->  "<b>Hello</b>"
"Italic[Hello]" ->  "<i>Hello</i>"
"Underline[Hello]" ->  "<u>Hello</u>"

How can i use it?

It’s simple and straightforward, the module came with some presets that i make (see picture on “What Is Presets?”)

local Module = require(Path.Module)
local TextLabel = Path.TextLabel
TextLabel.Text = Module.Convert('TextHere')

See how it works here:

Note: english is not my primary language and when i make this post its already past midnight, so apologize for typo and more

8 Likes