Comment on page

PlayerAdded

Fires when a player joins the game server.
Example usage:
Events.PlayerAdded(function (event)
ChatService.sendMessage(event.player.name .. " joined the game!")
end)
Events.PlayerRemoving(function (event)
ChatService.sendMessage(event.player.name .. " left the game.")
end)

Parameters

player: Player

The player that joined the game server.