But how do i use it? I have the module in the game.
It appears that the module:highlightText(label, text)
method will do this. The first argument is a Label which will display color, it shouldn’t be the same as the textbox. The second argument is the textbox text.
ooh i have a file for it hold up
https://create.roblox.com/marketplace/asset/12800640261 note: this isnt made by me I dont remember who made this as I used it a long time ago so i think its owned by boatbomber
require(theHighlighterModuleYouLinked).highlight(textObject = yourTextBox)
It already says how to use it
Key highlight now found in table, what now?
no idea if im doing this correctly but
local label = script.Parent
local Highlighter = require(label:WaitForChild("Highlighter"))
Highlighter.highlight({textObject = label})
Just copy-paste this
Also the module they linked is outdated, use the github one
local Highligher = require(workspace.Highlighter)
local Label = -- label
local String = -- string
Highligher.Highlight(Label,Stromg,true)
The String is not necessary
It’s not a tuple, it’s a dictionary
The Highlighter module should not be in workspace
When doing this, it just overlays the new colored text on the old text, which in this instance shows both text