-- [[ 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. ]]
--[[ Dandy's World Hub · PC + mobile
RightShift = show/hide menu · F6 = stop every automation
Auto skill checks (bar, circle, treadmill), auto pick up items + research capsules, auto heal + candies,
auto ready + ranked card pick, Twisted path prediction, danger zones, your route, Twisted / Blot hand / machine / item / capsule / elevator / player ESP with tracers and rings,
Twisted alert + list, info panel, fullbright, walk speed (up to the game's own cap), camera zoom,
FPS cap, 3D rendering off, server hop / rejoin, reload after teleport, anti-AFK. ]]
if game.GameId ~= 5569032992 then return end -- Dandy's World only
if not game:IsLoaded() then game.Loaded:Wait() end
local G = getgenv()
if G.DWH and G.DWH.Unload then pcall(G.DWH.Unload) end
local H = {conns = {}, insts = {}, alive = true}
G.DWH = 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")
local VIM = game:GetService("VirtualInputManager")
while not Players.LocalPlayer do task.wait() end
local LP = Players.LocalPlayer
local okHui, HUI = pcall(function() return gethui and gethui() end) -- gethui can hiccup right after a reload
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 = {
-- auto
AutoSkill = true, SkillGrade = "Great", SkillDelay = 900,
-- loot
AutoPickup = true, Capsules = true, Tapes = true, Heals = true, Candies = true, OtherItems = false,
-- survive
AutoHeal = true, HealAt = 1, AutoCandy = true,
-- lobby
AutoQueue = false, Gate = "Center", AutoCodes = true,
-- shop
AutoBuy = false, BuyHeals = true, BuyCandies = true, BuyOther = false, BuyReserve = 0,
-- match
AutoReady = false, AutoCard = false, CardMode = "Best", FavCard = "Heal",
-- visuals
TwistedESP = true, Rings = true, ZoneSize = 0, TwistedPath = true, HandESP = true, HazardESP = true, MyPath = true, Tracers = false, MachineESP = true, ItemESP = true, CapsuleESP = true, ElevatorESP = true, PlayerESP = true,
ESPRange = 500, Alert = true, AlertDist = 45, TwistedList = true, Panel = true, Fullbright = false,
-- player
SpeedOn = false, Speed = 20, Zoom = 30, ZoomOn = false, FirstPerson = false, InfStamina = false, RunSpeed = 25,
-- extras
AntiAFK = true, Notify = true, FPSCap = 0, No3D = false, ReloadTP = true,
}
local CFG = "DWHub.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 = "DWH" .. 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 = "Dandy's World 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(1, 1), Position = UDim2.new(1, -16, 1, -16), Size = UDim2.fromOffset(300, 400), BackgroundTransparency = 1}, Gui)
inst("UIListLayout", {Padding = UDim.new(0, 8), VerticalAlignment = Enum.VerticalAlignment.Bottom, SortOrder = Enum.SortOrder.LayoutOrder}, Toasts)
local toastN = 0
local function notify(title, text, col)
if not S.Notify then return end
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(60, 0), AutomaticSize = Enum.AutomaticSize.Y, BackgroundColor3 = WHITE, BackgroundTransparency = math.clamp(TH.glass / 100, 0, 0.6), BorderSizePixel = 0}, holder)
corner(f, 16) rim(f, 0.82)
-- slides in from the right, and back out when it's done
tween(f, 0.4, {Position = UDim2.new()}, Enum.EasingStyle.Back)
task.delay(4.2, function() if f.Parent then tween(f, 0.3, {Position = UDim2.fromOffset(340, 0)}, Enum.EasingStyle.Quad, Enum.EasingDirection.In) end end)
inst("UIGradient", {Rotation = 90, Color = ColorSequence.new(C.bg:Lerp(WHITE, 0.14), C.bg)}, f)
local dot = inst("Frame", {Size = UDim2.fromOffset(8, 8), Position = UDim2.fromOffset(14, 14), BackgroundColor3 = col or C.clay, BorderSizePixel = 0}, f)
corner(dot, "pill")
inst("UIStroke", {Color = col or C.clay, Thickness = 3, Transparency = 0.6}, dot)
inst("UIPadding", {PaddingTop = UDim.new(0, 10), PaddingBottom = UDim.new(0, 11), PaddingLeft = UDim.new(0, 32), PaddingRight = UDim.new(0, 14)}, f)
inst("TextLabel", {Text = "" .. title .. "\n" .. text, RichText = true, FontFace = face(), TextSize = 13, TextColor3 = C.text, BackgroundTransparency = 1,
Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left}, f)
task.delay(4.6, function() if holder.Parent then holder:Destroy() end end)
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 Events = RS:WaitForChild("Events")
local Info = workspace:WaitForChild("Info")
local paused = false
local F = {} -- shared helpers between sections (keeps each section's locals small)
local function iv(n) local v = Info:FindFirstChild(n) return v and v:IsA("ValueBase") and v.Value end
local function la(k) return LP:GetAttribute(k) end
local function room() local cr = workspace:FindFirstChild("CurrentRoom") return cr and cr:GetChildren()[1] end
local function myChar() return LP.Character end
local function myRoot() local c = LP.Character return c and c:FindFirstChild("HumanoidRootPart") end
local function myHum() local c = LP.Character return c and c:FindFirstChildOfClass("Humanoid") end
local function stat(n) local c = LP.Character local s = c and c:FindFirstChild("Stats") local v = s and s:FindFirstChild(n) return v and v.Value end
local function flat(v) return Vector3.new(v.X, 0, v.Z) end
local function posOf(m)
if not m then return nil end
if m:IsA("BasePart") then return m.Position end
if m:IsA("Attachment") then return m.WorldPosition end
local ok, cf = pcall(m.GetPivot, m)
return ok and cf.Position or nil
end
local function alive() local h = myHum() return h and h.Health > 0 and la("isDead") ~= true end
local function inElevator() return stat("InElevator") == true end
local floorDone
local function onFloor()
local igp = workspace:FindFirstChild("InGamePlayers")
return iv("FloorActive") == true and room() ~= nil and myChar() and myChar().Parent == igp and alive() and not (inElevator() and floorDone())
end
local function isMe(v) return v ~= nil and (v == LP or v == LP.Character) end
local function dist(p) local r = myRoot() return r and p and flat(p - r.Position).Magnitude or math.huge end
local function prettyTwisted(n) return "Twisted " .. (tostring(n):gsub("Monster$", "")) end
-- every Twisted on the floor, with where it's walking to and who it's chasing
local function twisteds()
local t, rm = {}, room()
local f = rm and rm:FindFirstChild("Monsters")
for _, m in ipairs(f and f:GetChildren() or {}) do
local root = m:FindFirstChild("HumanoidRootPart") or m.PrimaryPart
local p = posOf(root or m)
if p then
local ch, cv, hum = m:FindFirstChild("Chaser"), m:FindFirstChild("Chasing"), m:FindFirstChildOfClass("Humanoid")
local tv = m:FindFirstChild("ChasingValue")
t[#t + 1] = {m = m, root = root, pos = p, name = prettyTwisted(m.Name), chasing = m:GetAttribute("Chasing") == true or (cv and cv.Value == true),
alerted = m:GetAttribute("Alerted") == true, attacking = m:GetAttribute("Attacking") == true, target = tv and tv.Value,
goal = hum and hum.WalkToPoint ~= Vector3.zero and hum.WalkToPoint or nil, speed = hum and hum.WalkSpeed or 0,
instant = ch and ch:FindFirstChild("InstantRadius") and ch.InstantRadius.Value or 25}
end
end
return t
end
-- Twisted Blot's hands: they come out of an ichor puddle and grab anyone inside their zone (~12 studs)
local function hands()
local t, rm = {}, room()
for _, z in ipairs(rm and rm:GetChildren() or {}) do
if z:GetAttribute("IsBlotHand") or z.Name:find("^BlotHandZone") then
local tz, pd = z:FindFirstChild("TriggerZone", true), z:FindFirstChild("IchorPuddle", true)
local p = posOf(pd or tz or z)
if p then t[#t + 1] = {z = z, pos = p, r = tz and math.max(tz.Size.X, tz.Size.Z) / 2 or 12, part = pd or tz} end
end
end
return t
end
-- anything dangerous: Twisteds + Blot hands, as {pos, r (stay-away radius), name, chasing}
local function threats()
local t = {}
for _, tw in ipairs(twisteds()) do t[#t + 1] = {pos = tw.pos, r = 0, name = tw.name, chasing = tw.chasing, tw = tw} end
for _, h in ipairs(hands()) do t[#t + 1] = {pos = h.pos, r = h.r, name = "Blot hand", chasing = false} end
return t
end
-- how close the nearest threat is, minus its own radius (so a Blot hand counts from the edge of its zone)
local function nearestThreat(p)
local best, bd
for _, th in ipairs(threats()) do local d = flat(th.pos - p).Magnitude - th.r if not bd or d < bd then best, bd = th, d end end
return best, bd or math.huge
end
-- machines (generators)
local function machines()
local t, rm = {}, room()
local f = rm and rm:FindFirstChild("Generators")
for _, g in ipairs(f and f:GetChildren() or {}) do
local st = g:FindFirstChild("Stats")
local pr = g:FindFirstChild("ProximityPrompt", true)
if st and pr then
-- who's on it: either slot (dual machines have two), else another player standing right at it
local ap, ap2 = st:FindFirstChild("ActivePlayer"), st:FindFirstChild("ActivePlayer2")
local pos = posOf(pr.Parent) or posOf(g)
local user = (ap and ap.Value) or (ap2 and ap2.Value)
local mine = isMe(ap and ap.Value) or isMe(ap2 and ap2.Value)
if not user and pos then
local igp = workspace:FindFirstChild("InGamePlayers")
for _, c in ipairs(igp and igp:GetChildren() or {}) do
local r = c ~= LP.Character and c:FindFirstChild("HumanoidRootPart")
if r and (r.Position - pos).Magnitude < 7 then user = c break end
end
end
local busy = not mine and (user ~= nil or g:GetAttribute("AnyActiveSlot") == true)
t[#t + 1] = {g = g, prompt = pr, pos = pos, done = st:FindFirstChild("Completed") and st.Completed.Value == true,
cur = st:FindFirstChild("CurrentAmount") and st.CurrentAmount.Value or 0, req = st:FindFirstChild("RequiredAmount") and st.RequiredAmount.Value or 1,
user = mine and LP.Character or user, busy = busy}
end
end
return t
end
-- loose items + research capsules
local HEALS = {Bandage = true, HealthKit = true}
local CANDY = {SpeedCandy = true, StaminaCandy = true, StealthCandy = true, SkillCheckCandy = true, ExtractionSpeedCandy = true}
local function items()
local t, rm = {}, room()
local f = rm and rm:FindFirstChild("Items")
for _, it in ipairs(f and f:GetChildren() or {}) do
local pr = it:FindFirstChild("ProximityPrompt", true)
if pr then
local mon = it:FindFirstChild("Monster", true)
t[#t + 1] = {m = it, prompt = pr, pos = posOf(pr.Parent) or posOf(it), name = it.Name, capsule = it.Name == "ResearchCapsule", of = mon and mon:IsA("StringValue") and mon.Value}
end
end
return t
end
local function wantItem(it)
if it.capsule then return S.Capsules end
if it.name == "Tape" then return S.Tapes end
if HEALS[it.name] then return S.Heals end
if CANDY[it.name] then return S.Candies end
return S.OtherItems
end
local function elevatorSpot()
local e = workspace:FindFirstChild("Elevators") and workspace.Elevators:FindFirstChildWhichIsA("Model")
if not e then return nil end
local hb = e:FindFirstChild("ElevatorHitBox") or e:FindFirstChild("Base")
local inside = e:FindFirstChild("SpawnZones") or e:FindFirstChild("Base") or hb
local fz = e:FindFirstChild("ForceZone")
local floorAt = fz and fz.Position.Y or (inside and inside.Position.Y)
local spot = inside and Vector3.new(inside.Position.X, floorAt or inside.Position.Y, inside.Position.Z)
return spot, e, hb or inside, fz and fz.Position -- last one: just outside the door, always reachable
end
floorDone = function() return (iv("GeneratorsCompleted") or 0) >= (iv("RequiredGenerators") or 99) end
----------------------------------------------------------------- skill checks: the server asks your client for the grade, we answer like a perfect press
local ST = {start = os.clock(), checks = 0, machines = 0, items = 0, capsules = 0, heals = 0, floors = 0}
H.ST = ST
do
local SU = Events:WaitForChild("SkillcheckUpdate", 5)
local orig = SU and getcallbackvalue and getcallbackvalue(SU, "OnClientInvoke")
if orig then
SU.OnClientInvoke = function(a, b, c)
if H.alive and S.AutoSkill and not paused and a and a ~= "cancel" then
local wait
local treadmill = type(b) == "table" and b.type == "treadmill"
if type(b) == "table" and b.type == "circle" then
wait = S.SkillDelay / 1000 * (0.75 + math.random() * 0.5)
elseif treadmill then
-- tap game: 4-8 taps in 3 s depending on your Toon; answer after a believable tapping time
local bs = b.boundarySize or 188
local taps = bs >= 250 and 4 or bs >= 200 and 5 or bs >= 150 and 6 or bs >= 120 and 4 or bs >= 100 and 7 or 8
wait = 0.35 + taps * (0.13 + math.random() * 0.05)
elseif type(b) == "number" and type(c) == "number" then
-- horizontal bar: the needle crosses in 2 s after a 1 s lead-in; answer when it would be in the zone
local start = math.clamp(c, 0.1, 0.75)
local gold = start + (b - b / 3) / 2 + b / 6
wait = 1 + 2 * (S.SkillGrade == "Great" and gold or start + b / 2) + (math.random() - 0.5) * 0.08
end
if wait then
task.wait(math.max(0.3, wait))
ST.checks += 1
if treadmill then return true end
return S.SkillGrade == "Great" and "supercomplete" or true
end
end
return orig(a, b, c)
end
H.restoreSkill = function() SU.OnClientInvoke = orig end
H.skillOK = true
end
end
----------------------------------------------------------------- paths (only for the drawn lines and the lobby queue)
local PFS = game:GetService("PathfindingService")
local MOVEKEYS = {Enum.KeyCode.W, Enum.KeyCode.A, Enum.KeyCode.S, Enum.KeyCode.D, Enum.KeyCode.Up, Enum.KeyCode.Down, Enum.KeyCode.Left, Enum.KeyCode.Right}
local function manual()
if UIS:GetFocusedTextBox() then return false end
for _, k in ipairs(MOVEKEYS) do if UIS:IsKeyDown(k) then return true end end
return false
end
local function findPath(from, to)
local path = PFS:CreatePath({AgentRadius = 2.2, AgentHeight = 5.5, AgentCanJump = false, AgentCanClimb = false, WaypointSpacing = 4})
local ok = pcall(path.ComputeAsync, path, from, to)
if ok and (path.Status == Enum.PathStatus.Success or path.Status == Enum.PathStatus.ClosestNoPath) then
local pts = {}
for _, w in ipairs(path:GetWaypoints()) do pts[#pts + 1] = w.Position end
return pts, path.Status == Enum.PathStatus.Success
end
end
----------------------------------------------------------------- items: use from your inventory the same way the item keys do
local ItemEvent = Events:FindFirstChild("ItemEvent")
local function slotWith(pred)
local c = myChar()
local inv = c and c:FindFirstChild("Inventory")
for i = 1, 3 do
local s = inv and inv:FindFirstChild("Slot" .. i)
if s and s.Value ~= "None" and pred(s.Value) then return s end
end
end
local function useSlot(s) local c = myChar() if c and s and ItemEvent then return pcall(ItemEvent.InvokeServer, ItemEvent, c, s) end end
local candyAt = {}
local function candy(name, why)
if not S.AutoCandy or os.clock() - (candyAt[name] or 0) < 8 then return end
local s = slotWith(function(v) return v == name end)
if s then candyAt[name] = os.clock() useSlot(s) if S.Notify then notify("Candy", name .. " · " .. why) end end
end
loop(0.5, function()
if paused or not onFloor() then return end
local h = myHum()
if S.AutoHeal and h and h.Health <= S.HealAt and h.Health < h.MaxHealth then
local s = slotWith(function(v) return HEALS[v] end)
if s and os.clock() - (candyAt.heal or 0) > 3 then candyAt.heal = os.clock() useSlot(s) ST.heals += 1 notify("Healed", s.Value) end
end
local _, td = nearestThreat(myRoot().Position)
if td < 25 then candy("StealthCandy", "a Twisted is close") end
local chased, working = false, false
for _, tw in ipairs(twisteds()) do if tw.chasing and dist(tw.pos) < 40 then chased = true end end
for _, m in ipairs(machines()) do if isMe(m.user) and not m.done then working = true end end
if stat("Sprinting") == true and (stat("CurrentStamina") or 100) < 30 then candy("StaminaCandy", "low stamina") end
if chased then candy("SpeedCandy", "being chased") end
if working then candy("ExtractionSpeedCandy", "on a machine") candy("SkillCheckCandy", "on a machine") end
end)
-- auto pick up: grabs wanted items the moment they're in reach, even while you walk yourself
local picked = setmetatable({}, {__mode = "k"})
loop(0.2, function()
if paused or not S.AutoPickup or not onFloor() then return end
for _, it in ipairs(items()) do
if wantItem(it) and not picked[it.m] and dist(it.pos) <= it.prompt.MaxActivationDistance - 0.5 then
picked[it.m] = true
fireproximityprompt(it.prompt)
if it.capsule then ST.capsules += 1 else ST.items += 1 end
task.delay(2, function() picked[it.m] = nil end)
end
end
end)
----------------------------------------------------------------- status line
H.why = "idle"
loop(0.3, function()
H.why = paused and "paused (F6)" or F.lobbyWhy or (onFloor() and "on a floor") or "waiting for a floor"
end)
do
local last = iv("Floor")
local fv = Info:FindFirstChild("Floor")
if fv then conn(fv:GetPropertyChangedSignal("Value"), function() if iv("Floor") ~= last then last = iv("Floor") ST.floors += 1 end end) end
end
----------------------------------------------------------------- lobby: queue into a gate, redeem codes
local LOBBY = workspace:FindFirstChild("Elevators") and workspace.Elevators:FindFirstChild("CenterGate") ~= nil
local CODES = {"ICHOR", "AD2026", "QOM", "RESEARCHMOBILE"} -- the game itself says which are still valid; only unclaimed ones get redeemed
function H.RedeemCodes(loud)
local CD, CE, CE2 = RS:FindFirstChild("CodeData"), RS:FindFirstChild("CodeEvent"), Events:FindFirstChild("CodeEvent")
if not (CD and CE) then if loud then notify("Codes", "Only works in the lobby") end return end
local got = {}
for _, code in ipairs(CODES) do
local ok, st = pcall(CD.InvokeServer, CD, code)
if ok and st == "Unclaimed" then
if CE2 then pcall(CE2.FireServer, CE2, code) end
local ok2, msg = pcall(CE.InvokeServer, CE, code)
got[#got + 1] = code .. (ok2 and msg and (": " .. tostring(msg)) or "")
end
task.wait(0.4)
end
if #got > 0 then notify("Codes redeemed", table.concat(got, "\n")) elseif loud then notify("Codes", "No new codes to redeem") end
end
if LOBBY then
if S.AutoCodes then task.delay(4, function() if H.alive then H.RedeemCodes(false) end end) end
-- walk into the gate you picked (the gate's own script queues you when you step in)
local gates = {Left = "LeftGate", Center = "CenterGate", Right = "RightGate"}
local walking = false
loop(1, function()
if walking or paused or not S.AutoQueue or la("InLobby") == true or la("Teleporting") == true or manual() then return end
local r, h = myRoot(), myHum()
if not (r and h) then return end
local pick
if S.Gate == "Any" then
local bd
for _, n in pairs(gates) do
local g = workspace.Elevators:FindFirstChild(n)
if g and g:GetAttribute("Disabled") ~= true and g:FindFirstChild("Gate") then
local d = dist(g.Gate.Position)
if not bd or d < bd then pick, bd = g, d end
end
end
else pick = workspace.Elevators:FindFirstChild(gates[S.Gate] or "CenterGate") end
local gate = pick and pick:FindFirstChild("Gate")
if not gate or pick:GetAttribute("Disabled") == true then return end
walking = true
F.lobbyWhy = "walking to the " .. pick.Name:gsub("Gate$", "") .. " gate"
-- paths can't reach the gate itself: walk to a spot in front of it (lobby side), then straight through
local look = flat(gate.CFrame.LookVector).Unit
local side = (r.Position - gate.Position):Dot(look) >= 0 and 1 or -1
local approach = gate.Position + look * 6 * side
local pts = findPath(r.Position, approach)
for _, wp in ipairs(pts or {}) do
if not H.alive or manual() or la("InLobby") == true then break end
h:MoveTo(wp)
local t0 = os.clock()
while H.alive and flat(wp - r.Position).Magnitude > 2 and os.clock() - t0 < 3 and la("InLobby") ~= true do task.wait(0.05) end
end
if la("InLobby") ~= true and pts then
F.lobbyWhy = "stepping into the gate"
h:MoveTo(gate.Position - look * 5 * side)
local t0 = os.clock()
while H.alive and os.clock() - t0 < 3 and la("InLobby") ~= true do task.wait(0.1) end
end
F.lobbyWhy = la("InLobby") == true and "queued in a gate" or (pts and "trying the gate again" or "no way to the gate from here")
walking = false
end)
end
----------------------------------------------------------------- Dandy's Store: buys what you pick with tapes, keeping a reserve
local function tapes()
local ps = Info:FindFirstChild("PlayerStats")
local me = ps and ps:FindFirstChild(LP.Name)
local sp = me and me:FindFirstChild("SurvivalPoints")
return sp and sp.Value or 0
end
local function freeSlot()
local c = myChar() local inv = c and c:FindFirstChild("Inventory")
for i = 1, 3 do local sl = inv and inv:FindFirstChild("Slot" .. i) if sl and sl.Value == "None" then return true end end
return false
end
local function shopWants(name)
local n = name:lower()
if n:find("bandage") or n:find("health") or n:find("medkit") then return S.BuyHeals end
if n:find("candy") then return S.BuyCandies end
return S.BuyOther
end
local boughtAt = setmetatable({}, {__mode = "k"})
loop(0.3, function()
if paused or not S.AutoBuy or iv("DandyStoreOpen") ~= true or not inElevator() or not alive() or manual() then return end
local e = workspace:FindFirstChild("Elevators") and workspace.Elevators:FindFirstChildWhichIsA("Model")
local store = e
if not F.shopLogged then
F.shopLogged = true
local seen = {}
for _, pr in ipairs(e and e:GetDescendants() or {}) do if pr:IsA("ProximityPrompt") then seen[#seen + 1] = "[" .. pr.ActionText .. " | " .. pr.ObjectText .. "]" end end
print("[DWH shop] on sale: " .. (#seen > 0 and table.concat(seen, " ") or "no prompts found"))
end
local best, bp
for _, pr in ipairs(store and store:GetDescendants() or {}) do
if pr:IsA("ProximityPrompt") and pr.Enabled and not (boughtAt[pr] and os.clock() - boughtAt[pr] < 4) then
local txt = pr.ActionText .. " " .. pr.ObjectText
local price = tonumber(txt:match("(%d+)%s*[Tt]ape"))
local name = txt:find("[Tt]ape") and (pr.ActionText:find("[Tt]ape") and pr.ObjectText or pr.ActionText) or pr.ObjectText
if price and shopWants(name) and tapes() - price >= S.BuyReserve and freeSlot() and (not bp or price < bp) then best, bp = {pr = pr, name = name, price = price}, price end
end
end
if not best then return end
local at = posOf(best.pr.Parent)
if at and dist(at) > best.pr.MaxActivationDistance - 0.5 then return end -- only items in reach (stand by the counter)
boughtAt[best.pr] = os.clock()
fireproximityprompt(best.pr)
notify("Dandy's Store", string.format("Bought %s · %d tapes", best.name, best.price))
task.wait(0.6)
end)
----------------------------------------------------------------- match: ready up and card votes
-- card ranking for staying alive and farming (every card helps; this is the order they help most)
local CARD_RANK = {"Machine", "Stamina", "Stamina2", "Heal", "Heal2", "MonsterPanicReduction", "Elevator", "Elevator2", "SurvivalPoint", "SurvivalPoint2",
"RandomItem", "RandomItem2", "ItemRarity", "ItemRarity2", "AbilityCooldown", "AbilityCooldown2", "DandyDiscount", "BlackOut", "PipingTape",
"FrostShield", "PollenShield", "PartyCrashers", "GlowLight", "DyleFloor"}
local function cardScore(name)
for i, n in ipairs(CARD_RANK) do if n == name then
local s = i
-- someone hurt: healing jumps to the top
if name:find("^Heal") then
local igp = workspace:FindFirstChild("InGamePlayers")
for _, c in ipairs(igp and igp:GetChildren() or {}) do local h = c:FindFirstChildOfClass("Humanoid") if h and h.Health < h.MaxHealth then s = 0 end end
end
if S.CardMode == "Best for tapes" and name:find("^SurvivalPoint") then s = -1 end
return s
end end
return 50
end
do
local RE = Events:FindFirstChild("ReadyUpEvent")
local readyAt = 0
loop(2, function()
if not (S.AutoReady and not paused and RE and inElevator()) then return end
local rp = Info:FindFirstChild("ReadyUpPlayers")
if rp and rp:FindFirstChild(LP.Name) then return end
if os.clock() - readyAt > 6 then readyAt = os.clock() RE:FireServer("ReadyUp") end
end)
local CV = Events:FindFirstChild("CardVoteEvent")
local voted = false
loop(0.5, function()
local voting = Info:FindFirstChild("CardVoting")
if not (voting and voting.Value) then voted = false return end
if voted or paused or not S.AutoCard or not CV then return end
local cards = Info.CardVote:GetChildren()
if #cards == 0 then return end
local pick
if S.CardMode == "Favourite" then for _, c in ipairs(cards) do if c.Name == S.FavCard then pick = c end end end
if not pick and (S.CardMode == "Best" or S.CardMode == "Best for tapes" or S.CardMode == "Favourite") then
table.sort(cards, function(a, b) return cardScore(a.Name) < cardScore(b.Name) end)
pick = cards[1]
end
if not pick then pick = S.CardMode == "First" and cards[1] or cards[math.random(#cards)] end
task.wait(0.8 + math.random())
voted = true
CV:FireServer(pick)
local cm = RS:FindFirstChild("CardModules") and RS.CardModules:FindFirstChild(pick.Name)
local ok, data = pcall(require, cm)
notify("Card vote", "Voted " .. (ok and type(data) == "table" and data.Name or pick.Name))
end)
end
----------------------------------------------------------------- visuals
local ESPF = inst("Folder", {Name = "DWH_ESP"}, HUI)
H.insts[#H.insts + 1] = ESPF
-- world drawings (danger discs, paths) live under the camera: only you see them, nothing can touch them
local WF = inst("Folder", {Name = "DWH_World"}, workspace.CurrentCamera)
H.insts[#H.insts + 1] = WF
local RED, ORANGE, CYAN, GREEN, GOLD, MAGENTA, WHITE = Color3.fromRGB(255, 60, 70), Color3.fromRGB(255, 150, 50), Color3.fromRGB(70, 210, 255), Color3.fromRGB(90, 230, 130), Color3.fromRGB(245, 200, 70), Color3.fromRGB(230, 90, 255), Color3.fromRGB(235, 235, 235)
local esp = {}
local function tag(key, adornee, model, col, text, size)
local o = esp[key]
if not o then
o = {}
if model then o.hl = inst("Highlight", {FillTransparency = 0.75, OutlineTransparency = 0, DepthMode = Enum.HighlightDepthMode.AlwaysOnTop}, ESPF) end
o.bb = inst("BillboardGui", {Size = UDim2.fromOffset(220, 40), StudsOffset = Vector3.new(0, model and 3.5 or 1.8, 0), AlwaysOnTop = true, LightInfluence = 0}, ESPF)
o.tx = inst("TextLabel", {Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = size or 13, TextStrokeTransparency = 0.4, RichText = true}, o.bb)
esp[key] = o
end
o.seen = true
if o.hl then o.hl.Adornee, o.hl.FillColor, o.hl.OutlineColor = model, col, col end
o.bb.Adornee, o.tx.TextColor3, o.tx.Text = adornee, col, text
end
-- floor height under a point (so danger discs sit on the floor, not under it)
local rayP = RaycastParams.new()
rayP.FilterType = Enum.RaycastFilterType.Exclude
local function floorY(p)
local ign = {WF}
local igp = workspace:FindFirstChild("InGamePlayers") if igp then ign[#ign + 1] = igp end
local rm = room() local mf = rm and rm:FindFirstChild("Monsters") if mf then ign[#ign + 1] = mf end
rayP.FilterDescendantsInstances = ign
local hit = workspace:Raycast(p + Vector3.new(0, 3, 0), Vector3.new(0, -40, 0), rayP)
return hit and hit.Position.Y or p.Y - 3
end
-- danger discs
local discs, discSeen = {}, {}
local function disc(key, pos, r, col)
local d = discs[key]
if not d then
d = inst("Part", {Shape = Enum.PartType.Cylinder, Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, Material = Enum.Material.Neon, Transparency = 0.7}, WF)
discs[key] = d
end
discSeen[key] = true
d.Color, d.Size = col, Vector3.new(0.15, r * 2, r * 2)
d.CFrame = CFrame.new(pos.X, floorY(pos) + 0.12, pos.Z) * CFrame.Angles(0, 0, math.rad(90))
end
-- paths: thin neon segments between points
local paths = {}
local function drawPath(key, pts, col, width)
local list = paths[key] or {}
paths[key] = list
local n = 0
for i = 1, (pts and #pts or 0) - 1 do
local a, b = pts[i] + Vector3.new(0, 0.3, 0), pts[i + 1] + Vector3.new(0, 0.3, 0)
local len = (b - a).Magnitude
if len > 0.05 then
n += 1
local p = list[n]
if not p then p = inst("Part", {Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, Material = Enum.Material.Neon, Transparency = 0.25}, WF) list[n] = p end
p.Color, p.Size, p.CFrame, p.Transparency = col, Vector3.new(width or 0.3, 0.12, len), CFrame.lookAt((a + b) / 2, b), 0.25
end
end
for i = n + 1, #list do list[i].Transparency = 1 end
end
local function clearPath(key) drawPath(key, nil) end
local boxes, boxSeen = {}, {}
local function zoneBox(key, part, col)
local b = boxes[key]
if not b then
b = inst("Part", {Anchored = true, CanCollide = false, CanQuery = false, CanTouch = false, CastShadow = false, Material = Enum.Material.Neon, Transparency = 0.65}, WF)
boxes[key] = b
end
boxSeen[key] = true
local cf = part.CFrame
b.Color, b.Size = col, Vector3.new(part.Size.X, 0.15, part.Size.Z)
b.CFrame = CFrame.new(cf.X, floorY(cf.Position) + 0.14, cf.Z) * (cf - cf.Position)
end
-- "IchorPuddleZone_Zone_123" -> "Ichor Puddle"
local function zoneName(n) return ((n:gsub("_Zone_.*$", ""):gsub("Zone$", ""):gsub("(%l)(%u)", "%1 %2"))) end
local function hazards()
local t, rm = {}, room()
for _, z in ipairs(rm and rm:GetChildren() or {}) do
if z:IsA("BasePart") and z.Name:find("PuddleZone") then t[#t + 1] = {part = z, name = zoneName(z.Name)} end
end
return t
end
-- overlay: tracers (plain GUI lines)
local Ov = inst("ScreenGui", {Name = "DWH_OV" .. math.random(1e5, 1e6), IgnoreGuiInset = true, ResetOnSpawn = false, DisplayOrder = 40}, HUI)
H.insts[#H.insts + 1] = Ov
local pool, used = {}, 0
local function line(a, b, col)
used += 1
local f = pool[used]
if not f then f = inst("Frame", {AnchorPoint = Vector2.new(0.5, 0.5), BorderSizePixel = 0}, Ov) pool[used] = f end
local d = b - a
f.Visible, f.BackgroundColor3 = true, col
f.Position, f.Size, f.Rotation = UDim2.fromOffset((a.X + b.X) / 2, (a.Y + b.Y) / 2), UDim2.fromOffset(d.Magnitude, 1.6), math.deg(math.atan2(d.Y, d.X))
end
local tracerList = {}
conn(RunS.RenderStepped, function()
used = 0
if S.Tracers then
local cam = workspace.CurrentCamera
local vp = cam.ViewportSize
for _, t in ipairs(tracerList) do
local v, on = cam:WorldToViewportPoint(t[1])
if on and v.Z > 0 then line(Vector2.new(vp.X / 2, vp.Y - 2), Vector2.new(v.X, v.Y), t[2]) end
end
end
for i = used + 1, #pool do pool[i].Visible = false end
end)
local Warn = inst("TextLabel", {AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 96), Size = UDim2.fromOffset(520, 34), BackgroundTransparency = 1,
Font = Enum.Font.GothamBold, TextSize = 22, TextColor3 = RED, TextStrokeTransparency = 0.3, Text = "", Visible = false}, Gui)
local function panel(pos, anchor)
local l = inst("TextLabel", {Position = pos, AnchorPoint = anchor, 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, Visible = false}, Gui)
corner(l, 8) stroke(l)
inst("UIPadding", {PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 12)}, l)
dragify(l, l)
return l
end
local Panel = panel(UDim2.new(1, -16, 0.5, -80), Vector2.new(1, 0))
local List = panel(UDim2.new(0, 16, 0.5, -80), Vector2.new(0, 0))
-- ESP, danger zones, alert, list, panel
loop(0.15, function()
for _, o in pairs(esp) do o.seen = false end
table.clear(discSeen)
table.clear(boxSeen)
local tr = {}
local closest, cd
if myRoot() and room() then
for _, tw in ipairs(twisteds()) do
local d = dist(tw.pos)
if not cd or d < cd then closest, cd = tw, d end
local col = (tw.chasing or tw.attacking) and RED or tw.alerted and ORANGE or Color3.fromRGB(255, 110, 120)
if S.TwistedESP and d <= S.ESPRange then
local state = tw.attacking and "ATTACKING" or tw.chasing and "CHASING" or tw.alerted and "alerted" or "wandering"
tag(tw.m, tw.root or tw.m, tw.m, col, string.format("%s\n%s · %d", tw.name, state, math.floor(d)), 14)
tr[#tr + 1] = {tw.pos, col}
end
if S.Rings and d <= S.ESPRange then disc(tw.m, tw.pos, S.ZoneSize > 0 and S.ZoneSize or tw.instant, col) end
end
if S.HazardESP then
local PURPLE2 = Color3.fromRGB(170, 70, 255)
for _, hz in ipairs(hazards()) do
local d = dist(hz.part.Position)
if d <= S.ESPRange then
zoneBox(hz.part, hz.part, PURPLE2)
tag(hz.part, hz.part, nil, PURPLE2, string.format("%s\n%d", hz.name:upper(), math.floor(d)), 12)
end
end
-- anything lying in the puddles (not the puddles themselves)
local pf = room():FindFirstChild("Puddles")
for _, m in ipairs(pf and pf:GetChildren() or {}) do
if not m.Name:find("Puddle") then
local pp = posOf(m)
if pp and dist(pp) <= S.ESPRange then tag(m, m:IsA("BasePart") and m or m:FindFirstChildWhichIsA("BasePart", true), m, PURPLE2, string.format("%s · %d", (m.Name:gsub("_v%d+$", "")), math.floor(dist(pp))), 12) end
end
end
end
for _, hd in ipairs(hands()) do
local d = dist(hd.pos)
if S.HandESP and d <= S.ESPRange then
local arm = hd.z:FindFirstChild("Arm", true)
tag(hd.z, hd.part, arm and arm.Parent or nil, Color3.fromRGB(150, 90, 255), string.format("BLOT HAND\n%d", math.floor(d)), 13)
disc(hd.z, hd.pos, hd.r, Color3.fromRGB(150, 90, 255))
end
if not cd or d - hd.r < cd then closest, cd = {name = "Blot hand", chasing = false}, math.max(d - hd.r, 0) end
end
if S.MachineESP then
for _, m in ipairs(machines()) do
if not m.done and dist(m.pos) <= S.ESPRange then
local who = m.user and m.user.Name or (m.busy and "in use") or nil
local pct = math.floor(m.cur / math.max(m.req, 1) * 100)
tag(m.g, m.prompt.Parent, m.g, pct >= 50 and GREEN or CYAN, string.format("MACHINE %d%%%s\n%d", pct, who and (" · " .. who) or "", math.floor(dist(m.pos))), 13)
end
end
end
for _, it in ipairs(items()) do
local d = dist(it.pos)
if d <= S.ESPRange then
if it.capsule and S.CapsuleESP then tag(it.m, it.prompt.Parent, it.m, GREEN, string.format("CAPSULE%s · %d", it.of and (" · " .. tostring(it.of):gsub("Monster$", "")) or "", math.floor(d)), 12)
elseif not it.capsule and S.ItemESP then tag(it.m, it.prompt.Parent, nil, GOLD, string.format("%s · %d", it.name, math.floor(d)), 12) end
end
end
if S.ElevatorESP and floorDone() then
local spot, e, hb = elevatorSpot()
if spot then tag(e, hb, nil, MAGENTA, string.format("ELEVATOR · %d", math.floor(dist(spot))), 15) end
end
end
if S.PlayerESP then
local igp = workspace:FindFirstChild("InGamePlayers")
for _, c in ipairs(igp and igp:GetChildren() or {}) do
local root = c ~= myChar() and c:FindFirstChild("HumanoidRootPart")
local h = c:FindFirstChildOfClass("Humanoid")
if root and h and h.Health > 0 and dist(root.Position) <= S.ESPRange then
local hearts = string.rep("♥", math.max(math.floor(h.Health), 0)) .. string.rep("♡", math.max(math.floor(h.MaxHealth - h.Health), 0))
tag(c, root, c, WHITE, string.format("%s (%s) %s\n%d", c.Name, tostring(c:GetAttribute("ToonName") or "?"), hearts, math.floor(dist(root.Position))), 12)
end
end
end
tracerList = tr
for key, o in pairs(esp) do
if not o.seen or (typeof(key) == "Instance" and not key.Parent) then if o.hl then o.hl:Destroy() end o.bb:Destroy() esp[key] = nil end
end
for key, d in pairs(discs) do if not discSeen[key] then d:Destroy() discs[key] = nil end end
for key, b in pairs(boxes) do if not boxSeen[key] then b:Destroy() boxes[key] = nil end end
-- alert banner
local onF = onFloor()
Warn.Visible = S.Alert and onF and closest ~= nil and cd <= S.AlertDist
if Warn.Visible then
Warn.TextColor3 = closest.chasing and RED or ORANGE
Warn.Text = string.format("%s %s · %d studs", closest.name:upper(), closest.chasing and "IS CHASING YOU" or "IS CLOSE", math.floor(cd))
end
-- Twisted list
List.Visible = S.TwistedList and onF
if List.Visible then
local lines = {"Twisteds"}
local all = twisteds()
table.sort(all, function(a, b) return dist(a.pos) < dist(b.pos) end)
for _, tw in ipairs(all) do
local hx = (tw.chasing or tw.attacking) and "#ff3c46" or tw.alerted and "#ff9632" or "#ffb0b5"
lines[#lines + 1] = string.format("%s · %s · %d", hx, tw.name, tw.chasing and "chasing" or tw.alerted and "alerted" or "wandering", math.floor(dist(tw.pos)))
end
local nh = #hands()
if nh > 0 then lines[#lines + 1] = string.format("Blot hands · %d out", nh) end
if #all == 0 then lines[#lines + 1] = "none on this floor" end
List.Text = table.concat(lines, "\n")
end
-- info panel
Panel.Visible = S.Panel
if Panel.Visible then
local h = myHum()
local t = os.clock() - ST.start
Panel.Text = table.concat({
"Dandy's World Hub" .. (paused and " PAUSED (F6)" or ""),
string.format("Floor %s · machines %d / %d%s", tostring(iv("Floor") or "?"), iv("GeneratorsCompleted") or 0, iv("RequiredGenerators") or 0, iv("BlackOut") and " · blackout" or ""),
string.format("Hearts %s · stamina %d", h and (string.rep("♥", math.floor(h.Health)) .. string.rep("♡", math.max(math.floor(h.MaxHealth - h.Health), 0))) or "?", math.floor(stat("CurrentStamina") or 0)),
string.format("Session %02d:%02d · floors %d · machines %d", t // 3600, (t // 60) % 60, ST.floors, ST.machines),
string.format("Skill checks %d · capsules %d · items %d · heals %d", ST.checks, ST.capsules, ST.items, ST.heals),
"Doing: " .. H.why,
}, "\n")
end
end)
-- paths: where you're going (machine / elevator) and where each Twisted is heading
loop(0.6, function()
local r = myRoot()
if not (r and room() and onFloor()) then for k in pairs(paths) do clearPath(k) end return end
-- your route: the auto farm's live path, else the way to the nearest unfinished machine (or the elevator once the floor is done)
if S.MyPath then
local goal, col
if floorDone() then goal, col = elevatorSpot(), MAGENTA
else
local bd
for _, m in ipairs(machines()) do if not m.done and not m.busy and (not bd or dist(m.pos) < bd) then goal, bd, col = m.pos, dist(m.pos), CYAN end end
end
drawPath("me", goal and findPath(r.Position, goal), col or CYAN, 0.35)
else clearPath("me") end
-- Twisted prediction: the path each one takes to the player it's chasing, or to the spot it's walking to
local live = {}
if S.TwistedPath then
for _, tw in ipairs(twisteds()) do
local goal = tw.target and posOf(tw.target:FindFirstChild("HumanoidRootPart") or tw.target) or tw.goal
if goal and tw.root and flat(goal - tw.pos).Magnitude > 3 then
live[tw.m] = true
drawPath(tw.m, findPath(tw.pos, goal) or {tw.pos, goal}, tw.chasing and RED or Color3.fromRGB(255, 120, 130), tw.chasing and 0.45 or 0.25)
end
end
end
for k in pairs(paths) do if k ~= "me" and not live[k] then clearPath(k) if typeof(k) == "Instance" and not k.Parent then for _, p in ipairs(paths[k]) do p:Destroy() end paths[k] = nil end end end
end)
----------------------------------------------------------------- player + extras
do
local litWas
loop(1, 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, GlobalShadows = Lighting.GlobalShadows, fx = {}} end
Lighting.Ambient, Lighting.OutdoorAmbient, Lighting.Brightness, Lighting.FogEnd, Lighting.FogStart, Lighting.GlobalShadows = Color3.new(1, 1, 1), Color3.new(1, 1, 1), 2, 1e6, 1e6, false
for _, e in ipairs(Lighting:GetChildren()) do
if (e:IsA("Atmosphere") or e:IsA("ColorCorrectionEffect") or e:IsA("BlurEffect")) and litWas.fx[e] == nil then
litWas.fx[e] = e:IsA("Atmosphere") and e.Density or e.Enabled
if e:IsA("Atmosphere") then e.Density = 0 else e.Enabled = false end
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() if e:IsA("Atmosphere") then e.Density = v else e.Enabled = v end end) end
litWas = nil
end
end)
H.unlit = function() if litWas then S.Fullbright = false 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() if e:IsA("Atmosphere") then e.Density = v else e.Enabled = v end end) end end end
-- walk speed: only raises your normal walk, never past the game's own cap of 25 (that's what its anti-cheat allows)
conn(RunS.Heartbeat, function()
local h = myHum()
if not (S.SpeedOn and h and not paused) then return end
local want = math.min(S.Speed, tonumber(la("KM_MAX_PLAYER_SPEED")) or 25, 25)
if h.WalkSpeed > 0 and h.WalkSpeed < want and stat("Sprinting") ~= true then h.WalkSpeed = want end
end)
loop(1, function()
if S.ZoomOn and not S.FirstPerson then LP.CameraMaxZoomDistance = S.Zoom end
if setfpscap then pcall(setfpscap, S.FPSCap > 0 and S.FPSCap or 999) end
pcall(RunS.Set3dRenderingEnabled, RunS, not S.No3D)
end)
-- infinite stamina: while you hold Shift you move at run speed; letting go puts your walk back
local boostFrom
conn(RunS.Heartbeat, function()
local h, c = myHum(), myChar()
if not (h and c) then return end
local holding = (UIS:IsKeyDown(Enum.KeyCode.LeftShift) or UIS:IsKeyDown(Enum.KeyCode.RightShift) or stat("HoldingSprint") == true) and not UIS:GetFocusedTextBox()
local moving = h.MoveDirection.Magnitude > 0.1
local want = math.min(S.RunSpeed, tonumber(la("KM_MAX_PLAYER_SPEED")) or 25, 25)
if S.InfStamina and not paused and holding and moving then
if h.WalkSpeed < want then
boostFrom = boostFrom or h.WalkSpeed
h.WalkSpeed = want
end
elseif boostFrom then
-- let go of Shift: back to the walk speed you had (unless the game changed it meanwhile)
if math.abs(h.WalkSpeed - want) < 0.05 then h.WalkSpeed = boostFrom end
boostFrom = nil
end
end)
-- first person: lock the camera in, and put the old camera back when it's turned off
local camWas
loop(0.5, function()
if S.FirstPerson then
if not camWas then camWas = {mode = LP.CameraMode, maxZ = LP.CameraMaxZoomDistance, minZ = LP.CameraMinZoomDistance} end
if LP.CameraMode ~= Enum.CameraMode.LockFirstPerson then LP.CameraMode = Enum.CameraMode.LockFirstPerson end
elseif camWas then
LP.CameraMode, LP.CameraMaxZoomDistance, LP.CameraMinZoomDistance = camWas.mode, camWas.maxZ, camWas.minZ
camWas = nil
end
end)
H.uncam = function() if camWas then pcall(function() LP.CameraMode, LP.CameraMaxZoomDistance, LP.CameraMinZoomDistance = camWas.mode, camWas.maxZ, camWas.minZ 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(state)
if S.ReloadTP and state == Enum.TeleportState.Started then
pcall(queue_on_teleport, 'task.wait(4) if isfile("DWHub.lua") then loadstring(readfile("DWHub.lua"))() end')
end
end)
end
end
local function newServer(small)
local ok, body = pcall(game.HttpGet, game, "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=" .. (small and "Asc" or "Desc") .. "&limit=100")
local ok2, t = pcall(Http.JSONDecode, Http, ok and body or "")
local list = {}
for _, sv in ipairs(ok2 and type(t) == "table" and t.data or {}) do
if sv.id ~= game.JobId and (sv.playing or 0) < (sv.maxPlayers or 0) then list[#list + 1] = sv end
end
if small then table.sort(list, function(a, b) return (a.playing or 0) < (b.playing or 0) end) return list[1] and list[1].id end
return #list > 0 and list[math.random(#list)].id or nil
end
local function hop(mode)
local TP = game:GetService("TeleportService")
local id = mode == "rejoin" and game.JobId or newServer(mode == "small")
notify("Server", mode == "rejoin" and "Rejoining…" or "Joining another server…")
if not (id and pcall(TP.TeleportToPlaceInstance, TP, game.PlaceId, id, LP)) then pcall(TP.Teleport, TP, game.PlaceId, LP) end
end
----------------------------------------------------------------- menu
local T = UI.tab("Auto")
T:label("Made by Stizzyyy · always free & keyless.\nFound this behind a key system? It's a stolen copy.")
local status = T:label("…")
T:section("Skill checks")
T:toggle("Auto skill checks", "AutoSkill", save, "Answers every machine skill check (bar, circle and treadmill tapping) with the grade you pick, after a person-like delay.")
T:choice("Grade", "SkillGrade", {"Great", "Good"}, save, "Great = the gold zone (fastest), Good = the normal zone (looks more human).")
T:slider("Circle reaction (ms)", "SkillDelay", 400, 2000, 50, save, "How long circle checks take to answer. Bar checks follow the needle on their own.")
if not H.skillOK then T:label("Auto skill checks need a stronger executor.") end
T = UI.tab("Loot")
T:toggle("Auto pick up", "AutoPickup", save, "Picks up the items below the moment you walk into reach, even while you play yourself.")
T:toggle("Research capsules", "Capsules", save)
T:toggle("Tapes", "Tapes", save)
T:toggle("Healing items", "Heals", save, "Bandages and health kits.")
T:toggle("Candies", "Candies", save, "Speed, stamina, stealth, skill check and extraction candies.")
T:toggle("Everything else", "OtherItems", save, "Pop, gumballs, chocolate and the rest.")
T:section("Using items")
T:toggle("Auto heal", "AutoHeal", save, "Uses a bandage or health kit from your bag when you drop to this many hearts.")
T:slider("Heal at hearts", "HealAt", 1, 4, 1, save)
T:toggle("Auto candies", "AutoCandy", save, "Stealth when a Twisted is close, stamina when low, speed when chased, extraction + skill check candy on machines.")
T = UI.tab("Lobby")
T:toggle("Auto queue", "AutoQueue", save, "In the lobby, walks you into the gate you pick so a run starts by itself. WASD cancels it.")
T:choice("Gate", "Gate", {"Center", "Left", "Right", "Any"}, save, "Any = the closest open gate.")
T:toggle("Auto redeem codes", "AutoCodes", save, "In the lobby, redeems every code the game still accepts (it checks each one first, so old or wrong codes are skipped).")
T:button("Redeem codes now", function() task.spawn(H.RedeemCodes, true) end, "ICHOR, AD2026 and a few more, only the ones the game says are unclaimed")
T = UI.tab("Shop")
T:toggle("Auto buy in Dandy's Store", "AutoBuy", save, "While the store in the elevator is open and you stand by the counter, buys the kinds below with tapes (cheapest first) while you have a free slot. Never Robux.")
T:toggle("Healing items", "BuyHeals", save, "Bandages and health kits.")
T:toggle("Candies", "BuyCandies", save, "Speed, stamina, stealth, skill check and extraction candies.")
T:toggle("Everything else", "BuyOther", save)
T:slider("Keep at least (tapes)", "BuyReserve", 0, 1000, 10, save, "Never spends below this many tapes.")
T = UI.tab("Match")
T:toggle("Auto ready up", "AutoReady", save, "Readies you up in the elevator.")
T:toggle("Auto card vote", "AutoCard", save)
T:choice("Card pick", "CardMode", {"Best", "Best for tapes", "Favourite", "Random", "First"}, save,
"Best = Tech Savvy > stamina > First Aid (top when anyone is hurt) > Suppression > elevator time > tapes > items > the rest, TIME'S UP last. Best for tapes = tape cards first.")
do
local cards = {}
local cm = RS:FindFirstChild("CardModules")
for _, c in ipairs(cm and cm:GetChildren() or {}) do cards[#cards + 1] = c.Name end
table.sort(cards)
if #cards > 0 then T:choice("Favourite card", "FavCard", cards, save, "Voted when it's on offer (Favourite mode), else the best one.") end
end
T = UI.tab("Visuals")
T:toggle("Twisted ESP", "TwistedESP", save, "Every Twisted: name, wandering / alerted / chasing (red), distance.")
T:toggle("Danger zones", "Rings", save, "A disc on the floor around each Twisted (red when chasing).")
T:slider("Danger zone size (0 = the game's own)", "ZoneSize", 0, 80, 1, save, "0 uses each Twisted's instant-detection radius from the game.")
T:toggle("Twisted path prediction", "TwistedPath", save, "Draws the route each Twisted is taking: to the player it's chasing (red) or to the spot it's walking to.")
T:toggle("Blot hand ESP + zone", "HandESP", save, "Twisted Blot's black hands and the area they grab (purple).")
T:toggle("Puddle ESP + zone", "HazardESP", save, "Twisted Finn's ichor puddles (and other puddle zones): outlined on the floor so you can walk around them, plus whatever lies in them.")
T:toggle("My path", "MyPath", save, "The way to the nearest free machine (cyan), or to the elevator once the floor is done (magenta).")
T:toggle("Tracers", "Tracers", save, "Lines from the bottom of your screen to each Twisted.")
T:toggle("Machine ESP", "MachineESP", save, "Unfinished machines with progress and who's on them.")
T:toggle("Capsule ESP", "CapsuleESP", save)
T:toggle("Item ESP", "ItemESP", save)
T:toggle("Elevator ESP", "ElevatorESP", save, "Shows once the floor's machines are done.")
T:toggle("Player ESP", "PlayerESP", save, "Players outlined (also through walls) with their Toon, hearts and distance.")
T:slider("ESP range", "ESPRange", 50, 1000, 10, save)
T:section("Alerts and panels")
T:toggle("Twisted alert", "Alert", save, "Big warning when a Twisted or Blot hand is within range (red when chasing).")
T:slider("Alert range", "AlertDist", 10, 100, 1, save)
T:toggle("Twisted list", "TwistedList", save, "Every Twisted on the floor, closest first. Drag it anywhere.")
T:toggle("Info panel", "Panel", save, "Floor, machines, hearts, stamina, session timer and counters. Drag it anywhere.")
T:toggle("Fullbright", "Fullbright", save, "Removes darkness, fog and blackouts. Turning it off puts the lighting back.")
T = UI.tab("Player")
T:toggle("Walk speed", "SpeedOn", save, "Raises your walk speed, never past 25 (the game's own limit; its anti-cheat flags anything faster).")
T:slider("Speed", "Speed", 15, 25, 1, save)
T:toggle("Infinite stamina", "InfStamina", save, "While you hold Shift you move at the run speed below, stamina or not. Let go and your walk comes back. Never past 25 (the game's own limit).")
T:slider("Run speed", "RunSpeed", 15, 25, 1, save)
T:toggle("First person", "FirstPerson", save, "Locks the camera in first person. Turning it off puts your normal camera back.")
T:toggle("Camera zoom", "ZoomOn", save, "Lets you zoom out further.")
T:slider("Max zoom", "Zoom", 10, 200, 5, save)
T = UI.tab("Extras")
T:toggle("Reload the hub after teleports", "ReloadTP", save)
T:toggle("Turn off 3D rendering", "No3D", save, "Black screen, much less GPU, for AFK runs.")
T:slider("FPS cap (0 = off)", "FPSCap", 0, 240, 5, save)
T:toggle("Anti-AFK", "AntiAFK", save)
T:toggle("Notifications", "Notify", save)
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("Unload", function() H.Unload() end, "Stops everything and removes the menu")
conn(UIS.InputBegan, function(i, gp)
if i.KeyCode == Enum.KeyCode.RightShift then Win.Visible = not Win.Visible
elseif i.KeyCode == Enum.KeyCode.F6 and not gp then paused = not paused notify("Dandy's World Hub", paused and "Stopped every automation (F6 to resume)" or "Automation back on") end
end)
loop(0.5, function() status(string.format("%s%s", H.why, paused and "\nPaused (F6)" or "")) end)
function H.Unload()
H.alive = false
if H.restoreSkill then pcall(H.restoreSkill) end
pcall(H.unlit)
if H.uncam then pcall(H.uncam) end
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.DWH == H then G.DWH = nil end
end
notify("Dandy's World Hub", UIS.KeyboardEnabled and "Ready · RightShift menu · F6 stops automation" or "Ready · tap the menu button", C.clay)
print("[Dandy's World Hub] by Stizzyyy · always free & keyless · rscripts.net/@Stizzyyy")
end
HubBody()