Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local qT = workspace.Map.Functional.Screen.SurfaceGui.MainFrame.MainGameContainer.MainTxtContainer.QuestionText
- qT:GetPropertyChangedSignal("Text"):Connect(function()
- local e = qT.Text:gsub("=", "")
- e = e:gsub("x", "*")
- local s, r = pcall(function() return loadstring("return " .. e)() end)
- task.wait()
- if s and type(r) == "number" then
- qT.TextSize = 150
- qT.TextColor3 = Color3.fromRGB(0, 255, 0)
- qT.Text = e:gsub("%*", "x") .. "\n<b>" .. r .. "</b>"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement