How to add variable chat tag with TextChatService?

This is how Roblox Recommends you create a chat tag normally with the new TextChatService:

props.PrefixText = "<font color='#AC55FC'>[VIP] </font> " .. message.PrefixText

This is what I’m trying to do:

props.PrefixText = "<font color='#000000'>"..Variable1.."</font>" .. message.PrefixText

But doing so gives me an this error:

Error occurred while calling TextChatService.OnIncomingMessage: Error occurred while calling TextChatService.OnIncomingMessage: Players.p1nk_222.PlayerScripts.ChatTag:15: attempt to concatenate table with string

Is Variable1 a table?

1 Like

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