ServerBroadcast
Function of: Chat
Returns: Void
Tags: static
Sends a message to a specific player
Parameters
Name | Type | Description |
---|---|---|
targetPlayer | Player | The player to send to |
message | String | The message to send |
Example
-- send a welcome message to newly joined players Players.PlayerJoined:connect(function(player) Chat.ServerBroadcast(player, 'Welcome to the server!') end)