I need to create a ‘generate question’ gui for my client’s interview center. It needs to be a random question generator for the Employee to read and type out. Please help!
Hello! It’s against the rules of this category to ask for entire scripts. I suggest looking it up here or on google. We are here to help you with you scripting problems, not to spoon-feed you scripts. You can learn basic scripting from tutorials on google. Please at least do research before you post. Thank you!
2 Likes
You aren’t the most specific, but choosing a random question would look something like this:
local questions = {
"Whats your name?",
"How long have you been here?",
"Are you there?"
}
print(questions[math.random(1, #questions)]) -- prints a random string in the table
Sorry about that. I did not know…