I have a script that changes your bubble chat color depending on your team but only the player can see their bubble chat color. Heres my script (its a server sided script):
game.Players.PlayerAdded:Connect(function(LocalPlayer)
local ChatService = game:GetService('Chat')
local BackgroundColor = LocalPlayer.TeamColor.Color
local Teamchange = LocalPlayer:GetPropertyChangedSignal('Team')
local TextSettings = {
BackgroundColor3 = BackgroundColor,
TextColor3 = Color3.fromRGB(255, 228, 253)
}
ChatService:SetBubbleChatSettings(TextSettings)
Teamchange:Connect(function()
print('team change')
local TextSettings = {
BackgroundColor3 = LocalPlayer.Team.TeamColor.Color,
TextColor3 = Color3.fromRGB(255, 228, 253)
}
ChatService:SetBubbleChatSettings(TextSettings)
end)
end)
