You can write your topic however you want, but you need to answer these questions:
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.
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)
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried looking around, found nothing
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")