So I've been trying to make it where when a player joins, it sends a message to the whole server saying, > Player.Name has joined the Experience! < but my script doesn't work, can anyone help me? I have been using ChatService.
I have it in ServerScriptService.
game.Players.PlayerAdded:Connect(function(player)
local chatService = require(script.Parent:WaitForChild('ChatServiceRunner'):WaitForChild('ChatService'))
local Speaker = chatService:AddSpeaker('New Player | ')
Speaker:JoinChannel("All")
Speaker:SayMessage(player.Name.." has joined the experience!")
end)

1 comment
Hi, there is a problem with that. I want it to send it to the entire server, not just the client.