How to simulate a hyperlink?

I have a frame with a TextLabel:

image

As in HTML Links Hyperlinks, I would like that when the player hovers over the link it changes color and when he clicks on the link it opens another frame.

I know I can transform this underlined text into a TextButton.

But then for every hyperlink, I will have to separate the text into 3 objects: 1 TextLabel, 1 TextButton, 1 TextLabel.
And then, most annoying of all, I’ll have to concatenate it all in a visually aesthetic way (so it doesn’t look like different Guis).

I ask: is there any simple way to simulate a hyperlink?

Please, read the OP.


Rich text would work tho? You can also check where the text label is located and detect input on it and check where the user clicked

I think you’re not understanding what is written. RichText is only for formatting the string.

How?

Getting the size or mapping the position of the hypertext part urself