-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --[[ Made by Stizzyyy · https://rscripts.net/@Stizzyyy My scripts are ALWAYS free and keyless. If you find my features or code behind a key system, it's a stolen re-upload, not mine. ]] --[[ Steal Or Die Hub · PC + mobile RightShift = show/hide menu Entity ESP + "is it after me" meter, AI route line, danger alerts, hiding advisor, loot ESP (value, rarity, $/kg), best-loot + exit guide paths, auto pickup, auto breath / vent struggle / door hold / bash, auto flashbang, survivor ESP for entity rounds, round panel, moderator alert, auto upgrades, anti-AFK, 3D off, server tools. ]] if game.GameId ~= 10765841403 then return end -- Steal Or Die only if not game:IsLoaded() then game.Loaded:Wait() end local G = getgenv() if G.HSOD and G.HSOD.Unload then pcall(G.HSOD.Unload) end local H = {conns = {}, insts = {}, alive = true} G.HSOD = H function H.Unload() H.alive = false for _, c in ipairs(H.conns) do pcall(c.Disconnect, c) end for _, i in ipairs(H.insts) do pcall(i.Destroy, i) end end -- replaced once fully loaded local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local TS = game:GetService("TweenService") local Http = game:GetService("HttpService") local RS = game:GetService("ReplicatedStorage") local RunS = game:GetService("RunService") local Lighting = game:GetService("Lighting") while not Players.LocalPlayer do task.wait() end local LP = Players.LocalPlayer local okHui, HUI = pcall(function() return gethui and gethui() end) if not (okHui and HUI) then HUI = game:GetService("CoreGui") end local function conn(sig, f) local c = sig:Connect(function(...) pcall(f, ...) end) H.conns[#H.conns + 1] = c return c end local function inst(cls, p, parent) local i = Instance.new(cls) for k, v in pairs(p or {}) do i[k] = v end if parent then i.Parent = parent end return i end local function loop(dt, f) task.spawn(function() while H.alive do pcall(f) task.wait(dt) end end) end ----------------------------------------------------------------- settings (auto-saved) local S = { -- entity EntESP = true, EntRoute = true, DangerAlert = true, DangerDist = 60, HideAdvisor = true, -- loot LootESP = true, MinRarity = "Common", RareAlert = true, Guide = "Auto", AutoPickup = false, PickRarity = "Common", -- minigames + gadgets AutoBreath = false, AutoVent = false, AutoDoor = false, AutoFlash = false, FlashDist = 16, -- escape ExitESP = true, ExtractAlert = true, -- entity rounds (you are the entity) SurvESP = true, AutoBash = false, TeamESP = true, -- info Panel = true, ModAlert = true, AutoUpgrade = false, UpgradePick = "Cheapest", Fullbright = false, -- extras AntiAFK = true, Notify = true, ReloadTP = true, No3D = false, } local CFG = "StealOrDieHub.json" pcall(function() local t = Http:JSONDecode(readfile(CFG)) for k, v in pairs(t) do if S[k] ~= nil and type(v) == type(S[k]) then S[k] = v end end end) H.S = S local function save() pcall(function() writefile(CFG, Http:JSONEncode(S)) end) end ----------------------------------------------------------------- UI library (glass) · themes are shared by every Stizzyyy hub -- dark glassmorphism window + soft glass cards + liquid glass pills -- C keeps the same keys the hubs already use (clay = primary accent); C.accent2 = secondary accent local C = {} local PRESETS = { {name = "Claude Glass", bg = "141311", side = "1E1C1A", card = "2A2724", stroke = "4A453F", text = "F2EEE6", muted = "9A948A", primary = "D97757", secondary = "F2B880"}, {name = "ChatGPT / Codex", bg = "0D0D0D", side = "171717", card = "212121", stroke = "3A3A3A", text = "ECECEC", muted = "8E8EA0", primary = "10A37F", secondary = "74AA9C"}, {name = "Solara", bg = "0E0B16", side = "161224", card = "201A33", stroke = "3B3157", text = "F1EEFA", muted = "A39BBF", primary = "9D5CFF", secondary = "5B8CFF"}, {name = "Discord", bg = "1E1F22", side = "2B2D31", card = "313338", stroke = "45474E", text = "F2F3F5", muted = "B5BAC1", primary = "5865F2", secondary = "EB459E"}, {name = "Netflix", bg = "0B0B0B", side = "141414", card = "1F1F1F", stroke = "363636", text = "FFFFFF", muted = "B3B3B3", primary = "E50914", secondary = "B81D24"}, {name = "Grok", bg = "000000", side = "0A0A0A", card = "151515", stroke = "2F2F2F", text = "FFFFFF", muted = "8B8B8B", primary = "E7E9EA", secondary = "6E6E6E"}, } local THEME_FILE = "StizzyyyUI.json" local TH = {preset = "Claude Glass", glass = 20} pcall(function() local t = Http:JSONDecode(readfile(THEME_FILE)) for k, v in pairs(t) do TH[k] = v end end) TH.glass = math.clamp(tonumber(TH.glass) or 20, 20, 45) -- below 20% the glass loses its depth local function presetOf(n) for _, p in ipairs(PRESETS) do if p.name == n then return p end end return PRESETS[1] end local function hex(h) local ok, c = pcall(Color3.fromHex, tostring(h or "")) return ok and c or nil end local function loadTheme() local p = presetOf(TH.preset) for _, k in ipairs({"bg", "side", "card", "stroke", "text", "muted"}) do C[k] = hex(p[k]) end C.clay = hex(TH.primary) or hex(p.primary) C.accent2 = hex(TH.secondary) or hex(p.secondary) C.primary, C.secondary = C.clay, C.accent2 end loadTheme() local WHITE = Color3.new(1, 1, 1) local function face(w) return Font.new("rbxasset://fonts/families/Montserrat.json", w or Enum.FontWeight.Regular) end local MED, SEMI, BOLD = Enum.FontWeight.Medium, Enum.FontWeight.SemiBold, Enum.FontWeight.Bold -- every themed property is registered, so switching theme recolours the whole menu live local themed, painters = {}, {} local function th(i, prop, role) themed[#themed + 1] = {i, prop, role} i[prop] = C[role] return i end local function painter(f) painters[#painters + 1] = f f() return f end local grads = {} local function accentGrad(parent, rot) local g = inst("UIGradient", {Rotation = rot or 0, Color = ColorSequence.new(C.clay, C.accent2)}, parent) grads[#grads + 1] = g return g end local glassParts = {} -- {instance, extra transparency} local function glassy(i, extra) glassParts[#glassParts + 1] = {i, extra or 0} i.BackgroundTransparency = math.clamp(TH.glass / 100 + (extra or 0), 0, 0.95) return i end local Gui = inst("ScreenGui", {Name = "HSODUI" .. math.random(1e5, 1e6), ResetOnSpawn = false, ZIndexBehavior = Enum.ZIndexBehavior.Sibling, DisplayOrder = 50}, HUI) H.insts[#H.insts + 1] = Gui local function corner(p, r) inst("UICorner", {CornerRadius = r == "pill" and UDim.new(1, 0) or UDim.new(0, r or 8)}, p) end local function stroke(p, c) local s = inst("UIStroke", {Color = c or C.stroke, Thickness = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, Transparency = 0.25}, p) if not c then themed[#themed + 1] = {s, "Color", "stroke"} end return s end -- dark glass edge: one thin, even, light outline local function rim(p, t) return inst("UIStroke", {Color = WHITE, Thickness = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, Transparency = t or 0.8}, p) end -- liquid glass: clear pill, light gathering at both rounded ends, and a crisp highlight line along the inside top edge local function liquid(p, strong) p.BackgroundColor3 = WHITE glassy(p, strong and 0.74 or 0.82) local s = inst("UIStroke", {Color = WHITE, Thickness = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, Transparency = 0}, p) inst("UIGradient", {Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3), NumberSequenceKeypoint.new(0.2, 0.72), NumberSequenceKeypoint.new(0.5, 0.86), NumberSequenceKeypoint.new(0.8, 0.72), NumberSequenceKeypoint.new(1, 0.3)})}, s) -- a soft vertical sheen: the top of the glass catches more light than the bottom local sheen = inst("UIGradient", {Rotation = 90, Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0.45)})}, p) local shine = inst("Frame", {BackgroundColor3 = WHITE, BorderSizePixel = 0, AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 1), Size = UDim2.new(1, -18, 0, 1), BackgroundTransparency = 0.45, ZIndex = p.ZIndex}, p) inst("UIGradient", {Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.3, 0.3), NumberSequenceKeypoint.new(0.7, 0.3), NumberSequenceKeypoint.new(1, 1)})}, shine) return s, shine, sheen end -- motion helpers local function tween(i, t, props, style, dir) local tw = TS:Create(i, TweenInfo.new(t, style or Enum.EasingStyle.Quint, dir or Enum.EasingDirection.Out), props) tw:Play() return tw end local function pressable(b) local sc = inst("UIScale", {}, b) b.MouseButton1Down:Connect(function() tween(sc, 0.08, {Scale = 0.96}) end) b.MouseButton1Up:Connect(function() tween(sc, 0.25, {Scale = 1}, Enum.EasingStyle.Back) end) b.MouseLeave:Connect(function() tween(sc, 0.2, {Scale = 1}) end) end -- thin line that fades out at both ends (the dividers in the dark glass panel) local function divider(parent, pos, size, vertical) local d = inst("Frame", {BackgroundColor3 = WHITE, BorderSizePixel = 0, Position = pos, Size = size, BackgroundTransparency = 0.55}, parent) inst("UIGradient", {Rotation = vertical and 90 or 0, Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0.35), NumberSequenceKeypoint.new(1, 1)})}, d) return d end local function dragify(handle, frame) local drag, start, pos handle.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then drag, start, pos = true, i.Position, frame.Position end end) conn(UIS.InputChanged, function(i) if drag and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then local d = i.Position - start frame.Position = UDim2.new(pos.X.Scale, pos.X.Offset + d.X, pos.Y.Scale, pos.Y.Offset + d.Y) end end) conn(UIS.InputEnded, function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then drag = false end end) end ----------------------------------------------------------------- window (dark glassmorphism) local Win = inst("Frame", {Size = UDim2.fromOffset(620, 430), AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), BorderSizePixel = 0, Active = true, BackgroundColor3 = WHITE}, Gui) glassy(Win) corner(Win, 12) rim(Win, 0.72) -- smoked glass: a lighter grey at the top fading to near black at the bottom local winGrad = inst("UIGradient", {Rotation = 90}, Win) painter(function() winGrad.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, C.bg:Lerp(WHITE, 0.2)), ColorSequenceKeypoint.new(0.45, C.bg:Lerp(WHITE, 0.07)), ColorSequenceKeypoint.new(1, C.bg)}) end) -- soft drop shadow so the panel floats (a sibling behind the window that follows it) local Shadow = inst("ImageLabel", {Image = "rbxassetid://6015897843", ImageColor3 = Color3.new(0, 0, 0), ImageTransparency = 0.78, BackgroundTransparency = 1, ScaleType = Enum.ScaleType.Slice, SliceCenter = Rect.new(49, 49, 450, 450), ZIndex = 0}, Gui) do local function syncShadow() Shadow.Visible = Win.Visible Shadow.Position = UDim2.fromOffset(Win.AbsolutePosition.X - 22, Win.AbsolutePosition.Y - 14) Shadow.Size = UDim2.fromOffset(Win.AbsoluteSize.X + 44, Win.AbsoluteSize.Y + 44) end for _, p in ipairs({"AbsolutePosition", "AbsoluteSize", "Visible"}) do conn(Win:GetPropertyChangedSignal(p), syncShadow) end task.defer(syncShadow) end local Top = inst("Frame", {Size = UDim2.new(1, 0, 0, 70), BackgroundTransparency = 1}, Win) th(inst("TextLabel", {Text = "Steal Or Die Hub", FontFace = face(BOLD), TextSize = 19, BackgroundTransparency = 1, Position = UDim2.fromOffset(20, 30), Size = UDim2.new(0, 360, 0, 26), TextXAlignment = Enum.TextXAlignment.Left}, Top), "TextColor3", "text") th(inst("TextLabel", {Text = UIS.KeyboardEnabled and "RightShift to hide · F6 pauses" or "", FontFace = face(MED), TextSize = 11, BackgroundTransparency = 1, AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -20, 0, 30), Size = UDim2.new(0, 240, 0, 26), TextXAlignment = Enum.TextXAlignment.Right}, Top), "TextColor3", "muted") -- window state: body parts (hidden while minimised), sizes, mode, scale target local WS = {parts = {}, sizes = {normal = Vector2.new(620, 430), big = Vector2.new(780, 540)}, mode = "normal", min = false, fit = 1, anim = false} WS.parts[1] = divider(Win, UDim2.fromOffset(20, 66), UDim2.new(1, -40, 0, 1)) -- shrink to fit small windows local fit = inst("UIScale", {}, Win) local function refit() local v = workspace.CurrentCamera.ViewportSize local sz = WS.sizes[WS.mode] WS.fit = math.clamp(math.min((v.Y - 80) / sz.Y, (v.X - 20) / sz.X), 0.45, 1) if not WS.anim then fit.Scale = WS.fit end end refit() conn(workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"), refit) dragify(Top, Win) -- window buttons, like a Mac window: red hides the menu, yellow folds it down to the title bar, green makes it bigger do -- short legend for the three buttons, on the same row as them th(inst("TextLabel", {RichText = true, FontFace = face(MED), TextSize = 11, BackgroundTransparency = 1, AnchorPoint = Vector2.new(1, 0), Text = '● hide ● fold ● bigger', Position = UDim2.new(1, -20, 0, 8), Size = UDim2.new(0, 240, 0, 22), TextXAlignment = Enum.TextXAlignment.Right}, Top), "TextColor3", "muted") local dots, marks = {}, {} for i, col in ipairs({Color3.fromRGB(255, 95, 87), Color3.fromRGB(254, 188, 46), Color3.fromRGB(40, 200, 64)}) do local d = inst("TextButton", {Text = "", AutoButtonColor = false, BackgroundColor3 = col, BorderSizePixel = 0, Position = UDim2.fromOffset(16 + (i - 1) * 18, 14), Size = UDim2.fromOffset(12, 12)}, Top) corner(d, "pill") marks[i] = inst("TextLabel", {Text = ({"×", "–", "+"})[i], FontFace = face(BOLD), TextSize = 11, TextColor3 = Color3.new(0, 0, 0), TextTransparency = 1, BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1), Position = UDim2.fromOffset(0, -1)}, d) pressable(d) dots[i] = d end -- the symbols show while the mouse is over the buttons local over = 0 local function showMarks(on) for _, m in ipairs(marks) do tween(m, 0.15, {TextTransparency = on and 0.45 or 1}) end end for _, d in ipairs(dots) do d.MouseEnter:Connect(function() over += 1 showMarks(true) end) d.MouseLeave:Connect(function() over = math.max(0, over - 1) task.delay(0.05, function() if over == 0 then showMarks(false) end end) end) end local function setParts(on) for _, o in ipairs(WS.parts) do o.Visible = on end end -- resize around the top edge, so the title bar stays where it is local function resizeTo(size, keepTop) local old = Win.AbsoluteSize / math.max(fit.Scale, 0.01) local shift = keepTop and (size.Y - old.Y) / 2 * fit.Scale or 0 tween(Win, 0.35, {Size = UDim2.fromOffset(size.X, size.Y), Position = Win.Position + UDim2.fromOffset(0, shift)}) end dots[1].Activated:Connect(function() Win.Visible = false end) dots[2].Activated:Connect(function() WS.min = not WS.min local full = WS.sizes[WS.mode] if WS.min then setParts(false) resizeTo(Vector2.new(full.X, 64), true) else resizeTo(full, true) task.delay(0.22, function() if not WS.min then setParts(true) end end) end end) dots[3].Activated:Connect(function() WS.mode = WS.mode == "normal" and "big" or "normal" refit() if WS.min then WS.min = false task.delay(0.22, function() if not WS.min then setParts(true) end end) end resizeTo(WS.sizes[WS.mode], false) tween(fit, 0.35, {Scale = WS.fit}) end) end -- open / close motion: the panel eases in from slightly smaller and lower, and eases out the same way -- (hubs just set Win.Visible, so this watches that property) do local function openAnim() local pos = Win.Position WS.anim = true fit.Scale = WS.fit * 0.92 Win.Position = pos + UDim2.fromOffset(0, 14) tween(fit, 0.32, {Scale = WS.fit}, Enum.EasingStyle.Back) tween(Win, 0.32, {Position = pos}).Completed:Connect(function() WS.anim = false end) end -- our own Visible changes are skipped (signals can arrive late, so count them instead of using a flag) local ignoreVis = 0 local function setVis(v) if Win.Visible ~= v then ignoreVis += 1 Win.Visible = v end end conn(Win:GetPropertyChangedSignal("Visible"), function() if ignoreVis > 0 then ignoreVis -= 1 return end if WS.anim then return end if Win.Visible then openAnim() return end WS.anim = true setVis(true) local pos = Win.Position tween(fit, 0.16, {Scale = WS.fit * 0.92}, Enum.EasingStyle.Quad, Enum.EasingDirection.In) tween(Win, 0.16, {Position = pos + UDim2.fromOffset(0, 14)}, Enum.EasingStyle.Quad, Enum.EasingDirection.In).Completed:Connect(function() setVis(false) Win.Position, fit.Scale = pos, WS.fit WS.anim = false end) end) task.defer(openAnim)end -- floating liquid glass button to bring the menu back on phones (no RightShift there) -- phones/tablets only: a round glass button with a menu icon; tap = show/hide, drag = move it local Tog = th(inst("TextButton", {Text = "≡", FontFace = face(SEMI), TextSize = 28, AutoButtonColor = false, Position = UDim2.new(0, 14, 0.5, -26), Size = UDim2.fromOffset(52, 52), Visible = UIS.TouchEnabled and not UIS.KeyboardEnabled}, Gui), "TextColor3", "text") corner(Tog, "pill") liquid(Tog, true) pressable(Tog) -- it glows in the theme colour while the menu is hidden, so it's easy to spot local togGlow = inst("UIStroke", {Color = C.clay, Thickness = 2, Transparency = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border}, Tog) themed[#themed + 1] = {togGlow, "Color", "clay"} conn(Win:GetPropertyChangedSignal("Visible"), function() tween(togGlow, 0.3, {Transparency = Win.Visible and 1 or 0.3}) end) dragify(Tog, Tog) local togAt Tog.InputBegan:Connect(function() togAt = Tog.AbsolutePosition end) Tog.Activated:Connect(function() if togAt and (Tog.AbsolutePosition - togAt).Magnitude > 6 then return end Win.Visible = not Win.Visible end) H.Tog = Tog -- sidebar: "MENU" list straight on the glass, active item marked by an accent bar on the window edge -- it scrolls (clipped above the account card) once a hub has more tabs than fit local Side = inst("ScrollingFrame", {Position = UDim2.fromOffset(0, 76), Size = UDim2.new(0, 164, 1, -150), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 2, CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y, ScrollingDirection = Enum.ScrollingDirection.Y}, Win) th(Side, "ScrollBarImageColor3", "stroke") inst("UIListLayout", {Padding = UDim.new(0, 2), SortOrder = Enum.SortOrder.LayoutOrder}, Side) inst("UIPadding", {PaddingLeft = UDim.new(0, 16), PaddingRight = UDim.new(0, 6), PaddingBottom = UDim.new(0, 6)}, Side) th(inst("TextLabel", {Text = "MENU", FontFace = face(MED), TextSize = 11, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 26), LayoutOrder = -1, TextXAlignment = Enum.TextXAlignment.Left}, Side), "TextColor3", "muted").TextTransparency = 0.1 WS.parts[#WS.parts + 1] = Side WS.parts[#WS.parts + 1] = divider(Win, UDim2.fromOffset(170, 80), UDim2.new(0, 1, 1, -96), true) WS.parts[#WS.parts + 1] = divider(Win, UDim2.new(0, 20, 1, -70), UDim2.fromOffset(130, 1)) -- account card at the bottom, like the profile row in the glass sidebar do local Acc = inst("Frame", {Position = UDim2.new(0, 16, 1, -62), Size = UDim2.fromOffset(150, 48), BackgroundTransparency = 1}, Win) WS.parts[#WS.parts + 1] = Acc local av = inst("ImageLabel", {BackgroundColor3 = WHITE, BackgroundTransparency = 0.92, Size = UDim2.fromOffset(38, 38), Position = UDim2.fromOffset(0, 5), Image = "rbxthumb://type=AvatarHeadShot&id=" .. tostring(game:GetService("Players").LocalPlayer.UserId) .. "&w=48&h=48"}, Acc) corner(av, "pill") rim(av, 0.35) th(inst("TextLabel", {Text = game:GetService("Players").LocalPlayer.DisplayName, FontFace = face(SEMI), TextSize = 13, BackgroundTransparency = 1, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(48, 7), Size = UDim2.new(1, -50, 0, 18), TextXAlignment = Enum.TextXAlignment.Left}, Acc), "TextColor3", "text") th(inst("TextLabel", {Text = "@" .. game:GetService("Players").LocalPlayer.Name, FontFace = face(), TextSize = 10, BackgroundTransparency = 1, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(48, 25), Size = UDim2.new(1, -50, 0, 14), TextXAlignment = Enum.TextXAlignment.Left}, Acc), "TextColor3", "muted") end local Pages = inst("Frame", {Position = UDim2.fromOffset(184, 80), Size = UDim2.new(1, -198, 1, -94), BackgroundTransparency = 1}, Win) WS.parts[#WS.parts + 1] = Pages local UI = {refresh = {}, el = {}, repaint = {}} local tabs = {} local function paintTabs() for _, o in ipairs(tabs) do local on = o.page.Visible o.btn.TextColor3 = on and C.text or C.muted o.btn.FontFace = face(on and SEMI or MED) o.bar.Visible = on o.chev.Visible = on end end function UI.tab(name, order) local btn = inst("TextButton", {Text = name, FontFace = face(MED), TextSize = 13, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 34), AutoButtonColor = false, TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = order or #tabs + 1}, Side) inst("UIPadding", {PaddingLeft = UDim.new(0, 8)}, btn) -- the accent bar sits on the window's left edge (inside the scroll area so it isn't clipped) local bar = inst("Frame", {BackgroundColor3 = WHITE, BorderSizePixel = 0, AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, -14, 0.5, 0), Size = UDim2.fromOffset(3, 22), Visible = false}, btn) accentGrad(bar, 90) local chev = th(inst("TextLabel", {Text = "›", FontFace = face(SEMI), TextSize = 18, BackgroundTransparency = 1, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, 0, 0.5, -1), Size = UDim2.fromOffset(16, 20), Visible = false}, btn), "TextColor3", "text") local page = inst("ScrollingFrame", {Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 2, CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y, Visible = false}, Pages) th(page, "ScrollBarImageColor3", "stroke") inst("UIListLayout", {Padding = UDim.new(0, 8), SortOrder = Enum.SortOrder.LayoutOrder}, page) -- a little room on every side so the cards' outlines are never clipped by the scroll area inst("UIPadding", {PaddingLeft = UDim.new(0, 2), PaddingRight = UDim.new(0, 9), PaddingBottom = UDim.new(0, 8), PaddingTop = UDim.new(0, 3)}, page) local t = setmetatable({page = page, btn = btn, bar = bar, chev = chev, n = 0}, {__index = UI.el}) local function select() if page.Visible then return end for _, o in ipairs(tabs) do o.page.Visible = false end page.Visible = true paintTabs() -- the new page glides up into place and the accent bar grows in page.Position = UDim2.fromOffset(0, 12) tween(page, 0.35, {Position = UDim2.new()}) bar.Size = UDim2.fromOffset(3, 0) tween(bar, 0.3, {Size = UDim2.fromOffset(3, 22)}, Enum.EasingStyle.Back) chev.Position = UDim2.new(1, -8, 0.5, -1) tween(chev, 0.3, {Position = UDim2.new(1, 0, 0.5, -1)}) end btn.MouseButton1Click:Connect(select) btn.MouseEnter:Connect(function() if not page.Visible then tween(btn, 0.15, {TextColor3 = C.text}) end end) btn.MouseLeave:Connect(function() if not page.Visible then tween(btn, 0.2, {TextColor3 = C.muted}) end end) tabs[#tabs + 1] = t if #tabs == 1 then select() else paintTabs() end return t end ----------------------------------------------------------------- content (soft glassmorphism cards) -- rounded translucent card with a soft tonal gradient, tinted by the ambient theme colour on the left local function card(f) f.BackgroundColor3 = WHITE glassy(f, 0.22) corner(f, 14) rim(f, 0.9) local g = inst("UIGradient", {Rotation = 0}, f) painter(function() g.Color = ColorSequence.new(C.card:Lerp(C.clay, 0.16), C.card) end) -- the card brightens a touch under the mouse f.MouseEnter:Connect(function() tween(f, 0.18, {BackgroundTransparency = math.clamp(TH.glass / 100 + 0.14, 0, 0.95)}) end) f.MouseLeave:Connect(function() tween(f, 0.25, {BackgroundTransparency = math.clamp(TH.glass / 100 + 0.22, 0, 0.95)}) end) return f end local function row(t, h) t.n += 1 return card(inst("Frame", {Size = UDim2.new(1, 0, 0, h or 40), BorderSizePixel = 0, LayoutOrder = t.n}, t.page)) end local function lbl(parent, text) return th(inst("TextLabel", {Text = text, FontFace = face(MED), TextSize = 13, BackgroundTransparency = 1, Position = UDim2.fromOffset(16, 0), Size = UDim2.new(1, -32, 1, 0), TextXAlignment = Enum.TextXAlignment.Left}, parent), "TextColor3", "text") end function UI.el:section(text) self.n += 1 local l = th(inst("TextLabel", {Text = string.upper(text), FontFace = face(MED), TextSize = 11, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 24), TextXAlignment = Enum.TextXAlignment.Left, LayoutOrder = self.n}, self.page), "TextColor3", "muted") inst("UIPadding", {PaddingLeft = UDim.new(0, 4), PaddingTop = UDim.new(0, 8)}, l) end -- grey second line under a control's name; the card grows with the text local function desc(f, l, text, rightPad) if not text then return end l.Position, l.Size = UDim2.fromOffset(16, 7), UDim2.new(1, -rightPad, 0, 18) th(inst("TextLabel", {Text = text, FontFace = face(), TextSize = 11, BackgroundTransparency = 1, TextWrapped = true, Position = UDim2.fromOffset(16, 26), Size = UDim2.new(1, -rightPad, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top}, f), "TextColor3", "muted") f.AutomaticSize = Enum.AutomaticSize.Y inst("UIPadding", {PaddingBottom = UDim.new(0, 10)}, f) end -- liquid glass switch; when on it fills with the accent and glows function UI.el:toggle(text, key, cb, d) local f = row(self, d and 58) desc(f, lbl(f, text), d, 78) local sw = inst("Frame", {AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -16, 0.5, 0), Size = UDim2.fromOffset(42, 24), BorderSizePixel = 0}, f) if d then sw.AnchorPoint, sw.Position = Vector2.new(1, 0), UDim2.new(1, -16, 0, 9) end corner(sw, "pill") local edge, shine, sheen = liquid(sw) local g = accentGrad(sw, 0) local glow = inst("UIStroke", {Color = C.clay, Thickness = 3, Transparency = 1, ApplyStrokeMode = Enum.ApplyStrokeMode.Border}, sw) themed[#themed + 1] = {glow, "Color", "clay"} local knob = inst("Frame", {AnchorPoint = Vector2.new(0, 0.5), Size = UDim2.fromOffset(18, 18), Position = UDim2.new(0, 3, 0.5, 0), BackgroundColor3 = WHITE, BorderSizePixel = 0, ZIndex = 2}, sw) corner(knob, "pill") local first = true local function paint() local on = S[key] sheen.Enabled, g.Enabled, edge.Enabled, shine.Visible = not on, on, not on, not on local t = first and 0 or 0.22 tween(sw, t, {BackgroundTransparency = on and 0 or math.clamp(TH.glass / 100 + 0.82, 0, 0.95)}) tween(glow, t + 0.1, {Transparency = on and 0.6 or 1}) -- the knob stretches a little while it slides, like a drop of liquid if not first then tween(knob, 0.1, {Size = UDim2.fromOffset(24, 18)}).Completed:Connect(function() tween(knob, 0.18, {Size = UDim2.fromOffset(18, 18)}) end) end tween(knob, t + 0.06, {Position = on and UDim2.new(0, 21, 0.5, 0) or UDim2.new(0, 3, 0.5, 0)}) first = false end inst("TextButton", {Text = "", BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1)}, f).MouseButton1Click:Connect(function() S[key] = not S[key] paint() if cb then cb(S[key]) end end) paint() UI.refresh[#UI.refresh + 1] = function() paint() if cb then cb(S[key]) end end UI.repaint[#UI.repaint + 1] = paint end -- slim track with a glowing accent fill (like the progress ring in the soft glass widget) function UI.el:slider(text, key, min, max, step, cb, d, store) store = store or S local dy = d and 26 or 0 local f = row(self, 56 + dy) local l = lbl(f, text) l.Size = UDim2.new(1, -32, 0, 32) desc(f, l, d, 100) local val = th(inst("TextLabel", {FontFace = face(SEMI), TextSize = 13, BackgroundTransparency = 1, AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -16, 0, 0), Size = UDim2.fromOffset(80, 32), TextXAlignment = Enum.TextXAlignment.Right}, f), "TextColor3", "text") local bar = inst("Frame", {Position = UDim2.new(0, 16, 0, 38 + dy), Size = UDim2.new(1, -32, 0, 4), BackgroundColor3 = WHITE, BackgroundTransparency = 0.86, BorderSizePixel = 0}, f) corner(bar, "pill") local fill = inst("Frame", {Size = UDim2.fromScale(0, 1), BackgroundColor3 = WHITE, BorderSizePixel = 0}, bar) corner(fill, "pill") accentGrad(fill, 0) local knob = inst("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(1, 0.5), Size = UDim2.fromOffset(14, 14), BackgroundColor3 = WHITE, BorderSizePixel = 0}, fill) corner(knob, "pill") themed[#themed + 1] = {inst("UIStroke", {Color = C.clay, Thickness = 3, Transparency = 0.55}, knob), "Color", "clay"} local hit = inst("TextButton", {Text = "", BackgroundTransparency = 1, Position = UDim2.new(0, 8, 0, 28 + dy), Size = UDim2.new(1, -16, 0, 22)}, f) local function paint() fill.Size = UDim2.fromScale(math.clamp((store[key] - min) / (max - min), 0, 1), 1) val.Text = tostring(store[key]) end local dragging = false local function set(x) local a = math.clamp((x - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1) local v = math.floor((min + (max - min) * a) / step + 0.5) * step if step < 1 then v = tonumber(string.format("%.2f", v)) end store[key] = v paint() if cb then cb(v) end end hit.MouseButton1Down:Connect(function(x) dragging = true set(x) end) conn(UIS.InputChanged, function(i) if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then set(i.Position.X) end end) conn(UIS.InputEnded, function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then dragging = false end end) paint() UI.refresh[#UI.refresh + 1] = paint return paint end -- liquid glass pill that cycles through the options function UI.el:choice(text, key, opts, cb, d, store) store = store or S local f = row(self, d and 58) desc(f, lbl(f, text), d, 156) local b = th(inst("TextButton", {FontFace = face(MED), TextSize = 12, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0), Size = UDim2.fromOffset(132, 26), AutoButtonColor = false}, f), "TextColor3", "text") if d then b.AnchorPoint, b.Position = Vector2.new(1, 0), UDim2.new(1, -14, 0, 8) end corner(b, "pill") liquid(b) pressable(b) local function paint() b.Text = tostring(store[key]) .. " ›" end b.MouseButton1Click:Connect(function() local i = table.find(opts, store[key]) or 0 store[key] = opts[i % #opts + 1] paint() if cb then cb(store[key]) end end) paint() UI.refresh[#UI.refresh + 1] = paint return paint end -- full-width liquid glass pill button function UI.el:button(text, fn, d) self.n += 1 local b = th(inst("TextButton", {Text = d and (text .. "\n" .. d .. "") or text, RichText = true, FontFace = face(SEMI), TextSize = 13, Size = UDim2.new(1, 0, 0, d and 50 or 38), AutoButtonColor = false, LayoutOrder = self.n}, self.page), "TextColor3", "text") corner(b, "pill") liquid(b, true) pressable(b) b.MouseEnter:Connect(function() tween(b, 0.18, {BackgroundTransparency = math.clamp(TH.glass / 100 + 0.62, 0, 0.95)}) end) b.MouseLeave:Connect(function() tween(b, 0.25, {BackgroundTransparency = math.clamp(TH.glass / 100 + 0.74, 0, 0.95)}) end) b.MouseButton1Click:Connect(function() task.spawn(fn) end) return b end function UI.el:input(text, placeholder, cb) local f = row(self) lbl(f, text) local box = th(th(inst("TextBox", {PlaceholderText = placeholder, Text = "", FontFace = face(MED), TextSize = 12, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0), Size = UDim2.fromOffset(170, 26), ClearTextOnFocus = false}, f), "TextColor3", "text"), "PlaceholderColor3", "muted") corner(box, "pill") liquid(box) box.FocusLost:Connect(function(enter) if cb then cb(box.Text, enter) end end) return box end function UI.el:label(text) self.n += 1 local f = card(inst("Frame", {Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, BorderSizePixel = 0, LayoutOrder = self.n}, self.page)) inst("UIPadding", {PaddingTop = UDim.new(0, 11), PaddingBottom = UDim.new(0, 11), PaddingLeft = UDim.new(0, 16), PaddingRight = UDim.new(0, 16)}, f) local l = th(inst("TextLabel", {Text = text, RichText = true, FontFace = face(), TextSize = 13, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left, LineHeight = 1.2}, f), "TextColor3", "text") return function(s) l.Text = s end end function UI.el:list(h) local f = row(self, h) local sc = th(inst("ScrollingFrame", {Size = UDim2.new(1, -10, 1, -10), Position = UDim2.fromOffset(5, 5), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 2, CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y}, f), "ScrollBarImageColor3", "stroke") inst("UIListLayout", {Padding = UDim.new(0, 5), SortOrder = Enum.SortOrder.LayoutOrder}, sc) return sc end local function listItem(sc, text, btnText, fn, order) local f = inst("Frame", {Size = UDim2.new(1, -6, 0, 32), BorderSizePixel = 0, LayoutOrder = order or 0, BackgroundColor3 = WHITE, BackgroundTransparency = 0.94}, sc) corner(f, 12) th(inst("TextLabel", {Text = text, FontFace = face(), TextSize = 12, BackgroundTransparency = 1, Position = UDim2.fromOffset(12, 0), Size = UDim2.new(1, -100, 1, 0), TextXAlignment = Enum.TextXAlignment.Left, TextTruncate = Enum.TextTruncate.AtEnd}, f), "TextColor3", "text") if btnText then local b = th(inst("TextButton", {Text = btnText, FontFace = face(SEMI), TextSize = 12, BackgroundColor3 = WHITE, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -5, 0.5, 0), Size = UDim2.fromOffset(80, 24), AutoButtonColor = true}, f), "TextColor3", "bg") corner(b, "pill") accentGrad(b, 0) b.MouseButton1Click:Connect(function() task.spawn(fn) end) end return f end ----------------------------------------------------------------- notifications (soft glass cards) local Toasts = inst("Frame", {AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 70), Size = UDim2.fromOffset(420, 500), BackgroundTransparency = 1}, Gui) inst("UIListLayout", {Padding = UDim.new(0, 10), HorizontalAlignment = Enum.HorizontalAlignment.Center, SortOrder = Enum.SortOrder.LayoutOrder}, Toasts) local toastN = 0 -- one card for every notification: top centre, newest on top, colours + glass from the chosen preset local function toastCard(title, text, col) toastN += 1 local holder = inst("Frame", {Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, LayoutOrder = -toastN}, Toasts) local f = inst("Frame", {Size = UDim2.new(1, 0, 0, 0), Position = UDim2.fromOffset(0, -20), AutomaticSize = Enum.AutomaticSize.Y, BackgroundColor3 = WHITE, BackgroundTransparency = 1, BorderSizePixel = 0}, holder) corner(f, 18) local st = rim(f, 0.82) inst("UIGradient", {Rotation = 90, Color = ColorSequence.new(C.bg:Lerp(WHITE, 0.14), C.bg)}, f) inst("UIPadding", {PaddingTop = UDim.new(0, 13), PaddingBottom = UDim.new(0, 14), PaddingLeft = UDim.new(0, 44), PaddingRight = UDim.new(0, 18)}, f) -- the padding moves children too, so the dot sits at a negative x to land in the left margin, level with the title local dot = inst("Frame", {Size = UDim2.fromOffset(10, 10), Position = UDim2.fromOffset(-26, 5), BackgroundColor3 = col or C.clay, BorderSizePixel = 0}, f) corner(dot, "pill") inst("UIStroke", {Color = col or C.clay, Thickness = 3, Transparency = 0.6}, dot) local lbl = inst("TextLabel", {Text = "" .. title .. "\n" .. text, RichText = true, FontFace = face(), TextSize = 17, LineHeight = 1.1, TextColor3 = C.text, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left}, f) tween(f, 0.4, {Position = UDim2.new(), BackgroundTransparency = math.clamp(TH.glass / 100, 0, 0.6)}, Enum.EasingStyle.Back) local closed = false local function close() if closed then return end closed = true tween(f, 0.3, {Position = UDim2.fromOffset(0, -20), BackgroundTransparency = 1}, Enum.EasingStyle.Quad, Enum.EasingDirection.In) for _, x in ipairs(f:GetDescendants()) do if x:IsA("TextLabel") then tween(x, 0.25, {TextTransparency = 1}) elseif x:IsA("UIStroke") then tween(x, 0.25, {Transparency = 1}) elseif x:IsA("Frame") then tween(x, 0.25, {BackgroundTransparency = 1}) end end task.delay(0.35, function() if holder.Parent then holder:Destroy() end end) end return lbl, close, st end local function notify(title, text, col) if not S.Notify then return end local _, close = toastCard(title, text, col) task.delay(5, close) end ----------------------------------------------------------------- trackers / panels the hub adds itself -- anything a hub puts in the GUI (stat panels, timers, warnings) gets the same glass, outline, corners and font do local libOwn = {[Win] = true, [Shadow] = true, [Tog] = true, [Toasts] = true} local MONT = "rbxasset://fonts/families/Montserrat.json" local function glassify(o) if libOwn[o] or not o:IsA("GuiObject") or o:GetAttribute("NoGlass") or o:GetAttribute("Glassed") then return end o:SetAttribute("Glassed", true) local function refont(d) if d:IsA("TextLabel") or d:IsA("TextButton") or d:IsA("TextBox") then pcall(function() d.FontFace = Font.new(MONT, d.FontFace.Weight, d.FontFace.Style) end) end end refont(o) for _, d in ipairs(o:GetDescendants()) do refont(d) end o.DescendantAdded:Connect(function(d) task.defer(refont, d) end) if o.BackgroundTransparency >= 0.95 then return end o.BackgroundColor3 = WHITE glassy(o, 0.04) if o:IsA("Frame") then -- smoked glass, lighter at the top local g = inst("UIGradient", {Rotation = 90}, o) painter(function() g.Color = ColorSequence.new(C.bg:Lerp(WHITE, 0.16), C.bg) end) else -- text panels: a gradient would also tint the text, so these get the flat glass tone painter(function() o.BackgroundColor3 = C.bg:Lerp(WHITE, 0.1) end) end local c = o:FindFirstChildOfClass("UICorner") if c then c.CornerRadius = UDim.new(0, 14) else corner(o, 14) end for _, s in ipairs(o:GetChildren()) do if s:IsA("UIStroke") then s:Destroy() end end rim(o, 0.8) end conn(Gui.ChildAdded, function(c) task.defer(glassify, c) end) task.defer(function() for _, c in ipairs(Gui:GetChildren()) do glassify(c) end end) end ----------------------------------------------------------------- theme tab (always the last tab) local function applyTheme() loadTheme() for _, t in ipairs(themed) do pcall(function() t[1][t[2]] = C[t[3]] end) end for _, g in ipairs(grads) do g.Color = ColorSequence.new(C.clay, C.accent2) end for _, gp in ipairs(glassParts) do gp[1].BackgroundTransparency = math.clamp(TH.glass / 100 + gp[2], 0, 0.95) end for _, f in ipairs(painters) do pcall(f) end paintTabs() for _, f in ipairs(UI.repaint) do pcall(f) end pcall(function() writefile(THEME_FILE, Http:JSONEncode(TH)) end) end H.applyTheme = applyTheme task.defer(function() local T = UI.tab("Theme", 999) T:section("Preset") local names = {} for _, p in ipairs(PRESETS) do names[#names + 1] = p.name end local repaintPickers = {} T:choice("Theme", "preset", names, function() TH.primary, TH.secondary = nil, nil -- a new preset brings its own accents applyTheme() for _, f in ipairs(repaintPickers) do f() end end, "Shared by all my hubs: pick it once and every hub uses it.", TH) T:slider("Glass (transparency %)", "glass", 20, 45, 1, function() applyTheme() end, nil, TH) -- colour pickers: hue / saturation / brightness sliders plus a hex box local function picker(label, key) T:section(label) local hsv = {} local function cur() return key == "primary" and C.clay or C.accent2 end local function readHSV() local h, s, v = cur():ToHSV() hsv.h, hsv.s, hsv.v = math.floor(h * 360 + 0.5), math.floor(s * 100 + 0.5), math.floor(v * 100 + 0.5) end readHSV() local f = row(T, 40) lbl(f, "Colour") local sw = inst("Frame", {AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0), Size = UDim2.fromOffset(48, 24), BorderSizePixel = 0, BackgroundColor3 = cur()}, f) corner(sw, "pill") rim(sw, 0.55) local box = th(inst("TextBox", {Text = "", FontFace = face(MED), TextSize = 12, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -70, 0.5, 0), Size = UDim2.fromOffset(88, 24), ClearTextOnFocus = false}, f), "TextColor3", "text") corner(box, "pill") liquid(box) local paints = {} local function push(c) TH[key] = c:ToHex() applyTheme() sw.BackgroundColor3 = c box.Text = "#" .. c:ToHex():upper() end local function fromHSV() push(Color3.fromHSV(hsv.h / 360, hsv.s / 100, hsv.v / 100)) end paints[#paints + 1] = T:slider("Hue", "h", 0, 360, 1, fromHSV, nil, hsv) paints[#paints + 1] = T:slider("Saturation", "s", 0, 100, 1, fromHSV, nil, hsv) paints[#paints + 1] = T:slider("Brightness", "v", 0, 100, 1, fromHSV, nil, hsv) box.FocusLost:Connect(function() local c = hex((box.Text:gsub("#", ""))) if c then push(c) readHSV() for _, p in ipairs(paints) do p() end end end) local function repaint() readHSV() for _, p in ipairs(paints) do p() end sw.BackgroundColor3 = cur() box.Text = "#" .. cur():ToHex():upper() end repaint() repaintPickers[#repaintPickers + 1] = repaint end picker("Primary colour", "primary") picker("Secondary colour", "secondary") T:button("Reset to preset colours", function() TH.primary, TH.secondary = nil, nil applyTheme() for _, f in ipairs(repaintPickers) do f() end end) paintTabs() end) -- end of UI library local function HubBody() -- own 200-local budget, apart from the menu library ----------------------------------------------------------------- game data local CS = game:GetService("CollectionService") local PFS = game:GetService("PathfindingService") local VIM = game:GetService("VirtualInputManager") local cam = workspace.CurrentCamera conn(workspace:GetPropertyChangedSignal("CurrentCamera"), function() cam = workspace.CurrentCamera end) local Remotes = RS:WaitForChild("Remotes") local Round = RS:WaitForChild("Round") local okGC, GC = pcall(require, RS:WaitForChild("GameConfig")) if not (okGC and type(GC) == "table") then GC = {} end local RNAMES = {"Common", "Uncommon", "Rare", "Mythic", "Legendary", "Secret", "Boundless"} local RANK, RCOL = {}, {} for i, n in ipairs(RNAMES) do RANK[n] = i end for i, r in ipairs(GC.Rarities or {}) do if r.name then RANK[r.name] = i if typeof(r.colour) == "Color3" then RCOL[r.name] = r.colour end end end local RED, GOLD, GREEN, GREY = Color3.fromRGB(255, 70, 60), Color3.fromRGB(255, 205, 70), Color3.fromRGB(90, 230, 130), Color3.fromRGB(200, 205, 212) local function now() return workspace:GetServerTimeNow() end local function rootOf(m) return m and (m:FindFirstChild("HumanoidRootPart") or (m:IsA("Model") and m.PrimaryPart)) end local function myRoot() return rootOf(LP.Character) end local function inMatch() return LP:GetAttribute("InMatch") == true end local function amEntity() return LP:GetAttribute("IsEntity") == true end local function m(n) return string.format("%dm", math.floor(n + 0.5)) end local function hex(c) return string.format("#%02x%02x%02x", c.R * 255, c.G * 255, c.B * 255) end local function clock(s) s = math.max(0, math.floor(s)) return string.format("%d:%02d", s // 60, s % 60) end local function key(k, down) pcall(VIM.SendKeyEvent, VIM, down, k, false, game) end local function tap(k) key(k, true) task.delay(0.06, key, k, false) end local function itemName(k) local it = GC.Items and GC.Items[k] return it and it.displayName or tostring(k) end local function cap() return LP:GetAttribute("CarryCapacity") or GC.CarryCapacity or 15 end local function carry() return LP:GetAttribute("CarryWeight") or 0 end local function exitOpen() local t = Round:GetAttribute("ExtractOpensAt") return type(t) ~= "number" or now() >= t end local ESPF = inst("Folder", {Name = "HSod_ESP"}, HUI) H.insts[#H.insts + 1] = ESPF local WF = inst("Folder", {Name = "HSod_Lines"}, workspace) -- path dots, only on your screen H.insts[#H.insts + 1] = WF -- the entity: an AI model or another player's character (never you) local function entities() local t = {} for _, e in ipairs(CS:GetTagged("Entity")) do if e ~= LP.Character and e:IsDescendantOf(workspace) and rootOf(e) then t[#t + 1] = e end end return t end local function nearestEntity(pos) local best, bd for _, e in ipairs(entities()) do local d = (rootOf(e).Position - pos).Magnitude if not bd or d < bd then best, bd = e, d end end return best, bd end local function billboard(w, h) local bb = inst("BillboardGui", {Size = UDim2.fromOffset(w, h), AlwaysOnTop = true, LightInfluence = 0, MaxDistance = 3000, ResetOnSpawn = false}, ESPF) local tx = inst("TextLabel", {Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = 12, TextStrokeTransparency = 0.35, RichText = true, TextColor3 = Color3.new(1, 1, 1)}, bb) return bb, tx end local function vec(s) -- "(x, y, z) …" → Vector3 if typeof(s) == "Vector3" then return s end if type(s) ~= "string" then return end local x, y, z = s:match("(-?[%d%.]+),%s*(-?[%d%.]+),%s*(-?[%d%.]+)") if x then return Vector3.new(tonumber(x), tonumber(y), tonumber(z)) end end local function clearLOS(a, b, ignore) local rp = RaycastParams.new() rp.FilterType = Enum.RaycastFilterType.Exclude rp.FilterDescendantsInstances = ignore return workspace:Raycast(a, b - a, rp) == nil end ----------------------------------------------------------------- threat: is the entity after me? -- AI entities publish their own brain as attributes (State, DbgSeenPos/DbgSeenAgo, DbgGuess, DbgHideWatch); -- player entities don't, so for them it's distance, facing, line of sight and closing speed local threat = {lv = 0, why = "no entity", d = nil, state = "", ent = nil} local function assess(e, me) local r = rootOf(e) local d = (r.Position - me.Position).Magnitude local st = tostring(e:GetAttribute("State") or "") local lst = st:lower() local lv, why = 0, "far away" if d < S.DangerDist then lv, why = 1, "nearby" end local toMe = me.Position - r.Position local facing = toMe.Magnitude > 0.1 and r.CFrame.LookVector:Dot(toMe.Unit) > 0.55 if facing and d < 150 and clearLOS(r.Position + Vector3.new(0, 2, 0), me.Position, {e, LP.Character, WF}) then lv, why = 2, "can see you" end local g = vec(e:GetAttribute("DbgGuess")) if g and (g - me.Position).Magnitude < 18 and lv < 2 then lv, why = 2, "tracking you" end local sp, sa = vec(e:GetAttribute("DbgSeenPos")), e:GetAttribute("DbgSeenAgo") if sp and type(sa) == "number" and sa < 4 and (sp - me.Position).Magnitude < 12 then lv, why = 3, "SPOTTED YOU" end if (lst:find("chase") or lst:find("hunt") or lst:find("kill") or lst:find("lunge")) and (lv >= 2 or d < 35) then lv, why = 3, "CHASING YOU" end local v = r.AssemblyLinearVelocity if lv < 3 and d < 70 and v.Magnitude > 15 and toMe.Magnitude > 0.1 and v.Unit:Dot(toMe.Unit) > 0.8 then lv, why = 3, "RUNNING AT YOU" end return lv, why, d, st end local hide = {text = nil, danger = false} local function hideCheck(e, me, d) if LP:GetAttribute("Hiding") ~= true then hide.text, hide.danger = nil, false return end local nh = Round:GetAttribute("NoHideUntil") if type(nh) == "number" and nh > now() then hide.text, hide.danger = "Hiding doesn't work for " .. clock(nh - now()) .. " · RUN", true return end if not e then hide.text, hide.danger = "Stay hidden · no entity around", false return end local hw = e:GetAttribute("DbgHideWatch") local aware = type(hw) == "string" and tonumber(hw:match("aware%s+([%d%.]+)")) or 0 local focus = type(hw) == "string" and hw:find("focus true") ~= nil local r = rootOf(e) local toMe = me.Position - r.Position local facing = toMe.Magnitude > 0.1 and r.CFrame.LookVector:Dot(toMe.Unit) > 0.6 if focus or aware >= 0.5 then hide.text, hide.danger = "It knows you're in here · LEAVE NOW", true elseif d < 12 and facing then hide.text, hide.danger = "Right outside, facing you · stay still", true else hide.text, hide.danger = "Stay hidden · " .. m(d) .. " away", false end end do local lastLv, lastAlert, inRange = 0, 0, false loop(0.2, function() local me = myRoot() if not (me and inMatch() and not amEntity()) then threat.lv, threat.why, threat.d, threat.ent = 0, inMatch() and "you are the entity" or "not in a match", nil, nil hide.text = nil return end local e, d = nearestEntity(me.Position) if not e then threat.lv, threat.why, threat.d, threat.ent = 0, "no entity yet", nil, nil hideCheck(nil, me) return end local lv, why, dd, st = assess(e, me) threat.lv, threat.why, threat.d, threat.state, threat.ent = lv, why, dd, st, e hideCheck(e, me, dd) if S.DangerAlert and os.clock() - lastAlert > 6 then if lv >= 2 and lastLv < 2 then lastAlert = os.clock() notify("Entity", why .. " · " .. m(dd), RED) elseif lv == 1 and not inRange then lastAlert = os.clock() notify("Entity", "nearby · " .. m(dd), GOLD) end end inRange = dd < S.DangerDist lastLv = lv end) local wasDanger = false loop(0.3, function() if S.HideAdvisor and hide.danger and not wasDanger and hide.text then notify("Hiding", hide.text, RED) end wasDanger = hide.danger and S.HideAdvisor end) end ----------------------------------------------------------------- path dots (guide + the AI's planned route) local function dotPool() return {} end local function draw(pool, pts, col, size) for i = 1, math.max(#pts, #pool) do local p, d = pts[i], pool[i] if p then if not d then d = inst("Part", {Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, Shape = Enum.PartType.Ball, Material = Enum.Material.Neon, Size = Vector3.one * (size or 0.6)}, WF) pool[i] = d end d.Position, d.Color, d.Transparency = p, col, 0.2 elseif d then d.Transparency = 1 end end end local guidePool, routePool = dotPool(), dotPool() local path = PFS:CreatePath({AgentRadius = 1.6, AgentHeight = 5, AgentCanJump = false, WaypointSpacing = 4}) local function route(from, to) local t = {} if pcall(path.ComputeAsync, path, from, to) and path.Status == Enum.PathStatus.Success then for _, w in ipairs(path:GetWaypoints()) do t[#t + 1] = w.Position + Vector3.new(0, 0.7, 0) end else -- no walkable path found: a straight dotted line local dir = to - from local n = math.clamp(math.floor(dir.Magnitude / 4), 1, 60) for i = 1, n do t[i] = from + dir * (i / n) end end if #t > 90 then local k, thin = math.ceil(#t / 90), {} for i = 1, #t, k do thin[#thin + 1] = t[i] end t = thin end return t end -- the AI writes its next waypoints into DbgRoute as "x,z > x,z > …" loop(0.25, function() local pts = {} if S.EntRoute and inMatch() then for _, e in ipairs(entities()) do local r, s = rootOf(e), e:GetAttribute("DbgRoute") if type(s) == "string" then local y = r.Position.Y - 2.5 for x, z in s:gmatch("(-?[%d%.]+),(-?[%d%.]+)") do pts[#pts + 1] = Vector3.new(tonumber(x), y, tonumber(z)) end end end end draw(routePool, pts, RED, 0.8) end) ----------------------------------------------------------------- loot: ESP, rare alerts, best pick, guide, auto pickup local Loot = workspace:FindFirstChild("MyLoot") local lootTags = {} local function lootFolder() if not (Loot and Loot.Parent) then Loot = workspace:FindFirstChild("MyLoot") end return Loot end local function rankOf(it) return RANK[it:GetAttribute("Rarity") or "Common"] or 1 end local function fits(it) return (it:GetAttribute("Weight") or 0) <= cap() - carry() + 0.01 end local best local function pickBest(me) local f, b, bs = lootFolder(), nil, -1 if not (f and me) then return end local min = RANK[S.MinRarity] or 1 for _, it in ipairs(f:GetChildren()) do if it:IsA("BasePart") and it.Transparency < 1 and rankOf(it) >= min and fits(it) then local sc = (it:GetAttribute("Value") or 0) / (1 + (it.Position - me.Position).Magnitude / 80) if sc > bs then b, bs = it, sc end end end return b end loop(0.25, function() local f, me = lootFolder(), myRoot() best = (inMatch() and not amEntity()) and pickBest(me) or nil local min, seen = RANK[S.MinRarity] or 1, {} if f and S.LootESP and inMatch() then for _, it in ipairs(f:GetChildren()) do if it:IsA("BasePart") and it.Transparency < 1 and rankOf(it) >= min then seen[it] = true local o = lootTags[it] if not o then local bb, tx = billboard(200, 30) o = {bb = bb, tx = tx} lootTags[it] = o bb.Adornee = it end local rar = it:GetAttribute("Rarity") or "Common" local v, w = it:GetAttribute("Value") or 0, it:GetAttribute("Weight") or 0 local col = RCOL[rar] or GREY o.tx.TextColor3 = col o.tx.Text = string.format("%s%s · $%d\n%s · %.1fkg · $%d/kg%s%s", it == best and "BEST · " or "", itemName(it:GetAttribute("ItemKey")), v, rar, w, math.floor(v / math.max(w, 0.1)), me and (" · " .. m((it.Position - me.Position).Magnitude)) or "", fits(it) and "" or " · too heavy") end end end for it, o in pairs(lootTags) do if not seen[it] then o.bb:Destroy() lootTags[it] = nil end end end) do -- rare loot alert: one message per spawn wave local pending, armed = {}, false local function flush() armed = false local list = {} for it in pairs(pending) do if it.Parent and rankOf(it) >= 5 then list[#list + 1] = string.format("%s %s ($%d)", it:GetAttribute("Rarity"), itemName(it:GetAttribute("ItemKey")), it:GetAttribute("Value") or 0) end end table.clear(pending) if S.RareAlert and #list > 0 then notify("Rare loot on the map", table.concat(list, "\n"), GOLD) end end local hooked loop(1, function() local f = lootFolder() if f and f ~= hooked then hooked = f conn(f.ChildAdded, function(it) pending[it] = true if not armed then armed = true task.delay(1, flush) end end) end end) end local guideTarget = {pos = nil, text = nil} loop(1, function() local me = myRoot() local mode = S.Guide local tgt, txt if me and inMatch() and not amEntity() and mode ~= "Off" then local ex, ed for _, p in ipairs(CS:GetTagged("ExitDoor")) do if p:IsA("BasePart") and p:IsDescendantOf(workspace) then local d = (p.Position - me.Position).Magnitude if not ed or d < ed then ex, ed = p, d end end end local full = cap() - carry() < 0.3 if mode == "Exit" or (mode == "Auto" and ex and exitOpen() and (full or not best)) then if ex then tgt, txt = ex.Position, "exit" end elseif best then tgt, txt = best.Position, itemName(best:GetAttribute("ItemKey")) end end guideTarget.pos, guideTarget.text = tgt, txt draw(guidePool, tgt and route(me.Position - Vector3.new(0, 2.5, 0), tgt) or {}, GOLD, 0.6) end) do -- auto pickup: loot in reach that fits your bag; waits the item's normal hold time, then picks it up the way the game does local PickupLoot = Remotes:FindFirstChild("PickupLoot") local busy = false loop(0.2, function() if busy or not (S.AutoPickup and PickupLoot and inMatch() and not amEntity()) or LP:GetAttribute("Hiding") then return end local f, me = lootFolder(), myRoot() if not (f and me) then return end local min = RANK[S.PickRarity] or 1 for _, it in ipairs(f:GetChildren()) do local pp = it:IsA("BasePart") and it:FindFirstChildOfClass("ProximityPrompt") local reach = pp and pp.MaxActivationDistance - 1 if pp and pp.Enabled and it.Transparency < 1 and rankOf(it) >= min and fits(it) and (it.Position - me.Position).Magnitude < reach then busy = true local t0 = os.clock() while os.clock() - t0 < (pp.HoldDuration or 0) + 0.05 do -- like holding E: walk out of reach and it's cancelled task.wait(0.1) me = myRoot() if not (me and it.Parent and S.AutoPickup) or (it.Position - me.Position).Magnitude > reach then busy = false return end end local id = it:GetAttribute("SpotId") if type(id) == "string" then PickupLoot:FireServer(id) end task.wait(0.4) busy = false return end end end) end ----------------------------------------------------------------- exits + round timers local exitTags = {} loop(0.25, function() local me, seen = myRoot(), {} if S.ExitESP and inMatch() and not amEntity() then local t = Round:GetAttribute("ExtractOpensAt") local txt = exitOpen() and "OPEN" or ("opens in " .. clock(t - now())) for _, p in ipairs(CS:GetTagged("ExitDoor")) do if p:IsA("BasePart") and p:IsDescendantOf(workspace) then seen[p] = true local o = exitTags[p] if not o then local bb, tx = billboard(160, 30) o = {bb = bb, tx = tx} exitTags[p] = o bb.Adornee = p tx.TextColor3 = GREEN end o.tx.Text = string.format("EXIT%s\n%s", me and (" · " .. m((p.Position - me.Position).Magnitude)) or "", txt) end end end for p, o in pairs(exitTags) do if not seen[p] then o.bb:Destroy() exitTags[p] = nil end end end) do -- one alert when the exit opens, one when your bag is full and it's open local said = {} loop(1, function() local id = tostring(Round:GetAttribute("MatchId")) if not (S.ExtractAlert and inMatch() and not amEntity()) then return end if exitOpen() and not said[id .. "o"] then said[id .. "o"] = true notify("Exit", "The exit is open", GREEN) end if exitOpen() and cap() - carry() < 0.3 and not said[id .. "f"] then said[id .. "f"] = true notify("Exit", "Bag full · head to the exit", GREEN) end local nh = Round:GetAttribute("NoHideUntil") if type(nh) == "number" and nh > now() and not said[id .. tostring(nh)] then said[id .. tostring(nh)] = true notify("Entity ability", "Hiding doesn't work for " .. clock(nh - now()), RED) end end) end ----------------------------------------------------------------- entity ESP (you're a survivor) + survivor ESP (you're the entity) local entTags = {} loop(0.15, function() local me, seen = myRoot(), {} if S.EntESP and inMatch() then for _, e in ipairs(entities()) do seen[e] = true local o = entTags[e] if not o then local bb, tx = billboard(240, 34) o = {bb = bb, tx = tx} entTags[e] = o o.hl = inst("Highlight", {FillColor = RED, OutlineColor = RED, FillTransparency = 0.65, OutlineTransparency = 0.1, DepthMode = Enum.HighlightDepthMode.AlwaysOnTop}, ESPF) end local r = rootOf(e) o.bb.Adornee, o.hl.Adornee = r, e local st = tostring(e:GetAttribute("State") or "") local who = e:GetAttribute("PlayerEntity") and Players:GetPlayerByUserId(e:GetAttribute("PlayerEntity")) local line2 = {} if st ~= "" then line2[#line2 + 1] = st:upper() end if threat.ent == e and threat.lv > 0 then line2[#line2 + 1] = threat.why end if who then line2[#line2 + 1] = "played by " .. who.DisplayName end o.tx.TextColor3 = (threat.ent == e and threat.lv >= 2) and RED or Color3.fromRGB(255, 140, 120) o.tx.Text = string.format("%s%s\n%s", tostring(e:GetAttribute("DisplayName") or e.Name), me and (" · " .. m((r.Position - me.Position).Magnitude)) or "", table.concat(line2, " · ")) end end for e, o in pairs(entTags) do if not seen[e] then o.bb:Destroy() o.hl:Destroy() entTags[e] = nil end end end) local survTags = {} loop(0.2, function() local me, seen = myRoot(), {} local ent = amEntity() if (S.SurvESP and ent) or (S.TeamESP and inMatch() and not ent) then -- as the entity: your targets · as a survivor: your teammates local hiders = {} for _, c in ipairs(CS:GetTagged("Closet")) do for _, k in ipairs({"OccupantL", "OccupantR"}) do local u = c:GetAttribute(k) if type(u) == "number" and u ~= 0 then hiders[u] = true end end end for _, pl in ipairs(Players:GetPlayers()) do local r = pl ~= LP and pl:GetAttribute("InMatch") and not pl:GetAttribute("IsEntity") and rootOf(pl.Character) if r then seen[pl] = true local o = survTags[pl] if not o then local bb, tx = billboard(220, 32) o = {bb = bb, tx = tx} survTags[pl] = o o.hl = inst("Highlight", {FillColor = Color3.fromRGB(90, 160, 255), OutlineColor = Color3.new(1, 1, 1), FillTransparency = 0.7, DepthMode = Enum.HighlightDepthMode.AlwaysOnTop}, ESPF) end o.bb.Adornee, o.hl.Adornee = r, pl.Character local col = ent and Color3.fromRGB(90, 160, 255) or GREEN o.tx.TextColor3, o.hl.FillColor = ent and Color3.fromRGB(140, 200, 255) or GREEN, col local tags = {} if hiders[pl.UserId] or pl:GetAttribute("Hiding") then tags[#tags + 1] = "HIDING" end if r.AssemblyLinearVelocity.Magnitude > 16 then tags[#tags + 1] = "running" end if pl:GetAttribute("BeingKilled") or pl:GetAttribute("Grabbed") then tags[#tags + 1] = "CAUGHT" end tags[#tags + 1] = string.format("%.1fkg loot", pl:GetAttribute("CarryWeight") or 0) o.tx.Text = string.format("%s%s\n%s", pl.DisplayName, me and (" · " .. m((r.Position - me.Position).Magnitude)) or "", table.concat(tags, " · ")) end end end for pl, o in pairs(survTags) do if not seen[pl] then o.bb:Destroy() o.hl:Destroy() survTags[pl] = nil end end end) ----------------------------------------------------------------- minigames do -- auto breath: the hiding gauge; hold Space to lift the marker, keep it inside the band local gauge, held, lastY, lastFind = nil, false, nil, 0 local function let() if held then held = false key(Enum.KeyCode.Space, false) end lastY = nil end conn(RunS.RenderStepped, function(dt) if not (S.AutoBreath and LP:GetAttribute("Hiding") == true) then let() return end if not (gauge and gauge.Parent) then gauge = nil if os.clock() - lastFind < 0.3 then let() return end lastFind = os.clock() for _, g in ipairs(LP.PlayerGui:GetChildren()) do local x = g:FindFirstChild("Gauge") if x and x:FindFirstChild("Track") then gauge = x break end end if not gauge then let() return end end local tr = gauge.Track local band, mark = tr:FindFirstChild("Band"), tr:FindFirstChild("Breath") local sg = gauge:FindFirstAncestorOfClass("ScreenGui") if not (band and mark and sg and sg.Enabled) then let() return end local z, y = 1 - band.Position.Y.Scale, 1 - mark.Position.Y.Scale local v = lastY and (y - lastY) / math.max(dt, 1e-3) or 0 lastY = y local want = y + v * 0.18 < z if want ~= held then held = want key(Enum.KeyCode.Space, want) end end) H.unbreath = let end do -- auto vent struggle: press E when the spinning needle is inside the zone local pressedAt, lastRot = -1, nil conn(RunS.RenderStepped, function() if not (S.AutoVent and LP:GetAttribute("Grabbed")) then lastRot = nil return end local g = LP.PlayerGui:FindFirstChild("VentGrab") if not (g and g.Enabled) then return end local box for _, c in ipairs(g:GetChildren()) do if c:IsA("Frame") and c.Visible and c.Size.X.Offset == 190 then box = c break end end if not box then return end local needle, zone for _, c in ipairs(box:GetChildren()) do local inner = c:IsA("Frame") and c.Size == UDim2.fromScale(1, 1) and c:FindFirstChildOfClass("Frame") if inner then if inner.Size.Y.Offset == 92 then needle = c elseif inner.Size.Y.Offset == 22 then zone = c end end end if not (needle and zone) then return end local rot = needle.Rotation if lastRot and rot < lastRot - 30 then pressedAt = -1 end -- a new check started lastRot = rot local diff = (rot - zone.Rotation + 180) % 360 - 180 if pressedAt < 0 and diff >= -9 and diff <= 3 then pressedAt = os.clock() tap(Enum.KeyCode.E) end end) end do -- auto door hold: entity close on the other side of a door you're next to → hold it shut (Y) local holding, since = false, 0 local function stop() if holding then holding = false key(Enum.KeyCode.Y, false) end end loop(0.1, function() local me = myRoot() if not (S.AutoDoor and me and inMatch() and not amEntity()) or LP:GetAttribute("Hiding") then stop() return end local e, d = nearestEntity(me.Position) local want = false if e and d < 40 then for _, door in ipairs(CS:GetTagged("Door")) do if door:IsA("Model") and door:GetAttribute("Open") ~= true and not door:GetAttribute("Smashed") then local p = door:GetPivot().Position if (p - me.Position).Magnitude < 8 and (rootOf(e).Position - p):Dot(me.Position - p) < 0 then want = true break end end end end if holding and os.clock() - since > 1 and not LP:GetAttribute("HoldingDoor") then want = false end -- the game let go (stamina out) if want and not holding then holding, since = true, os.clock() key(Enum.KeyCode.Y, true) elseif not want then stop() end end) H.undoor = stop end do -- auto bash (you're the entity): press R as the bar reaches the gold band local fired = false conn(RunS.RenderStepped, function() if not (S.AutoBash and amEntity()) then return end local g = LP.PlayerGui:FindFirstChild("EntityBash") if not (g and g.Enabled) then fired = false return end local bar for _, d in ipairs(g:GetDescendants()) do if d:IsA("Frame") and d.Size.X.Offset == 14 and d.Size.Y.Offset == 4 then bar = d break end end if not bar then return end local v = 1 - bar.Position.Y.Scale if v < 0.4 then fired = false end if not fired and v >= 0.83 and v <= 0.91 then fired = true tap(Enum.KeyCode.R) end end) end ----------------------------------------------------------------- gadgets: auto flashbang do local UseGadget = Remotes:FindFirstChild("UseGadget") local last = 0 loop(0.1, function() if not (S.AutoFlash and UseGadget and LP:GetAttribute("Flashbang") == true and threat.ent and threat.d) then return end if threat.d > S.FlashDist or threat.lv < 2 or LP:GetAttribute("Hiding") or os.clock() - last < 4 then return end last = os.clock() local dir = ((rootOf(threat.ent).Position - cam.CFrame.Position).Unit + Vector3.new(0, 0.08, 0)).Unit local ok, res = pcall(UseGadget.InvokeServer, UseGadget, "Flashbang", dir) notify("Flashbang", (ok and res == true) and ("thrown at the entity · " .. m(threat.d)) or "couldn't throw it", ok and res == true and GOLD or RED) end) end ----------------------------------------------------------------- safety: moderator alert do local told = {} local function check(pl) if pl == LP or told[pl] or pl:GetAttribute("Moderator") ~= true then return end told[pl] = true if S.ModAlert then notify("Moderator in the server", pl.DisplayName .. " (@" .. pl.Name .. ") can spectate and warn players", RED) end end for _, pl in ipairs(Players:GetPlayers()) do check(pl) conn(pl:GetAttributeChangedSignal("Moderator"), function() check(pl) end) end conn(Players.PlayerAdded, function(pl) task.wait(2) check(pl) conn(pl:GetAttributeChangedSignal("Moderator"), function() check(pl) end) end) H.mods = function() local t = {} for _, pl in ipairs(Players:GetPlayers()) do if pl ~= LP and pl:GetAttribute("Moderator") == true then t[#t + 1] = pl.DisplayName end end return t end end ----------------------------------------------------------------- auto upgrades (in-game money only, in the lobby) local UPG = {["Backpack"] = "Capacity", ["Sprint speed"] = "Sprint", ["Stamina"] = "Stamina"} local function upCost(k) local u = GC.UpgradeByKey and GC.UpgradeByKey[k] if not (u and u.costs) then return end local lvl = LP:GetAttribute(u.attr) or 0 return u.costs[math.floor(lvl) + 1] end do local Buy = Remotes:FindFirstChild("BuyUpgrade") loop(3, function() if not (S.AutoUpgrade and Buy and LP:GetAttribute("InLobby") == true and not inMatch()) then return end local money = LP:GetAttribute("Money") or 0 local pick, cost if S.UpgradePick == "Cheapest" then for _, k in pairs(UPG) do local c = upCost(k) if c and (not cost or c < cost) then pick, cost = k, c end end else pick = UPG[S.UpgradePick] cost = pick and upCost(pick) end if pick and cost and money >= cost then local ok, res = pcall(Buy.InvokeServer, Buy, pick) if ok and res ~= false then notify("Upgrade", string.format("Bought %s for $%d", pick, cost), GREEN) end end end) end ----------------------------------------------------------------- round panel (drag it anywhere) local Panel = inst("TextLabel", {Position = UDim2.new(1, -16, 0.5, -90), AnchorPoint = Vector2.new(1, 0), Size = UDim2.fromOffset(0, 0), AutomaticSize = Enum.AutomaticSize.XY, BackgroundColor3 = C.bg, BackgroundTransparency = 0.15, Font = Enum.Font.Gotham, TextSize = 13, TextColor3 = C.text, RichText = true, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top, Active = true}, Gui) corner(Panel, 8) stroke(Panel) inst("UIPadding", {PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 12)}, Panel) dragify(Panel, Panel) local function roundLines() local L = {} local mode = Round:GetAttribute("Mode") L[#L + 1] = string.format("%s · %s · %s", tostring(Round:GetAttribute("Map") or "?"), tostring(Round:GetAttribute("EntityKind") or "?"), mode == "Player" and "player entity" or mode == "AI" and "AI entity" or tostring(mode or "?")) local ends, ph = Round:GetAttribute("PhaseEnds"), tostring(Round:GetAttribute("Phase") or "?") local ex = Round:GetAttribute("ExtractOpensAt") L[#L + 1] = string.format("%s%s%s", ph, type(ends) == "number" and (" · " .. clock(ends - now()) .. " left") or "", type(ex) == "number" and (exitOpen() and " · exit open" or (" · exit opens in " .. clock(ex - now()))) or "") return L end loop(0.25, function() Panel.Visible = S.Panel if not S.Panel then return end local L = roundLines() if inMatch() and not amEntity() then local col = threat.lv >= 2 and "#ff463c" or threat.lv == 1 and "#ffcd46" or "#5ae682" L[#L + 1] = string.format("Entity: %s%s%s", col, threat.why, threat.d and (" · " .. m(threat.d)) or "", threat.state ~= "" and threat.ent and (" · " .. threat.state:lower()) or "") L[#L + 1] = string.format("Bag %.1f / %.0f kg%s", carry(), cap(), guideTarget.text and (" · guide: " .. guideTarget.text) or "") if hide.text then L[#L + 1] = string.format("%s", hide.danger and "#ff463c" or "#5ae682", hide.text) end elseif amEntity() then local n = 0 for _, pl in ipairs(Players:GetPlayers()) do if pl ~= LP and pl:GetAttribute("InMatch") and not pl:GetAttribute("IsEntity") then n += 1 end end L[#L + 1] = string.format("You're the entity · %d survivors left", n) end local mods = H.mods() if #mods > 0 then L[#L + 1] = "Moderator here: " .. table.concat(mods, ", ") .. "" end Panel.Text = table.concat(L, "\n") end) ----------------------------------------------------------------- lighting + extras do local litWas loop(0.5, function() if S.Fullbright then if not litWas then litWas = {Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient, Brightness = Lighting.Brightness, FogEnd = Lighting.FogEnd, FogStart = Lighting.FogStart, fx = {}} end Lighting.Ambient, Lighting.OutdoorAmbient, Lighting.Brightness, Lighting.FogEnd, Lighting.FogStart = Color3.new(1, 1, 1), Color3.new(1, 1, 1), 2, 1e6, 1e6 for _, e in ipairs(Lighting:GetChildren()) do if e:IsA("Atmosphere") then if litWas.fx[e] == nil then litWas.fx[e] = e.Density end e.Density = 0 end end elseif litWas then for k, v in pairs(litWas) do if k ~= "fx" then Lighting[k] = v end end for e, v in pairs(litWas.fx) do pcall(function() e.Density = v end) end litWas = nil end end) H.unlit = function() if litWas then for k, v in pairs(litWas) do if k ~= "fx" then pcall(function() Lighting[k] = v end) end end for e, v in pairs(litWas.fx) do pcall(function() e.Density = v end) end end end conn(LP.Idled, function() if not S.AntiAFK then return end local VU = game:GetService("VirtualUser") VU:CaptureController() VU:ClickButton2(Vector2.new()) end) if queue_on_teleport then conn(LP.OnTeleport, function(st) if S.ReloadTP and st == Enum.TeleportState.Started then pcall(queue_on_teleport, 'task.wait(4) if isfile("StealOrDieHub.lua") then loadstring(readfile("StealOrDieHub.lua"))() end') end end) end local r3d loop(1, function() if S.No3D ~= r3d then r3d = S.No3D pcall(RunS.Set3dRenderingEnabled, RunS, not r3d) end end) end local function hop(mode) local TP = game:GetService("TeleportService") if mode == "rejoin" then notify("Server", "Rejoining…") pcall(TP.TeleportToPlaceInstance, TP, game.PlaceId, game.JobId, LP) return end -- "very limited spots": 2-5 left, or 1 up to half the server when servers hold 6 or fewer local max = Players.MaxPlayers local lo = max <= 6 and 1 or 2 local hi = math.min(5, math.max(lo, math.floor(max / 2))) local picks, cursor, reached = {}, nil, false for _ = 1, 3 do local ok, body = pcall(game.HttpGet, game, "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=" .. (mode == "small" and "Asc" or "Desc") .. "&excludeFullGames=true&limit=100" .. (cursor and ("&cursor=" .. cursor) or "")) local ok2, t = pcall(Http.JSONDecode, Http, ok and body or "") if not (ok2 and type(t) == "table") then break end reached = true for _, sv in ipairs(t.data or {}) do local free = (sv.maxPlayers or 0) - (sv.playing or 0) if sv.id ~= game.JobId and free > 0 and (mode ~= "full" or (free >= lo and free <= hi)) then picks[#picks + 1] = sv end end cursor = t.nextPageCursor if #picks > 0 or not cursor then break end end if not reached then notify("Server", "Couldn't look up servers on this executor.") if mode ~= "full" then pcall(TP.Teleport, TP, game.PlaceId, LP) end return end if #picks == 0 then notify("Server", mode == "full" and "No server with very limited spots right now. Try again in a bit." or "No other server found right now.") return end if mode == "small" then table.sort(picks, function(x, y) return (x.playing or 0) < (y.playing or 0) end) end local pick = mode == "small" and picks[1] or picks[math.random(#picks)] notify("Server", mode == "full" and "Joining a server with very limited spots…" or mode == "small" and "Joining a small server…" or "Joining another server…") if not pcall(TP.TeleportToPlaceInstance, TP, game.PlaceId, pick.id, LP) then notify("Server", "Couldn't join that server, try again.") end end ----------------------------------------------------------------- menu local T = UI.tab("Main") local status = T:label("…") T:label("Made by Stizzyyy · always free & keyless.\nFound this behind a key system? It's a stolen copy.") T:label("Not included: speed, teleports, noclip (moderators spectate players) and anything that spends Robux.") T:button("Unload", function() H.Unload() end, "Stops everything and removes the menu") T = UI.tab("Entity") T:section("ESP") T:toggle("Entity ESP​​", "EntESP", save, "Highlights the entity through walls with its name, distance, what it's doing and who's playing it.") T:toggle("Show its planned route​​", "EntRoute", save, "Red dots along the path the AI entity is about to walk (AI rounds only).") T:section("Warnings") T:toggle("Danger alerts​​", "DangerAlert", save, "Tells you when the entity gets close, can see you, is tracking you or starts chasing you.") T:slider("Close range (studs)", "DangerDist", 20, 150, 5, save, "How close counts as \"nearby\".") T:toggle("Hiding advisor​​", "HideAdvisor", save, "In a closet: tells you to stay put or leave now (when it knows you're there, or its ability stops hiding from working).") T:section("When you're the entity") T:toggle("Survivor ESP​​", "SurvESP", save, "Everyone still alive, their loot weight, who's running and who's hiding in a closet.") T:toggle("Auto bash​​", "AutoBash", save, "Smashing a barricade or a held door: presses R as the bar hits the gold band.") T = UI.tab("Loot") T:section("ESP") T:toggle("Loot ESP​​", "LootESP", save, "Every item with its value, rarity, weight, $ per kg and distance. The best pick is marked BEST.") T:choice("Show from rarity", "MinRarity", RNAMES, save, "Hides cheaper items (also used for the best pick).") T:toggle("Rare loot alert​​", "RareAlert", save, "Tells you when Legendary, Secret or Boundless loot is on the map.") T:section("Guide") T:choice("Guide path", "Guide", {"Auto", "Best loot", "Exit", "Off"}, save, "Gold dots on the floor to follow. Auto = best loot that fits your bag, then the exit once your bag is full and the exit is open.") T:section("Pickup") T:toggle("Auto pickup​​", "AutoPickup", save, "Picks up loot in reach as you walk past (the game's own hold), only if it fits your bag.") T:choice("Pick up from rarity", "PickRarity", RNAMES, save) T = UI.tab("Survive") T:section("Minigames") T:toggle("Auto breath​​", "AutoBreath", save, "Hiding: holds and lets go of Space to keep your breath inside the band.") T:toggle("Auto vent struggle​​", "AutoVent", save, "Grabbed in a vent: presses E as the needle passes the zone.") T:toggle("Auto door hold​​", "AutoDoor", save, "Holds a door shut (Y) when the entity is right behind it, until it leaves or you run out of stamina.") T:section("Gadgets") T:toggle("Auto flashbang​​", "AutoFlash", save, "Throws your flashbang at the entity when it's about to catch you.") T:slider("Flashbang range (studs)", "FlashDist", 8, 40, 1, save) T:section("Team") T:toggle("Teammate ESP​​", "TeamESP", save, "Other survivors in green through walls: distance, loot weight, who's running, hiding or caught.") T:section("Escape") T:toggle("Exit ESP​​", "ExitESP", save, "Exits with distance and a countdown to when they open.") T:toggle("Exit alerts​​", "ExtractAlert", save, "Tells you when the exit opens, when your bag is full, and when the entity's ability stops hiding from working.") T = UI.tab("Info") T:section("Panel") T:toggle("Round panel​​", "Panel", save, "Map, entity, time left, exit timer, how dangerous the entity is right now, your bag and the hiding advice. Drag it anywhere.") T:section("Safety") T:toggle("Moderator alert​​", "ModAlert", save, "Tells you when a moderator is in your server (they can spectate and warn players).") T:section("Upgrades") T:toggle("Auto upgrade​​", "AutoUpgrade", save, "In the lobby, buys upgrades with your in-game money (never Robux).") T:choice("Upgrade", "UpgradePick", {"Cheapest", "Backpack", "Sprint speed", "Stamina"}, save) local upInfo = T:label("…") T:section("Lighting") T:toggle("Fullbright​​", "Fullbright", save, "Removes the dark and the fog. Turning it off puts the lighting back.") T = UI.tab("Extras") T:section("General") T:toggle("Anti-AFK​​", "AntiAFK", save, "Stops Roblox from kicking you for being idle.") T:toggle("Reload the hub after teleports​​", "ReloadTP", save, queue_on_teleport and nil or "Doesn't work on this executor: put the hub in your executor's autoexec folder.") T:toggle("Notifications​​", "Notify", save) T:section("Performance") T:toggle("Turn off 3D rendering​​", "No3D", save, "Black screen and much less GPU, for AFK grinding.") T:section("Server") T:button("Rejoin", function() hop("rejoin") end) T:button("Server hop", function() hop("any") end) T:button("Join a small server", function() hop("small") end) T:button("Join a full server", function() hop("full") end, "A server with very limited spots left") conn(UIS.InputBegan, function(i) if i.KeyCode == Enum.KeyCode.RightShift then Win.Visible = not Win.Visible end end) loop(0.5, function() local where = inMatch() and (amEntity() and "In a match · you're the entity" or "In a match") or (LP:GetAttribute("Spectating") and "Spectating" or "In the lobby") status(string.format("%s · Level %s · $%s\n%s", where, tostring(LP:GetAttribute("Level") or "?"), tostring(LP:GetAttribute("Money") or 0), table.concat(roundLines(), "\n"))) local t = {} for name, k in pairs(UPG) do local c = upCost(k) t[#t + 1] = string.format("%s: %s", name, c and ("$" .. c) or "maxed") end table.sort(t) upInfo("Next price · " .. table.concat(t, " · ")) end) function H.Unload() H.alive = false pcall(H.unlit) pcall(H.unbreath) pcall(H.undoor) pcall(RunS.Set3dRenderingEnabled, RunS, true) for _, c in ipairs(H.conns) do pcall(c.Disconnect, c) end for _, i in ipairs(H.insts) do pcall(i.Destroy, i) end if G.HSOD == H then G.HSOD = nil end end notify("Steal Or Die Hub", UIS.KeyboardEnabled and "Ready · RightShift menu" or "Ready · tap the menu button", C.clay) print("[Steal Or Die Hub] by Stizzyyy · always free & keyless · rscripts.net/@Stizzyyy") end HubBody()