
Keyless
local path = workspace:WaitForChild("Map"):WaitForChild("Functional"):WaitForChild("Screen")
local gui = path:WaitForChild("SurfaceGui"):WaitForChild("MainFrame")
local container = gui:WaitForChild("MainGameContainer"):WaitForChild("MainTxtContainer")
local questionText = container:WaitForChild("QuestionText")
local replicatedStorage = game:GetService("ReplicatedStorage")
local gameEvent = replicatedStorage:WaitForChild("Events"):WaitForChild("GameEvent")
local function solveExpression(expression)
local a, operator, b = string.match(expression, "(%d+)%s*([%+%-x/])%s*(%d+)")
a = tonumber(a)
b = tonumber(b)
local result
if operator == "+" then
result = a + b
elseif operator == "-" then
result = a - b
elseif operator == "x" then
result = a * b
elseif operator == "/" then
result = a / b
else
return
end
local answerStr = tostring(result)
local args1 = { "updateAnswer", answerStr }
gameEvent:FireServer(unpack(args1))
task.delay(0.1, function()
local args2 = { "submitAnswer", answerStr }
gameEvent:FireServer(unpack(args2))
end)
end
solveExpression(questionText.Text)
questionText:GetPropertyChangedSignal("Text"):Connect(function()
solveExpression(questionText.Text)
end)
Very fast but i like it
W
Great. The lower the ping, the faster the speed