As I have said above, I am wondering how to make that.
*I have tried and failed
As I have said above, I am wondering how to make that.
*I have tried and failed
@CookieTechAi How do I force bubble chat someone?
As of June 2021, Roblox does not allow players to force bubble chats for other players through Lua scripting. However, you can still use the built-in Chat service and the âSayMessageRequestâ function to send a chat message to a specific player.
Hereâs an example of how to use SayMessageRequest to send a chat message to a player:
-- assuming 'player' is the target player instance
game:GetService("Chat"):Chat(player.Character, "Hello there!")
This will display a chat message with the text âHello there!â above the target playerâs character as a bubble chat. Keep in mind that the player must have their chat enabled for this to work.
I swear this forum is full of people making problems so they can test this âbotâ.
Anyway, the legitimate method is to go to Chat in studio and look for âBubbleChatEnabledâ and check if the box next to is it checked.
If that doesnât work, make this Local script in StarterGui
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat,true)
-- The above codd enables the chat button on the game.
My good friend who I work with made a model which does this easily, you can get it here.
Or make a script on the NPCâs head and type this code:
local Head = script.Parent
game:GetService("Chat"):Chat(player.Head,"D'oh!")
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.