This is really confusing me, how can I make a chat message when someone hits a certain part? For example, I need a message ("<username> has made it to the end!") to be sent in the chat once someone gets to the end and touches the finish line.
Help would be greatly appreciated, as I've looked on the dev forum and on youtube with no luck.
Of course you have to use StarterGui:SetCore() to do that. That script should be put in a local script:
script.Parent.Touched:Connect(function(hit) game.StarterGui:SetCore("ChatMakeSystemMessage",{ Text = hit.Name, -- Text to send Font = Enum.Font.SourceSansBold, -- Font Color = Color3.new(255, 255, 255) -- Color FontSize = Enum.FontSize.Size96 -- Font size }) end)