Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Placing Dialog in Chat?

I was wondering how (if possible) I could insert a message into chat as if a Player had typed it

Message = Instance.new("Message", game.Chat) --ignore my code, this is just a mock up to give yall an idea
Message.Text = "BSIncorporated is here"
Message.Speaker = "Server"
Message.Color = BrickColor.new or Color3.new()
etc.

Any help is appreciated. I do realize that creating my own chat interpretatur would make this easily possible, but I was wondering if there was a way without using scripts for GUIs

1 answer

✓ Accepted answer

Sadly, ROBLOX( as of now ) cannot do this. But like you said, if you created your own custom chat, you can accomplish this.

BUT You can create a speech bubble using the Chat Service. Here's an example:

local ChatService = game:GetService("Chat")
local Part = workspace.Character.Head -- any part, doesn't have to be a head or bodypart
 
ChatService:Chat(Part, "Blame John!", "Red")
--[[Color Type Strings/Enums:
"Red"
"Green"
"Blue"
]]

Hopefully this helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.