So I am making a button that will say “Hello!” in the chat but I don’t know what to use or how to do it.
Let me explain if you’re not understanding. In Bubblegum Simulator, if you hatch a rare pet, it will often say “Player1 has hatched Legendary Pet (0.1%)” in the chat so everyone can see it. How would I achieve this?
You can do it by using StarterGui:SetCore which has a method to send a message into the chat called “ChatMakeSystemMessage”. In a LocalScrip you would have something like this:
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Your message", --Required
Color = Color3.new(255,255,255), --Optional
Font = Enum.Font.Highway, --Optional
TextSize = 15 --Optional
})