Player Event
Here is a example how to create a event for listening when a client connects to your universe.

Creating the event
We will use the PlayerConnected Event to listen when a player connects.
game.Universe.Players.PlayerConnected:Connect(function(Player)
print(Player.Name.." says Hello to the World!");
end)
Here this code will now execute when a player connects and prints.
What's returned in player?
{
Name = "BrickVerse", -- Username
UserId = 1, -- UserId
Character = -- Character
Avatar = -- BrickThumb render
}
Last updated
Was this helpful?