i don't want custom guis and ChatSystemMakeMessage. just chatspeaker (i need help with it)
COMMUNITY QUESTION
How do you make a player force chat something?
2 answers
-- Hope it works
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("hmm", "All")
local asdf = require(game.Players.LocalPlayer.PlayerScripts.ChatScript.ChatMain)
asdf.MessagePosted:fire("hmm");
An easy way to do this is to use MessageSender:SendMessage(), but you will have to use MessageSender:RegisterSayMessageFunction() first.
local MessageSender = require(game.Chat.ChatScript.ChatMain.MessageSender)
MessageSender:RegisterSayMessageFunction(game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest)
MessageSender:SendMessage("Hello!", "All")
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It's not possible to force someone to say something. You would have to go the Custom Gui route to make it look like the message legitimately came from a player. ChatMakeSystemMessage would be your next best option.