setTimer(function()
x1 = math.random(1,1000)
x2 = math.random(1,1000)
outputChatBox("#1860F1[Math]#ffffff " .. x1 .. " + " .. x2 .. " = ", root, 255, 255, 255, true)
end, 30000, 0)
function mathSystem(text, source)
outputChatBox(text, source, 255, 255, 255, true)
if text == x1 + x2 then
givePlayerMoney(source, 2000)
end
end
addEventHandler("onPlayerChat", root, mathSystem)