A module originally found on the Devforum, ported to support exploit needs using loadstring() instead of require.
Importing the library
local module = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/hello-n-bye/textbox-syntax/main/highlighter.lua"))()
local module = loadstring(game:HttpGetAsync("..."))() -- Replace the url with the correct one.
module.highlight({
textObject = script.Parent -- A LocalScript inside of your TextBox
})
Checkout the original author's repository here.
Original code by BoatBomber, ported to exploits by me.