
904 Views
2.4k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
has some stuff is coded with ai made public to save, will be priv
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local plr = Players.LocalPlayer
local pg = plr:WaitForChild("PlayerGui", 5)
if not pg then return end
local old = pg:FindFirstChild("DarkHUD_ScreenGui")
if old then old:Destroy() end
local Theme = {
bg = Color3.fromRGB(12,12,14), sidebar = Color3.fromRGB(8,8,10),
panel = Color3.fromRGB(17,17,21), panel2 = Color3.fromRGB(23,23,28),
accent = Color3.fromRGB(130,120,255), text = Color3.fromRGB(232,232,238),
muted = Color3.fromRGB(112,112,124), off = Color3.fromRGB(60,60,70),
}
local themed, accentRefreshers = {}, {}
local function reg(o, prop, key) table.insert(themed, {o, prop, key}) end
local function applyTheme() for _, t in ipairs(themed) do t[1][t[2]] = Theme[t[3]] end end
local function applyAccent() for _, f in ipairs(accentRefreshers) do f() end end
local function onAccent(f) table.insert(accentRefreshers, f) end
local function C(p, r) local c = Instance.new("UICorner"); c.CornerRadius = UDim.new(0, r or 6); c.Parent = p; return c end
local function S(p, col, th) local s = Instance.new("UIStroke"); s.Color = col or Color3.fromRGB(38,38,48); s.Thickness = th or 1; s.Parent = p; return s end
local function new(cls, props, parent)
local i = Instance.new(cls)
for k, v in pairs(props) do i[k] = v end
if parent then i.Parent = parent end
return i
end
local function kp(t, v) return NumberSequenceKeypoint.new(t, v) end
local function makeDraggable(frame, handle)
handle = handle or frame
local dragging, dragInput, dragStart, startPos
handle.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true; dragStart = input.Position; startPos = frame.Position
input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end)
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








