local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local VIM = game:GetService("VirtualInputManager") local Lighting = game:GetService("Lighting") local genv = (getgenv and getgenv()) or _G if genv.Unload then pcall(genv.Unload) end local Config = { Enabled = true, Mode = 2, Window = 18, InstantDelay = 0.07, ESP_AllWorms = false, ESP_Players = false, Fullbright = false, Anim = true, ToggleKey = Enum.KeyCode.F6, HideKey = Enum.KeyCode.F7, } local LP = Players.LocalPlayer local PlayerGui = LP:WaitForChild("PlayerGui") local T = { BG1 = Color3.fromRGB(30, 24, 52), BG2 = Color3.fromRGB(14, 14, 24), Card = Color3.fromRGB(38, 34, 62), Card2 = Color3.fromRGB(58, 52, 92), Acc1 = Color3.fromRGB(150, 105, 255), Acc2 = Color3.fromRGB(70, 170, 255), Txt = Color3.fromRGB(240, 240, 250), Sub = Color3.fromRGB(150, 150, 178), Grn = Color3.fromRGB(70, 220, 130), Red = Color3.fromRGB(255, 90, 100), Yel = Color3.fromRGB(255, 200, 80), Off = Color3.fromRGB(80, 80, 108), W = Color3.new(1, 1, 1), } local PW, HEAD, PAGE_Y, PAD, GAP, HINT_H = 236, 40, 78, 10, 6, 54 local COLL = Vector2.new(48, 48) local Conns, Loops = {}, {} local function connect(sig, fn) local c = sig:Connect(fn) Conns[#Conns + 1] = c return c end local function new(class, props, parent) local o = Instance.new(class) for k, v in pairs(props) do o[k] = v end o.Parent = parent return o end local function corner(o, r) return new("UICorner", {CornerRadius = UDim.new(0, r)}, o) end local function grad(o, c1, c2, rot) return new("UIGradient", {Color = ColorSequence.new(c1, c2), Rotation = rot or 0}, o) end local function lbl(parent, props) local d = {BackgroundTransparency = 1, Font = Enum.Font.GothamMedium, TextSize = 13, TextColor3 = T.Txt, TextXAlignment = Enum.TextXAlignment.Left} for k, v in pairs(props) do d[k] = v end return new("TextLabel", d, parent) end local function tween(o, t, props, style, dir) if not Config.Anim then for k, v in pairs(props) do o[k] = v end return end TweenService:Create(o, TweenInfo.new(t, style or Enum.EasingStyle.Quint, dir or Enum.EasingDirection.Out), props):Play() end local function addLoop(o, t, props, style, rev) local tw = TweenService:Create(o, TweenInfo.new(t, style or Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1, rev or false), props) Loops[#Loops + 1] = tw if Config.Anim then tw:Play() end end local function applyAnim() for _, tw in ipairs(Loops) do if Config.Anim then tw:Play() else tw:Cancel() end end end local function fx(b) local s = new("UIScale", {Scale = 1}, b) local base = b.BackgroundColor3 local function isPress(i) local t = i.UserInputType return t == Enum.UserInputType.Touch or t == Enum.UserInputType.MouseButton1 end connect(b.InputBegan, function(i) if isPress(i) then tween(s, 0.08, {Scale = 0.95}) end end) connect(b.InputEnded, function(i) if isPress(i) then tween(s, 0.25, {Scale = 1}, Enum.EasingStyle.Back) end end) connect(b.MouseEnter, function() tween(b, 0.15, {BackgroundColor3 = base:Lerp(T.W, 0.1)}) end) connect(b.MouseLeave, function() tween(b, 0.15, {BackgroundColor3 = base}) end) end local CurrentDial local function checkDial(x) local p = x.Parent if p and p:IsA("ImageLabel") and p:FindFirstChild("Slider") and p:FindFirstChild("Bar") then CurrentDial = p end end local function activeBar(dial) local best for _, c in ipairs(dial:GetChildren()) do if c.Name == "Bar" and c:IsA("GuiObject") and c.Visible and (not best or c.ZIndex < best.ZIndex) then best = c end end return best end local function pressSkill(dial) local btn = dial:FindFirstChildWhichIsA("ImageButton") if btn and typeof(firesignal) == "function" and pcall(firesignal, btn.MouseButton1Down) then return end VIM:SendKeyEvent(true, Enum.KeyCode.E, false, game) task.wait() VIM:SendKeyEvent(false, Enum.KeyCode.E, false, game) end local function wrap(a) return (a + 180) % 360 - 180 end local State, PressCount, LastPress, LastBar, LastBarTime = "search", 0, 0, nil, 0 local Gui = new("ScreenGui", {Name = "abil", ResetOnSpawn = false, IgnoreGuiInset = true, DisplayOrder = 999, ZIndexBehavior = Enum.ZIndexBehavior.Sibling}, PlayerGui) local cam0 = workspace.CurrentCamera local BaseScale = math.clamp(((cam0 and cam0.ViewportSize.Y or 400) - 24) / 350, 0.7, 1) local Panel = new("Frame", {Size = UDim2.fromOffset(PW, 300), Position = UDim2.fromOffset(12, 80), BackgroundColor3 = T.W, BorderSizePixel = 0, Active = true, ClipsDescendants = true}, Gui) local PanelCorner = corner(Panel, 14) grad(Panel, T.BG1, T.BG2, 90) local Stroke = new("UIStroke", {Color = T.W, Thickness = 1.6, Transparency = 0.1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border}, Panel) local StrokeGrad = new("UIGradient", {Color = ColorSequence.new(T.Acc1, T.Acc2), Rotation = 0}, Stroke) addLoop(StrokeGrad, 4, {Rotation = 360}) addLoop(Stroke, 1.4, {Transparency = 0.5}, Enum.EasingStyle.Sine, true) local PanelScale = new("UIScale", {Scale = BaseScale * 0.6}, Panel) local Content = new("Frame", {Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1}, Panel) local Header = new("Frame", {Size = UDim2.new(1, 0, 0, HEAD), BackgroundTransparency = 1}, Content) local Dot = new("Frame", {Size = UDim2.fromOffset(10, 10), Position = UDim2.fromOffset(14, 15), BackgroundColor3 = T.Off, BorderSizePixel = 0}, Header) corner(Dot, 5) addLoop(Dot, 0.7, {BackgroundTransparency = 0.65}, Enum.EasingStyle.Sine, true) local Title = lbl(Header, {Text = "INCHWORM", Font = Enum.Font.GothamBold, TextSize = 15, TextColor3 = T.W, Position = UDim2.fromOffset(32, 0), Size = UDim2.new(1, -110, 1, 0)}) grad(Title, T.Acc1, T.Acc2, 0) local function headerBtn(text, x, color) local b = new("TextButton", {Text = text, Font = Enum.Font.GothamBold, TextSize = 18, TextColor3 = color or T.Txt, BackgroundColor3 = T.Card, AutoButtonColor = false, Size = UDim2.fromOffset(28, 28), Position = UDim2.new(1, x, 0.5, -14)}, Header) corner(b, 8) fx(b) return b end local CollapseBtn, CloseBtn = headerBtn("–", -68), headerBtn("×", -34, T.Red) local PageHost = new("Frame", {Size = UDim2.new(1, -2 * PAD, 1, -PAGE_Y - PAD), Position = UDim2.fromOffset(PAD, PAGE_Y), BackgroundTransparency = 1}, Content) local Bubble = new("TextButton", {Text = "⚡", Font = Enum.Font.GothamBold, TextSize = 24, TextColor3 = T.W, BackgroundTransparency = 1, AutoButtonColor = false, Size = UDim2.fromScale(1, 1), Visible = false, ZIndex = 5}, Panel) local Collapsed, ExpSize, CurTab, Pages = false, Vector2.new(PW, 300), 1, {} local function clampPos(x, y, size) local cam = workspace.CurrentCamera local vp = cam and cam.ViewportSize or Vector2.new(800, 400) return math.clamp(x, 0, math.max(0, vp.X - size.X)), math.clamp(y, 0, math.max(0, vp.Y - size.Y)) end local function curPx() return (Collapsed and COLL or ExpSize) * BaseScale end local function fit(instant) local pg = Pages[CurTab] ExpSize = Vector2.new(PW, PAGE_Y + pg.h + PAD) if Collapsed then return end if instant then Panel.Size = UDim2.fromOffset(ExpSize.X, ExpSize.Y) else tween(Panel, 0.35, {Size = UDim2.fromOffset(ExpSize.X, ExpSize.Y)}) end end local function draggable(handle, onTap) local dragging, moved, track, startIn, startPos = false, false, nil, nil, nil connect(handle.InputBegan, function(i) local t = i.UserInputType if t ~= Enum.UserInputType.Touch and t ~= Enum.UserInputType.MouseButton1 then return end dragging, moved, track, startIn, startPos = true, false, i, i.Position, Panel.Position local ch ch = i.Changed:Connect(function() if i.UserInputState == Enum.UserInputState.End then ch:Disconnect() dragging = false if not moved and onTap then onTap() end end end) end) connect(UIS.InputChanged, function(i) if not dragging or (i ~= track and i.UserInputType ~= Enum.UserInputType.MouseMovement) then return end local d = i.Position - startIn if d.Magnitude > 6 then moved = true end if moved then local x, y = clampPos(startPos.X.Offset + d.X, startPos.Y.Offset + d.Y, curPx()) Panel.Position = UDim2.fromOffset(x, y) end end) end local function setCollapsed(v) if v == Collapsed then return end Collapsed = v local x, y = clampPos(Panel.Position.X.Offset, Panel.Position.Y.Offset, curPx()) if v then Content.Visible = false Bubble.Visible = true Bubble.TextTransparency = 1 tween(Bubble, 0.3, {TextTransparency = 0}) tween(Panel, 0.35, {Size = UDim2.fromOffset(COLL.X, COLL.Y), Position = UDim2.fromOffset(x, y)}) tween(PanelCorner, 0.35, {CornerRadius = UDim.new(0, 24)}) else tween(Bubble, 0.12, {TextTransparency = 1}) task.delay(0.12, function() if not Collapsed then Bubble.Visible = false Content.Visible = true end end) tween(Panel, 0.4, {Size = UDim2.fromOffset(ExpSize.X, ExpSize.Y), Position = UDim2.fromOffset(x, y)}, Enum.EasingStyle.Back) tween(PanelCorner, 0.35, {CornerRadius = UDim.new(0, 14)}) end end draggable(Header) draggable(Bubble, function() setCollapsed(false) end) connect(CollapseBtn.Activated, function() setCollapsed(true) end) local Toggles = {} local function order(pg) pg.n = pg.n + 1 return pg.n end local function reserve(pg, h) pg.h = pg.h + h + (pg.h > 0 and GAP or 0) return order(pg) end local function newPage() local f = new("Frame", {Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Visible = false}, PageHost) new("UIListLayout", {SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, GAP)}, f) local pg = {f = f, h = 0, n = 0} Pages[#Pages + 1] = pg return pg end local function card(pg, h, isButton) local props = {Size = UDim2.new(1, 0, 0, h), BackgroundColor3 = T.Card, BorderSizePixel = 0, LayoutOrder = reserve(pg, h)} if isButton then props.Text = "" props.AutoButtonColor = false end local c = new(isButton and "TextButton" or "Frame", props, pg.f) corner(c, 9) return c end local function toggle(pg, name, key, onChange) local b = card(pg, 32, true) fx(b) lbl(b, {Text = name, TextSize = 12, Position = UDim2.fromOffset(12, 0), Size = UDim2.new(1, -70, 1, 0)}) local sw = new("Frame", {Size = UDim2.fromOffset(40, 20), Position = UDim2.new(1, -52, 0.5, -10), BackgroundColor3 = T.Off, BorderSizePixel = 0}, b) corner(sw, 10) local on = new("Frame", {Size = UDim2.fromScale(1, 1), BackgroundColor3 = T.W, BackgroundTransparency = 1, BorderSizePixel = 0}, sw) corner(on, 10) grad(on, T.Acc1, T.Acc2, 0) local knob = new("Frame", {Size = UDim2.fromOffset(16, 16), Position = UDim2.fromOffset(2, 2), BackgroundColor3 = T.W, BorderSizePixel = 0}, sw) corner(knob, 8) local function set(v, quiet) Config[key] = v tween(on, 0.25, {BackgroundTransparency = v and 0 or 1}) tween(knob, 0.3, {Position = v and UDim2.fromOffset(22, 2) or UDim2.fromOffset(2, 2)}, Enum.EasingStyle.Back) if onChange and not quiet then onChange(v) end end set(Config[key], true) connect(b.Activated, function() set(not Config[key]) end) Toggles[key] = set end local function stepper(pg, name, key, step, lo, hi, fmt, help) local r = card(pg, 32) lbl(r, {Text = name, TextSize = 12, Position = UDim2.fromOffset(12, 0), Size = UDim2.new(1, -124, 1, 0)}) local val = lbl(r, {Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = T.Acc2, TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.new(1, -86, 0, 0), Size = UDim2.fromOffset(50, 32)}) val.Text = string.format(fmt, Config[key]) local function sbtn(text, x, dir) local o = new("TextButton", {Text = text, Font = Enum.Font.GothamBold, TextSize = 16, TextColor3 = T.Txt, BackgroundColor3 = T.Card2, AutoButtonColor = false, Size = UDim2.fromOffset(26, 24), Position = UDim2.new(1, x, 0.5, -12)}, r) corner(o, 7) fx(o) connect(o.Activated, function() local v = math.clamp(math.floor((Config[key] + dir * step) / step + 0.5) * step, lo, hi) Config[key] = tonumber(string.format("%.3f", v)) val.Text = string.format(fmt, Config[key]) val.TextSize = 17 tween(val, 0.25, {TextSize = 13}, Enum.EasingStyle.Back) end) end sbtn("−", -114, -1) sbtn("+", -34, 1) if help then local q = new("TextButton", {Text = "?", Font = Enum.Font.GothamBold, TextSize = 11, TextColor3 = T.Txt, BackgroundColor3 = T.Card2, AutoButtonColor = false, Size = UDim2.fromOffset(16, 16), Position = UDim2.fromOffset(72, 8)}, r) corner(q, 8) fx(q) connect(q.Activated, help) end end local function segmented(parent, props, labels, selected, onSelect) local d = {BackgroundColor3 = T.Card, BorderSizePixel = 0} for k, v in pairs(props) do d[k] = v end local track = new("Frame", d, parent) corner(track, 9) local n = #labels local pill = new("Frame", {Size = UDim2.new(1 / n, -4, 1, -4), Position = UDim2.new((selected - 1) / n, 2, 0, 2), BackgroundColor3 = T.W, BorderSizePixel = 0}, track) corner(pill, 7) grad(pill, T.Acc1, T.Acc2, 0) local btns = {} local function set(i) tween(pill, 0.3, {Position = UDim2.new((i - 1) / n, 2, 0, 2)}, Enum.EasingStyle.Back) for j, b in ipairs(btns) do tween(b, 0.2, {TextColor3 = j == i and T.Txt or T.Sub}) end if onSelect then onSelect(i) end end for i, l in ipairs(labels) do btns[i] = new("TextButton", {Text = l, Font = Enum.Font.GothamBold, TextSize = 12, TextColor3 = i == selected and T.Txt or T.Sub, BackgroundTransparency = 1, AutoButtonColor = false, Size = UDim2.new(1 / n, 0, 1, 0), Position = UDim2.new((i - 1) / n, 0, 0, 0)}, track) connect(btns[i].Activated, function() set(i) end) end end local FBValues = {Brightness = 2, Ambient = T.W, OutdoorAmbient = T.W, FogStart = 0, FogEnd = 100000, GlobalShadows = false} local FBSaved local function setFullbright(on) if on then if not FBSaved then FBSaved = {} for k in pairs(FBValues) do FBSaved[k] = Lighting[k] end end for k, v in pairs(FBValues) do if Lighting[k] ~= v then Lighting[k] = v end end elseif FBSaved then for k, v in pairs(FBSaved) do Lighting[k] = v end FBSaved = nil end end local ESP_Cache = {} local function refreshESP() local want = {} if Config.ESP_AllWorms then local aw = workspace:FindFirstChild("ActiveWorms") if aw then for _, m in ipairs(aw:GetChildren()) do if m:IsA("Model") then want[m] = Color3.fromRGB(255, 50, 50) end end end end if Config.ESP_Players then for _, p in ipairs(Players:GetPlayers()) do local ch = p.Character if p ~= LP and ch then local hum = ch:FindFirstChildWhichIsA("Humanoid") if hum and hum.Health > 0 and ch:FindFirstChild("HumanoidRootPart") then want[ch] = Color3.fromRGB(50, 150, 255) end end end end for m, h in pairs(ESP_Cache) do if not want[m] or not m.Parent or not h.Parent then h:Destroy() ESP_Cache[m] = nil end end for m, color in pairs(want) do local h = ESP_Cache[m] if not h then h = new("Highlight", {Name = "abil_HL", FillTransparency = 1, DepthMode = Enum.HighlightDepthMode.AlwaysOnTop}, m) ESP_Cache[m] = h end h.OutlineColor = color end end local Main, Esp, Misc = newPage(), newPage(), newPage() local StatusCard = card(Main, 48) local Accent = new("Frame", {Size = UDim2.new(0, 4, 1, -16), Position = UDim2.fromOffset(8, 8), BackgroundColor3 = T.Off, BorderSizePixel = 0}, StatusCard) corner(Accent, 2) local StatusText = lbl(StatusCard, {Text = "Searching…", Font = Enum.Font.GothamBold, TextSize = 14, Position = UDim2.fromOffset(22, 6), Size = UDim2.new(1, -30, 0, 18)}) local StatusSub = lbl(StatusCard, {Text = "Attempts: 0", Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = T.Sub, Position = UDim2.fromOffset(22, 26), Size = UDim2.new(1, -30, 0, 16)}) toggle(Main, "Auto SkillCheck", "Enabled") segmented(Main.f, {Size = UDim2.new(1, 0, 0, 30), LayoutOrder = reserve(Main, 30)}, {"NORMAL", "INSTANT"}, Config.Mode, function(i) Config.Mode = i end) local HintRow, hintOpen local function toggleHint() hintOpen = not hintOpen HintRow.Visible = hintOpen Main.h = Main.h + (hintOpen and 1 or -1) * (HINT_H + GAP) fit() end stepper(Main, "Window ±", "Window", 2, 6, 28, "±%.0f°", toggleHint) HintRow = lbl(Main.f, {Text = "± = in both directions from the zone center. Press when the arrow is closer to the zone (left or right). Less is more accurate, more is more reliable at low FPS. Works in NORMAL mode.", Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = T.Sub, TextWrapped = true, TextYAlignment = Enum.TextYAlignment.Top, Size = UDim2.new(1, 0, 0, HINT_H), Visible = false, LayoutOrder = order(Main)}) stepper(Main, "Instant delay", "InstantDelay", 0.01, 0.05, 0.4, "%.2fs") toggle(Esp, "ESP: All worms", "ESP_AllWorms", refreshESP) toggle(Esp, "ESP: Players", "ESP_Players", refreshESP) lbl(Esp.f, {Text = "Outline ESP. Roblox draws at most 31 outlines at once.", Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = T.Sub, TextWrapped = true, TextYAlignment = Enum.TextYAlignment.Top, Size = UDim2.new(1, 0, 0, 28), LayoutOrder = reserve(Esp, 28)}) toggle(Misc, "Fullbright", "Fullbright", setFullbright) toggle(Misc, "Animations", "Anim", applyAnim) lbl(Misc.f, {Text = Config.ToggleKey.Name .. " — Auto on/off\n" .. Config.HideKey.Name .. " — hide/show menu\nAnimations off = less lag on weak phones.", Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = T.Sub, TextWrapped = true, TextYAlignment = Enum.TextYAlignment.Top, Size = UDim2.new(1, 0, 0, 44), LayoutOrder = reserve(Misc, 44)}) segmented(Content, {Position = UDim2.fromOffset(PAD, HEAD), Size = UDim2.new(1, -2 * PAD, 0, 30)}, {"MAIN", "ESP", "MISC"}, 1, function(i) if i == CurTab then return end local dir = i > CurTab and 1 or -1 CurTab = i for j, pg in ipairs(Pages) do pg.f.Visible = j == i end Pages[i].f.Position = UDim2.fromOffset(24 * dir, 0) tween(Pages[i].f, 0.3, {Position = UDim2.fromOffset(0, 0)}) fit() end) Main.f.Visible = true fit(true) local Toast = new("Frame", {Size = UDim2.fromOffset(200, 32), AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, -50), BackgroundColor3 = T.W, BorderSizePixel = 0, ZIndex = 60}, Gui) corner(Toast, 16) grad(Toast, T.Card2, T.BG1, 0) new("UIStroke", {Color = T.Acc1, Thickness = 1, Transparency = 0.4}, Toast) local ToastText = lbl(Toast, {Font = Enum.Font.GothamBold, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Center, Size = UDim2.fromScale(1, 1)}) local toastId = 0 local function toast(msg) toastId = toastId + 1 local id = toastId ToastText.Text = msg tween(Toast, 0.4, {Position = UDim2.new(0.5, 0, 0, 12)}, Enum.EasingStyle.Back) task.delay(1.8, function() if id == toastId then tween(Toast, 0.3, {Position = UDim2.new(0.5, 0, 0, -50)}) end end) end local Overlay = new("Frame", {Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(0, 0, 0), BackgroundTransparency = 1, Active = true, Visible = false, ZIndex = 100}, Gui) local Dlg = new("Frame", {Size = UDim2.fromOffset(220, 128), AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), BackgroundColor3 = T.W, BorderSizePixel = 0}, Overlay) corner(Dlg, 14) grad(Dlg, T.BG1, T.BG2, 90) new("UIStroke", {Color = T.Acc1, Thickness = 1.5}, Dlg) local DlgScale = new("UIScale", {Scale = 0.7}, Dlg) lbl(Dlg, {Text = "Close script?", Font = Enum.Font.GothamBold, TextSize = 16, TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.fromOffset(0, 14), Size = UDim2.new(1, 0, 0, 22)}) lbl(Dlg, {Text = "Menu, ESP and fullbright will be removed.", Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = T.Sub, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.fromOffset(10, 40), Size = UDim2.new(1, -20, 0, 30)}) local function dlgBtn(text, x, c1, c2) local box = new("Frame", {Size = UDim2.fromOffset(92, 30), Position = UDim2.new(x, x == 0 and 14 or -106, 0, 82), BackgroundColor3 = T.W, BorderSizePixel = 0}, Dlg) corner(box, 9) grad(box, c1, c2, 90) local b = new("TextButton", {Text = text, Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = T.W, BackgroundTransparency = 1, AutoButtonColor = false, Size = UDim2.fromScale(1, 1)}, box) fx(b) return b end local YesBtn = dlgBtn("YES", 0, T.Red, Color3.fromRGB(190, 50, 80)) local NoBtn = dlgBtn("NO", 1, T.Card2, T.Card) local Blur, ConfirmOpen local function showConfirm() if ConfirmOpen then return end ConfirmOpen = true Overlay.Visible = true DlgScale.Scale = 0.7 tween(Overlay, 0.25, {BackgroundTransparency = 0.45}) tween(DlgScale, 0.35, {Scale = 1}, Enum.EasingStyle.Back) if Config.Anim then Blur = Blur or new("BlurEffect", {Size = 0}, Lighting) tween(Blur, 0.3, {Size = 18}) end end local function hideConfirm(after) if not ConfirmOpen then return end ConfirmOpen = false tween(Overlay, 0.2, {BackgroundTransparency = 1}) tween(DlgScale, 0.2, {Scale = 0.7}, Enum.EasingStyle.Quint, Enum.EasingDirection.In) if Blur then tween(Blur, 0.2, {Size = 0}) end task.delay(0.22, function() if ConfirmOpen then return end Overlay.Visible = false if Blur then Blur:Destroy() Blur = nil end if after then after() end end) end local function Unload() for _, c in ipairs(Conns) do c:Disconnect() end table.clear(Conns) for _, tw in ipairs(Loops) do tw:Cancel() end for _, h in pairs(ESP_Cache) do h:Destroy() end table.clear(ESP_Cache) setFullbright(false) if Blur then Blur:Destroy() Blur = nil end Gui:Destroy() genv.Unload = nil end genv.Unload = Unload connect(CloseBtn.Activated, showConfirm) connect(NoBtn.Activated, function() hideConfirm() end) connect(YesBtn.Activated, function() hideConfirm(Unload) end) -- main loop connect(PlayerGui.DescendantAdded, function(x) if x.Name == "Slider" or x.Name == "Bar" then task.defer(checkDial, x) end end) task.spawn(function() for i, x in ipairs(PlayerGui:GetDescendants()) do if x.Name == "Slider" then checkDial(x) end if i % 300 == 0 then task.wait() end end end) connect(RunService.Heartbeat, function() if not Config.Enabled then LastBar = nil State = "off" return end local dial = CurrentDial if not (dial and dial.Parent) then CurrentDial = nil State = "search" return end if not dial.Visible then LastBar = nil State = "wait" return end local slider, bar = dial:FindFirstChild("Slider"), activeBar(dial) if not (slider and bar) then State = "wait" return end local now = os.clock() if Config.Mode == 2 then State = "instant" if now - LastPress >= Config.InstantDelay then LastPress = now slider.Rotation = bar.Rotation PressCount = PressCount + 1 task.spawn(pressSkill, dial) end return end State = "normal" if math.abs(wrap(slider.Rotation - bar.Rotation)) <= Config.Window and (bar ~= LastBar or now - LastBarTime > 0.3) then LastBar, LastBarTime = bar, now PressCount = PressCount + 1 task.spawn(pressSkill, dial) end end) local StateInfo = { off = {"OFF", T.Off}, search = {"Searching…", T.Yel}, wait = {"Waiting for skillcheck", T.Acc1}, normal = {"NORMAL · active", T.Grn}, instant = {"INSTANT · active", T.Grn}, } local uiAcc, espAcc, lastState, lastCount, lastGrab = 0, 0, nil, -1, nil connect(RunService.Heartbeat, function(dt) uiAcc, espAcc = uiAcc + dt, espAcc + dt if uiAcc >= 0.1 then uiAcc = 0 local ch = LP.Character local grabbed = ch ~= nil and ch:GetAttribute("Grabbed") == true if State ~= lastState then lastState = State local s = StateInfo[State] StatusText.Text = s[1] tween(Accent, 0.25, {BackgroundColor3 = s[2]}) tween(Dot, 0.25, {BackgroundColor3 = s[2]}) end if PressCount ~= lastCount or grabbed ~= lastGrab then local bumped = PressCount ~= lastCount and lastCount >= 0 lastCount, lastGrab = PressCount, grabbed StatusSub.Text = "Attempts: " .. PressCount .. (grabbed and " · GRABBED" or "") local rest = grabbed and T.Red or T.Sub if bumped then StatusSub.TextColor3 = T.Grn tween(StatusSub, 0.5, {TextColor3 = rest}) else StatusSub.TextColor3 = rest end end end if espAcc >= 0.5 then espAcc = 0 refreshESP() if Config.Fullbright then setFullbright(true) end end end) connect(UIS.InputBegan, function(i, gp) if gp then return end if i.KeyCode == Config.ToggleKey then Toggles.Enabled(not Config.Enabled) toast("Auto SkillCheck: " .. (Config.Enabled and "ON" or "OFF")) elseif i.KeyCode == Config.HideKey then Gui.Enabled = not Gui.Enabled end end) tween(PanelScale, 0.55, {Scale = BaseScale}, Enum.EasingStyle.Back) tween(Panel, 0.5, {Position = UDim2.fromOffset(12, 60)}) print("script by abil. open-source · END OK")