System message not getting send

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I would like to be able to send the system message then remove the script.

  2. What is the issue? Include screenshots / videos if possible!
    The script works fine and the two print get sent at the right time. But the SetCore doesn’t work.
    The chat is the TextChatService
    Script

game.Players.LocalPlayer.PlayerGui.ChildRemoved:Connect(function()
	print("Started")
	game.StarterGui:SetCore("ChatMakeSystemMessage",  { 
		Text = "Your name will be seeable when the tutorial will be finished", 
		Color = Color3.new(1, 1, 1),
		Font = Enum.Font.FredokaOne,
		FontSize = 14
	}
	)
	end
	script:Destroy()
end)
  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve tried looking around, found nothing

When using TextChatService, use TextChannel:DisplaySystemMessage to display system messages.

@be_nj How to use it? Idk how to add it in the script

Assuming you are using the default configuration for TextChatService and TextChatService.CreateDefaultChannels is true, simply get a reference to one of the existing channels (we’ll use RBXSystem) and invoke the method:

local TextChannels = TextChatService:WaitForChild("TextChannels")
local RBXSystem = TextChannels:WaitForChild("RBXSystem")

RBXSystem:DisplaySystemMessage("Your name will be seeable when the tutorial will be finished")
1 Like

@be_nj OOOO THANK YOU A LOT! you saved my day

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.