-- Create the player join event handler

Players.PlayerAdded:Connect(function(player)
	-- Add the player to the game state
	gameState.players[player.Name] = player

	-- Load the first level
	loadLevel(1)
end)
