I want the notification system to appear only in the chat. How do I do this?

I want to make notification system showing in the chat but it works only in chat not ui.And we can see this messages like every 2 min and randomized.For example

“[System]: Don’t forget to like our game!” but there will be many messages, not just one, as I said, I would be grateful if you could adjust the script.

any help will help thanks :smiley:

We aren’t telepathic! To help you, we do need your script.

1 Like

Here is a script that randomizes messages and shows it in chat; you can customize the messages:
NEEDS TO BE A LOCALSCRIPT IN STARTERCHAR (if it doesnt work then try starterplayer, i forgot :/)

cooldown = 120 --You can change this number (this is 2 minutes)

local Messages = {
	"System: Hi",
	"System: You can customize these messages", --make sure to add the comma on the end
	"System: You can also add more messages",
}

while task.wait(cooldown) do
	game.TextChatService.TextChannels.RBXGeneral:DisplaySystemMessage(Messages[math.random(1, #Messages)])
	-- ^^^ randomizes the messages
end

Pretty sure this is what you wanted, (mark it as solution) if not then reply to me :slight_smile:

1 Like