local question = script.Parent.Question
local answerbox = script.Parent.AnswerBox
local submit = script.Parent.Submit
local number1 = math.random(1,12)
local number2 = math.random(1,12)
local answer = number1 * number2
local answerstring = tostring(answer)
question.Text = "What is "..number1.." X "..number2.." = "
submit.MouseButton1Click:connect(function()
if answerbox == answerstring then
question.Text = "Well done!"
wait(3)
question.Text = "Submit"
local number1 = math.random(1,12)
local number2 = math.random(1,12)
local answer = number1 * number2
local answerstring = tostring(answer)
question.Text = "What is "..number1.." X "..number2.." = "
end
end)
end)
I am making a maths game and I need someone to help me with the inputs

2 comments
Can you please be more in depth? What happens when you click submit? Does it error? Does nothing happen?
Nothing happens