pickups show different text

So i am trying to make it so when the player picks up a certain object a certain text appears. I already have one down but i want to make it so there is “good” and “bad” pickups. So when you pickup the “good” pickups you win, and when you pickup the “bad” pickups you lose. Also is there another way to get my text to show other than having a count text? Here’s the script

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class PlayerController : MonoBehaviour
{

    public float speed;
    public Text countText;
    public Text winText;

    private Rigidbody rb;
    private int count;

    void Start()
    {
        rb = GetComponent<Rigidbody>();
        count = 0;
        SetCountText();
        winText.text = "";
    }

    void FixedUpdate()
    {
        float moveHorizontal = Input.GetAxis("Horizontal");
        float moveVertical = Input.GetAxis("Vertical");

        Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);

        rb.AddForce(movement * speed);
    }

    void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.CompareTag("Pick Up"))
        {
            other.gameObject.SetActive(false);
            count = count + 1;
            SetCountText();
        }
    }

    void SetCountText()
    {
        countText.text = "Count: " + count.ToString();
        if (count >= 1)
        {
            winText.text = "You Lose";
        }
    }
}

Put a script on the objects that you can pick up that contains information about the picked up object. For example you could put string data on the object that determines what text should show when the player picks it up. Then this script can read that data from that script when it picks something up.