I’m attempting to make a system that changes the color of a player’s bubble chat. This method is with the new bubble chat. The script works, but a few players reported that it’s only client-sided. Can anyone help me fix this issue?
Code:
-- stolenfans
-- Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local PlayerService = game:GetService("Players")
local ChatService = game:GetService("Chat")
-- Code
local InvokedRemote = ReplicatedStorage.CheckGamepass:InvokeServer()
if InvokedRemote == true then
local BubbleChatSettings = {
UserSpecificSettings = {
[PlayerService.LocalPlayer.UserId] = {
TextColor3 = Color3.fromRGB(255, 184, 16),
Transparency = 0,
BackgroundColor3 = Color3.fromRGB(38, 38, 38)
}
}
}
ChatService:SetBubbleChatSettings(BubbleChatSettings)
end