Cant change the font of word in rich text from script

What i need to do if i want custom font word in rich text when i fire dialogue???
Font Link: https://create.roblox.com/store/asset/11322590111/Fuzzy-Bubbles?pageNumber=1&pagePosition=24

Script:

game.ReplicatedStorage.Events.ClientPopupMessage:Fire("Dialogue", 'I want the <font family="rbxasset://fonts/families/FuzzyBubbles.json" color="#FF7800">orange</font> candy.', 3)

Error In Console:

Font family rbxasset://fonts/families/FuzzyBubbles.json failed to load: Temp read failed.

The font you are trying to access simply doesn’t exist at the location you specified:

As it is not a default font (and had to be installed from the toolbox), you should instead be providing the AssetId of the font as the family
e.g.

<font family="11322590111">WEEWOOWEEWOO</font>
1 Like

you legit replied a few seconds before me

on top of that i can say that you can also type it like

'<font family="rbxassetid://11322590111">WEEWOOWEEWOO</font>'

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