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

How do I make another player chat something? Like in Life In Paradise 2?

I am making my own private GUI which is available to me. I want to make it make another player chat something. You would say it is like how admin commands do. I want to do it like if the player actually said it. Like a force chat.

I have tried player:Chat(text) but it says that permission is lacking. How do I fix this because I really want a GUI for me like this.

Thanks!

By the way if this question is breaking the rules of scripting helpers please don't report me instead tell me in the comments and I will remove this question.

1 answer

✓ Accepted answer

You can make system messages in the chat menu like so in a local script:

game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage"){
   Text = "System Message Here",
   Color = Color3.new(0,0,0),
   Font = Enum.Font.SourceSansBold,
   --FontSize is the last key in the table, but it's deprecated. I'm assuming you can use TextSize instead
}

You can't really force a player to speak in the chat, but you can make it look like that through string concatenation in the Text key.

:SetCore()

TextSize

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