This Vid was a Suggestion/Request from •Tagwalos• , So thanks to her for suggesting that. This Quiz Gui have been tried multiple times and has been proven that it works without any circumstances. if it didn't work for you then open the output tap in Roblox Studio then try it again and see what's the error message and send error message to us so we could see it and help you .You can send it to our disc or twitter and the rest of this vid is a part 2 which you can watch.Hope you Enjoyed.
The MainScript :
local Quiz = "Why Was this quiz made?" -- Change this to your Question.
local Choice1 = script.Parent.Choice1
local Choice2 = script.Parent.Choice2
local Choice3 = script.Parent.Choice3
local CorrectChoice = Choice2 -- Change this to your Correct Choice
local Quiz2 = script.Parent.Parent.Quiz2
local MainQuestion = script.Parent.Question
Choice1.MouseButton1Down:Connect(function()
if Choice1 == CorrectChoice then
MainQuestion.Text = "Correct Answer!"
wait(1)
Quiz2.Visible = true
script.Parent.Visible = false
MainQuestion.Text = Quiz
else
MainQuestion.Text = "Wrong Answer!"
wait(1)
script.Parent.Visible = false
MainQuestion.Text = Quiz
end
end)
Choice2.MouseButton1Down:Connect(function()
if Choice2 == CorrectChoice then
MainQuestion.Text = "Correct Answer!"
wait(1)
Quiz2.Visible = true
script.Parent.Visible = false
MainQuestion.Text = Quiz
else
MainQuestion.Text = "Wrong Answer!"
wait(1)
script.Parent.Visible = false
MainQuestion.Text = Quiz
end
end)
Choice3.MouseButton1Down:Connect(function()
if Choice3 == CorrectChoice then
MainQuestion.Text = "Correct Answer!"
wait(1)
Quiz2.Visible = true
script.Parent.Visible = false
MainQuestion.Text = Quiz
else
MainQuestion.Text = "Wrong Answer!"
wait(1)
script.Parent.Visible = false
MainQuestion.Text = Quiz
end
end)