--BROUGHT TO YOU BY RobloxScripter.com!--
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local hintAnswer = ReplicatedStorage.HintAnswer
local submitAnswer = ReplicatedStorage.SubmittedAnswer
local function answerQuestion()
local correctAnswer = hintAnswer.Value
local answerLength = #correctAnswer
task.wait(math.random(20, 30) / 10 + answerLength / 5) -- 2 - 3s of "thinking", typing speed at 5 cps (average)
submitAnswer:FireServer(correctAnswer, answerLength)
end
answerQuestion()
hintAnswer:GetPropertyChangedSignal("Value"):Connect(answerQuestion)