Trouble with Defaultio's Rich Text Markup module

Hey everyone, so I have been searching a way to make animated rich text and found Defaultio’s module that does exactly that. The thing is when I try to use it or just use one of the examples provided with the module it throw me the same error everytime coming from the module, so I was wondering if the module was deprecated or if it was a known issue and someone had a fix for it. Thank you in advance.

whats the error you got? we cant do much

Heres an example on how to use it, as I use it for a lot of my games: local richText = require(game.ReplicatedStorage.RichText) local textFrame = game.Players.LocalPlayer.PlayerGui.Speech.TextFrame local textContent = "Hello!" local textObject = richText:New(textFrame, textContent, {Font = "Cartoon", AnimateStyle = "Wiggle", AnimateStepFrequency = 1, AnimateStyleTime = 7, AnimateStyleNumPeriods = 10}) textObject:Animate(true), the textframe must be a frame object, it will house the text you put in the text content.

1 Like

It’s an error on the “apply property” function in the module in the pcall where it checks if a property exist, it says that “ImageColor3 is not a member of Textlabel”.

I’m not sure how to fix it but I do know that ImageColor3 isn’t a property of TextLabel, it’s a property of ImageLabel which would explain why it’s erroring.

I think the pcall is supposed to be erroring so it doesn’t set the property since it doesn’t exist in the textlabel the thing is it IS erroring but stopping run time whereas it should just set the “IsProperty” variable to False and skip to the next iteration of the loop. You don’t have the same error when using the module ? Because I don’t see a reason why I would have one where it works for everyone else.

It still doesn’t work.

image

This is the error it gives me and I think it is because of the pcall at line 387.

But when I make it so it doesn’t stop the runtime nothing appears, I really don’t understand why it works for everyone but not me, I haven’t seen anyone with the same issue as mine, perhaps the module is deprecated ?

1 Like

Okay so apparently you just have to check the “On Unhandled Exceptions” in the “Script” tab. Still think this is very confusing and not very user-friendly but yeah it works.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.