local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local SG = game:GetService("StarterGui") local lp = Players.LocalPlayer local debris = workspace:WaitForChild("Debris", 30) local function n(msg) pcall(function() SG:SetCore("SendNotification", { Title = "Forge", Text = msg, Duration = 2 }) end) end local function f() local s, k = pcall(function() return require(RS.Shared.Packages.Knit) end) if s then local s2, ui = pcall(function() return k.GetController("UIController") end) if s2 and ui.PlayerGui then return ui.PlayerGui:FindFirstChild("Forge") end end return lp.PlayerGui:FindFirstChild("Forge") end local function c() local ctrl = RS:FindFirstChild("Controllers") if ctrl then return ctrl:FindFirstChild("ForgeController") end end local function h(name) local fg = f() if fg then local ui = fg:FindFirstChild(name) if ui then pcall(function() ui.Visible = false end) end end end local function m() local fc = c() if not fc then return end for _, mod in ipairs(fc:GetChildren()) do if mod:IsA("ModuleScript") and not mod:GetAttribute("H") then local s, t = pcall(require, mod) if s and type(t) == "table" and type(t.Start) == "function" then local o = t.Start t.Start = function(self, ...) if mod.Name == "MeltMinigame" or mod.Name == "PourMinigame" then h(mod.Name) return 0 end return o(self, ...) end mod:SetAttribute("H", true) end end end end local function hm() local fc = c() if not fc then return end local hmod = fc:FindFirstChild("HammerMinigame") if not hmod or hmod:GetAttribute("H") then return end local s, t = pcall(require, hmod) if s and type(t) == "table" and type(t.CreateNote) == "function" then local o = t.CreateNote t.CreateNote = function(...) local a = {...} if a[2] and type(a[2]) == "table" and a[2].Lifetime then a[2].Lifetime = 0 end return o(table.unpack(a)) end hmod:SetAttribute("H", true) end end local function a() task.spawn(function() while true do task.wait(0.35) local fg = lp.PlayerGui:FindFirstChild("Forge") local hg = fg and fg:FindFirstChild("HammerMinigame") if hg and hg.Visible then local mold = debris:FindFirstChild("Mold") local click = mold and mold:FindFirstChildOfClass("ClickDetector") if click and typeof(fireclickdetector) == "function" then for _ = 1, 3 do pcall(function() fireclickdetector(click) end) task.wait(0.08) end end local rf = RS.Shared.Packages.Knit.Services.ForgeService.RF.ChangeSequence local now = workspace:GetServerTimeNow() pcall(function() rf:InvokeServer("Pour", { ClientTime = now, InContact = true }) end) task.wait(0.15) pcall(function() rf:InvokeServer("Hammer", { ClientTime = now + 4.02 }) end) end end end) end task.spawn(function() while true do m() hm() task.wait(1.5) end end) a() n("Loaded")