local keyDictionary = { ["Q"] = false , ["E"] = false , ["R"] = false , ["F"] = false , ["D"] = false , ["S"] = false , ["H"] = false , ["N"] = false , ["Y"] = false , ["U"] = false , ["L"] = false }
I tried using print(math.random(keyDictionary))
, but it just gave me another error i don't even know about. If anyone can help, please do because I've been stuck on this for quite a long while :)
What i'm trying to do :
I have a script that when you press the T key, you enter a Training Mode, and so i want it to pick a random key from the keyDictionary and print it, or put the selected random Key into a variable called pressThis