Answers for "chat speaker roblox"

0

chat speaker roblox

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)
Posted by: Guest on July-19-2021

Browse Popular Code Answers by Language