Still have questions? Join our Discord server and get real time help.
0

# Need A Loop Script .. Any ideas?

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

Hello,

I am looking for a script that I can copy and paste over and over again to create a question bank

So I want a script like that says pick 1 to 100 (There Will Be 100 questions and each one will be numbered) And it says that question in a Message. Then I want it to Make a certain part so that you can fall through it. (TRUE OR FALSE GAME)

So it wud be like this is english

Pick a number 1 to 100

Find question associated with that number

m = "Question here"

Game.workspace.parthere.cancollide = false

Then it would pick another number and be on a loop

0
Elaborate please and I may be able to help. Kozero 120 — 6y

0
1waffle1 2873
6 years ago
questions={
{
"What color is blue?", -- question
},
{
"What is (e^(2ix)-1)/(2ie^(ix))?",
"sin(x)"
}
}

local Q,A=unpack(questions[math.random(1,#questions)])


Format questions and answers like that to keep the numerical indices. Q is the question, A is the answer. A question can have only one answer.