local Players = game:GetService("Players") local player = Players.LocalPlayer local NotificationHolder = loadstring(game:HttpGet("https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Module.Lua"))() local Notification = loadstring(game:HttpGet("https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Client.Lua"))() local htable = { [1] = "rbxassetid://138677869011995", [2] = "rbxassetid://99665045166186", [3] = "rbxassetid://98683329608967", [4] = "rbxassetid://104694607248371", [5] = "rbxassetid://104694607248371", [6] = "rbxassetid://135991736200217", [7] = "rbxassetid://113755551649211", [8] = "rbxassetid://112554567904764", [9] = "rbxassetid://125416093978013", [10] = "rbxassetid://127105313470745", [11] = "rbxassetid://80675054053954", [12] = "rbxassetid://125887651890654" } local mtable = { [1] = "rbxassetid://129199740637798", [2] = "rbxassetid://138795220647217", [3] = "rbxassetid://122297843372758", [4] = "rbxassetid://84468735573099", [5] = "rbxassetid://139585842395420", [6] = "rbxassetid://114420297720959", [7] = "rbxassetid://126597147911095", [8] = "rbxassetid://139541364348217", [9] = "rbxassetid://85743552777717", [10] = "rbxassetid://70504232472778", [11] = "rbxassetid://95962531510845", [12] = "rbxassetid://113664476715192" } local plusIds = { ["rbxassetid://127540334729513"] = true, ["rbxassetid://91973761029532"] = true, ["rbxassetid://100724754817921"] = true } local minusIds = { ["rbxassetid://127194325764093"] = true, ["rbxassetid://117806004777636"] = true, ["rbxassetid://121507037891036"] = true } local equalIds = { ["rbxassetid://121012042033649"] = true, ["rbxassetid://112831415092272"] = true, ["rbxassetid://105131259038903"] = true } local function getTimeFromImage(image, tableMap) if not image then return nil end for i = 1, 12 do local id = tableMap[i] if id and image:find(id) then return i end end return nil end local function runQuiz() local gui = player:WaitForChild("PlayerGui"):WaitForChild("ClockQuiz") local frame = gui:FindFirstChild("Frame") local question = frame and (frame:FindFirstChild("Question") or frame:FindFirstChild("QuestionTroll")) local choices = frame and frame:FindFirstChild("Choices") if not (question and choices) then return end local totalMinute = nil local totalHour = nil local currentOp = "+" for _, obj in ipairs(question:GetChildren()) do if obj:IsA("ImageLabel") and obj.Name == "Symbol" then if plusIds[obj.Image] then currentOp = "+" elseif minusIds[obj.Image] then currentOp = "-" elseif equalIds[obj.Image] then break end elseif obj:IsA("Frame") and obj.Name == "Clock" then local min = obj:FindFirstChild("Minute") local hr = obj:FindFirstChild("Hour") local minVal = min and getTimeFromImage(min.Image, mtable) local hrVal = hr and getTimeFromImage(hr.Image, htable) if minVal and hrVal then if not totalMinute then totalMinute = minVal totalHour = hrVal else if currentOp == "+" then totalMinute += minVal totalHour += hrVal elseif currentOp == "-" then totalMinute -= minVal totalHour -= hrVal end end end end end while totalMinute > 12 do totalMinute -= 12 totalHour += 1 end while totalMinute < 1 do totalMinute += 12 totalHour -= 1 end while totalHour > 12 do totalHour -= 12 end while totalHour < 1 do totalHour += 12 end local exactMatch = nil local minuteFallback = nil for _, ans in ipairs(choices:GetChildren()) do if ans:IsA("ImageButton") then local min = ans:FindFirstChild("Minute") local hr = ans:FindFirstChild("Hour") local minVal = min and getTimeFromImage(min.Image, mtable) local hrVal = hr and getTimeFromImage(hr.Image, htable) if minVal == totalMinute and not minuteFallback then minuteFallback = ans end if hrVal == totalHour and minVal == totalMinute then exactMatch = ans break end end end local selected = exactMatch or minuteFallback if selected then Notification:Notify( { Title = exactMatch and "Exact Match" or "Fallback", Description = "Answer: " .. selected.Name }, { OutlineColor = Color3.fromRGB(80, 80, 80), Time = 5, Type = "default" } ) end end local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Turtle-Brand/Turtle-Lib/main/source.lua"))() local window = library:Window("Chronos Clock Solver") window:Button("Notify Correct Answer", function() runQuiz() end) window:Button("Destroy GUI", function() window:Destroy() end)