📅  最后修改于: 2022-03-11 14:56:20.299000             🧑  作者: Mango
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local server = ChatService:AddSpeaker("Server")
server:JoinChannel("All")
server:SetExtraData("NameColor", Color3.fromRGB(255, 255, 255))
server:SetExtraData("ChatColor", Color3.fromRGB(0, 255, 255))
script.Parent.Touched:Connect(function(hit)
local char = hit:FindFirstAncestorOfClass("Model")
server:SayMessage(char.Name.." has completed!", "All")
end)