i’ve been trying to make a system message that includes a gradient for specific purposes using the new (yet not so new) textchatservice, though im really confused on how to achieve this, i have seen on the documentation that if you were to parent a uigradient to ChatWindowMessageProperties
it would use the gradient, yet it doesn’t seem to work.
This is my current code
TextChatService.OnChatWindowAdded = function(message : TextChatMessage)
print("hi")
if message.Metadata == "gradient" then
print("this is a gradient")
local gradient = Instance.new("UIGradient")
gradient.Color = holdGradient
gradient.Parent = message.ChatWindowMessageProperties
end
end
the ‘hi’ and ‘this is a gradient’ print so the code is running, yet the text doesnt receive a gradient., i do not know why