I’m working on a steven universe inspired system that involves fusion, basically 2 players become one. The issue is that I don’t know how to handle the chatting. Especially since migration to TextChatService is mandatory, I’m not sure how to do this. I tried the :Chat(message) function but it either didn’t appear in the intended place or overlapped with the other player’s bubble. (in the video both players have duplicate chats but the player 2 chat bubble is lower and the character covers the original chat bubble.
Here’s the code:
local function unifyChatHead(accepter, requester)
local fusedHead = requester.Character:FindFirstChild(“Head”)
if not fusedHead then return end
local function onChatted(player)
player.Chatted:Connect(function(message)
local bubbleChat = game:GetService("Chat")
bubbleChat:Chat(fusedHead, message, Enum.ChatColor.White)
end)
end
onChatted(accepter)
onChatted(requester)
end
unifyChatHead(accepter, requester)
Yeah the behavior is nice but the “accepter”'s bubblechat appears in the intended place with :displaybubble but the original bubble chat stays in place. is there a way to destroy it or move it to a separate part?
I dont think theres a way to disable specific chat bubbles
Though, you could disable the BubbleChatConfiguration to disable all default chat bubbles and display bubbles for players manually using :DisplayBubble() (if they arent fused)
what i’d recommend is to make a your very own chat from StarterGui that contains a textbox, a scrolling frame and a textlabel (easy to do) that can be hidden or shown for specific players same as the bubble chat, you can find their imageID in the chat properties in explorer
inside of it, you can maybe add a
-- for _, player in game.Players:GetPlayers() do
and a if statement like this
for _, player in game:GetService("Players") do
if player.UserID == accepter.UserID then
-- idk, fire a remotevent then return it on another starterplayer scripts
elseif player.UserID == requester.UserID then
-- same statement here
else return end
or wait, you can look up in google, all the roblox slurs and then copy and paste it into a table in ur script, incredibly long but if one of them is mentionned, it will replace with either # or these funny things @#/:{^