BubbleChat distance colour not the same as regular colour

I have this LocalScript that if a player owns a gamepass, then one of the perks is that their text bubble colour changes. It works, but in the LocalScript when the background colour is changed. If the player zooms out then the colour is still the default white roblox one.

image

image

local textChatService = game:GetService("TextChatService")
local players = game:GetService("Players")

textChatService.OnBubbleAdded = function(message: TextChatMessage, adornee: Instance)
	if message.TextSource then
		local player = players:GetPlayerByUserId(message.TextSource.UserId)
		local bubbleProperties = Instance.new("BubbleChatMessageProperties")

		if player:GetAttribute("Premium") then
			bubbleProperties.BackgroundColor3 = Color3.fromRGB(54, 54, 54)
			bubbleProperties.TextColor3 = Color3.fromRGB(255,255,255)
		end

		return bubbleProperties
	end
end

I can’t change the colour normally through the BubbleChatConfiguration otherwise it would affect everyone when it should only be for the people with the gamepass.

1 Like