I think this is due to bubblechat being off in players panel but idk how to turn it on!
FSR it works on my player and the rig if I run that code from the command bar but a script will not work! Even if I put the displaybubble method in a loop!!
Is dis a bug? Should I report it? I have access to @AllowBugReports.
Listen here, DO YOU also see the documentation?
You should be thankful that we’re trying to help you.
Where do you see, this method is outdated? Point me. I don’t see it.
I READED DOCUMENTATION TO ANSWER YOUR DUMB QUESTION. THERE’S NO DAMN SIGN IT’S OUTDATED. AND IT WORKS. PUT THIS DAMN CODE INSIDE COMMAND BAR WHILE PLAYTESTING, AND YOU’LL SEE YOUR STUPID NPC SAYS “HELLO”.
I’ve got really mad. If you read all documentations and you’re very smart, then don’t post here
What are you so mad about? IIt seems I misworded that sentence. But anyways, roblox is recommending users to use TCS:DisplayBubble to move away from this going to be outdated service.
There is literally no need to be soo hyper about smthing ngl.
Lmao, chill out dude. seems like you also didn’t read my post. I want the npc to say that line in a script and not the command bar. Read the topic god damn it.
Also if you don’t have a solution to a question then just don’t even try to solve it. Literally it only leads to arguments.
So from what I’ve read about both functions and tested myself, Chat:Chat() should work on the server. Personally didn’t know that myself but hey I guess that’s good to know (even though it’s deprecated). However, TextChatService:DisplayBubble() is exclusive to the client and can only be executed from LocalScripts. This also means that bubble messages from DisplayBubble() will only be visible to client that is firing the function. If you want all players in the server to see the bubble messages using this method, you’ll need to use a RemoteEvent and fire it to all clients from the server and handle the request from the client by calling DisplayBubble().
Example:
-- Server
local ReplicatedStorage = game:GetService('ReplicatedStrorage')
local remote = ReplicatedStorage.RemoteEvent
local message = 'some message here'
local partOrCharacter = -- Whatever you're trying to display the message on.
remote:FireAllClients(partOrCharacter, message)
-- Client
local TextChatService = game:GetService('TextChatService')
local ReplicatedStorage = game:GetService('ReplicatedStrorage')
local remote = ReplicatedStorage:WaitForChild('RemoteEvent')
remote.OnClientEvent:Connect(function(partOrCharacter, message)
TextChatService:DisplayBubble(partOrCharacter, message)
end)
What code are you currently using to call Chat()? As others have stated in this post, all you need for this function is the character’s head and the string message.
local Chat = game:GetService('Chat')
Chat:Chat(character.Head, 'Message content here.')