How to make random keys appear that you have to press?

Hello, I am creating a clashing system and I am going to use a system where random keys will appear on your screen, but I was wondering how you would get it to choose random keys? I am looking for a point in the right direction, not a whole script.

You should look at the KeyCode Enums. All of the keys have an assigned number, so you could choose a range that you’re comfortable with. After that, just index a random EnumItem using that integer and you’ll get a valid KeyCode. You can either fetch its name or watch to see if a player presses it.