--// Death's Wish Arsenal v1.1
--// Insert/RightShift = menu | RMB or Mouse4 (hold) = aim | RightAlt = aimbot
--// RightControl = ESP | Home = third person | End = unload
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local Teams = game:GetService("Teams")
local TweenService = game:GetService("TweenService")
--// Re-execute safety
local env = (getgenv and getgenv()) or _G
if env.__DEATHSWISH_UNLOAD then pcall(env.__DEATHSWISH_UNLOAD) end
local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera
local VERSION = "1.1"
--// Config
local Config = {
Aimbot = {
Enabled = true,
ToggleKey = Enum.KeyCode.RightAlt,
AimKey = Enum.UserInputType.MouseButton2, -- RMB (hold)
UseMouse4 = true, -- also aim while Mouse4 is held (needs executor iskeypressed)
AimVK = 0x05, -- Mouse4 (XBUTTON1); 0x06 = Mouse5
TargetPart = "Head", -- "Head" | "HumanoidRootPart"
FOV = 120,
Smoothness = 0.35, -- 1 = snap, lower = smoother
Prediction = 0, -- seconds of velocity lead (0 = off)
MaxDistance = 1000,
TeamCheck = true,
WallCheck = true,
AliveCheck = true,
IgnoreForceField = true,
StickyLock = true,
ShowFOV = true,
},
ESP = {
Enabled = true,
ToggleKey = Enum.KeyCode.RightControl,
TeamCheck = true,
Boxes = true,
Names = true,
Health = true,
Distance = true,
Tracers = true,
TracerOrigin = "Bottom", -- "Bottom" | "Center" | "Cursor"
Skeleton = true,
Chams = true,
ChamsFill = 0.55, -- 0 = solid, 1 = invisible fill
MaxDistance = 1500,
Color = Color3.fromRGB(255, 60, 90),
SkeletonColor = Color3.fromRGB(240, 240, 250),
},
ThirdPerson = {
Enabled = false,
Key = Enum.KeyCode.Home,
Distance = 10,
Height = 1.5,
HideViewmodel = true,
},
UI = {
Watermark = true,
Notifications = true,
},
MenuKey = Enum.KeyCode.RightShift,
MenuKeyAlt = Enum.KeyCode.Insert,
UnloadKey = Enum.KeyCode.End,
}
local HasDrawing = type(Drawing) == "table" and type(Drawing.new) == "function"
local connections, espObjects = {}, {}
local aiming, lockedPlr = false, nil
--// GUI parent (also hosts the chams highlights)
local function getGuiParent()
if type(gethui) == "function" then
local ok, h = pcall(gethui)
if ok and h then return h end
end
local ok, cg = pcall(function() return game:GetService("CoreGui") end)
if ok and cg then
local probe = Instance.new("Folder")
local writable = pcall(function() probe.Parent = cg end)
probe:Destroy()
if writable then return cg end
end
return LocalPlayer:WaitForChild("PlayerGui")
end
local guiParent = getGuiParent()
local chamsFolder = Instance.new("Folder")
chamsFolder.Name = "DWChams"
chamsFolder.Parent = guiParent
--// UI plumbing (filled in at the bottom; hotkeys call into it)
local UI = {
Toggle = function() end,
Notify = function() end,
Fps = function() end,
}
local refreshers = {}
local function refreshUI()
for _, f in ipairs(refreshers) do f() end
end
--// Team handling (FFA modes: no teams / one team -> check auto-disables)
local teamsActive, lastTeamCheck = false, 0
local function refreshTeams()
local now = os.clock()
if now - lastTeamCheck < 1 then return end
lastTeamCheck = now
teamsActive = #Teams:GetTeams() > 1 and LocalPlayer.Team ~= nil
end
local function isTeammate(plr)
return teamsActive and plr.Team ~= nil and plr.Team == LocalPlayer.Team
end
--// Viewport helpers
local function screenAnchor()
if UserInputService.MouseBehavior == Enum.MouseBehavior.LockCenter then
return Camera.ViewportSize / 2
end
return UserInputService:GetMouseLocation()
end
--// Raycast (shared params, rebuilt once per frame when needed)
local rayParams = RaycastParams.new()
rayParams.FilterType = Enum.RaycastFilterType.Exclude
rayParams.IgnoreWater = true
local function buildRayFilter()
local list = { Camera }
if LocalPlayer.Character then list[#list + 1] = LocalPlayer.Character end
local rayIgnore = Workspace:FindFirstChild("Ray_Ignore")
local debris = Workspace:FindFirstChild("Debris")
if rayIgnore then list[#list + 1] = rayIgnore end
if debris then list[#list + 1] = debris end
rayParams.FilterDescendantsInstances = list
end
--// Third person
local tpParts, vmParts, lastScan, tpWasOn = {}, {}, 0, false
local function getHead()
local c = LocalPlayer.Character
return c and (c:FindFirstChild("Head") or c:FindFirstChild("HumanoidRootPart"))
end
-- Eye origin: the head while in third person, the camera otherwise
local function eyePos()
if Config.ThirdPerson.Enabled then
local h = getHead()
if h then return h.Position end
end
return Camera.CFrame.Position
end
-- Camera position is derived from the head every frame, so it never accumulates
local function applyThirdPerson(rot)
local head = getHead()
if not head then return false end
local tp = Config.ThirdPerson
local origin = head.Position
local desired = (CFrame.new(origin) * rot * CFrame.new(0, tp.Height, tp.Distance)).Position
local dir = desired - origin
local hit = Workspace:Raycast(origin, dir, rayParams)
if hit then desired = hit.Position - dir.Unit * 0.4 end
Camera.CFrame = CFrame.new(desired) * rot
return true
end
local function refreshPartCaches()
local now = os.clock()
if now - lastScan < 0.5 then return end
lastScan = now
table.clear(tpParts)
table.clear(vmParts)
local c = LocalPlayer.Character
if c then
for _, d in ipairs(c:GetDescendants()) do
if d:IsA("BasePart") then tpParts[#tpParts + 1] = d end
end
end
for _, d in ipairs(Camera:GetDescendants()) do
if d:IsA("BasePart") then vmParts[#vmParts + 1] = d end
end
end
local function restoreFirstPerson()
for _, p in ipairs(tpParts) do p.LocalTransparencyModifier = 1 end
for _, p in ipairs(vmParts) do p.LocalTransparencyModifier = 0 end
end
--// Visibility / targeting
local function isVisible(part, char)
local origin = eyePos()
local hit = Workspace:Raycast(origin, part.Position - origin, rayParams)
return hit == nil or hit.Instance:IsDescendantOf(char)
end
local function getTargetPart(plr, anchor, maxScreenDist)
if plr == LocalPlayer then return nil end
local cfg = Config.Aimbot
if cfg.TeamCheck and isTeammate(plr) then return nil end
local char = plr.Character
if not char then return nil end
local hum = char:FindFirstChildOfClass("Humanoid")
local part = char:FindFirstChild(cfg.TargetPart)
if not (hum and part) then return nil end
if cfg.AliveCheck and hum.Health <= 0 then return nil end
if cfg.IgnoreForceField and char:FindFirstChildOfClass("ForceField") then return nil end
if (part.Position - Camera.CFrame.Position).Magnitude > cfg.MaxDistance then return nil end
local sp, onScreen = Camera:WorldToViewportPoint(part.Position)
if not onScreen then return nil end
local d = (Vector2.new(sp.X, sp.Y) - anchor).Magnitude
if d > maxScreenDist then return nil end
if cfg.WallCheck and not isVisible(part, char) then return nil end
return part, d
end
local function findTarget(anchor)
local best, bestDist, bestPlr = nil, Config.Aimbot.FOV, nil
for _, plr in ipairs(Players:GetPlayers()) do
local part, d = getTargetPart(plr, anchor, bestDist)
if part and d < bestDist then
best, bestDist, bestPlr = part, d, plr
end
end
return best, bestPlr
end
local function runAimbot(anchor)
local aim = Config.Aimbot
if not (aim.Enabled and aiming) then return end
local target
if aim.StickyLock and lockedPlr then
target = getTargetPart(lockedPlr, anchor, aim.FOV * 1.5)
if not target then lockedPlr = nil end
end
if not target then
local part, plr = findTarget(anchor)
target, lockedPlr = part, plr
end
if not target then return end
local aimPos = target.Position
if aim.Prediction > 0 then
aimPos = aimPos + target.AssemblyLinearVelocity * aim.Prediction
end
local goal = CFrame.lookAt(eyePos(), aimPos).Rotation
local newRot = Camera.CFrame.Rotation:Lerp(goal, aim.Smoothness)
if Config.ThirdPerson.Enabled and applyThirdPerson(newRot) then return end
Camera.CFrame = CFrame.new(Camera.CFrame.Position) * newRot
end
--// FOV circle
local fovCircle
if HasDrawing then
fovCircle = Drawing.new("Circle")
fovCircle.Thickness = 1
fovCircle.NumSides = 48
fovCircle.Filled = false
fovCircle.Color = Color3.fromRGB(255, 255, 255)
fovCircle.Transparency = 1
fovCircle.Visible = false
end
--// Skeleton bone maps
local BONES_R15 = {
{ "Head", "UpperTorso" }, { "UpperTorso", "LowerTorso" },
{ "UpperTorso", "LeftUpperArm" }, { "LeftUpperArm", "LeftLowerArm" }, { "LeftLowerArm", "LeftHand" },
{ "UpperTorso", "RightUpperArm" }, { "RightUpperArm", "RightLowerArm" }, { "RightLowerArm", "RightHand" },
{ "LowerTorso", "LeftUpperLeg" }, { "LeftUpperLeg", "LeftLowerLeg" }, { "LeftLowerLeg", "LeftFoot" },
{ "LowerTorso", "RightUpperLeg" }, { "RightUpperLeg", "RightLowerLeg" }, { "RightLowerLeg", "RightFoot" },
}
local BONES_R6 = {
{ "Head", "Torso" }, { "Torso", "Left Arm" }, { "Torso", "Right Arm" },
{ "Torso", "Left Leg" }, { "Torso", "Right Leg" },
}
local MAX_BONES = #BONES_R15
--// ESP objects (created once per player, reused every frame)
local function newDrawing(kind, props)
local d = Drawing.new(kind)
for k, v in pairs(props) do d[k] = v end
d.Visible = false
return d
end
local function createESP(plr)
if plr == LocalPlayer or espObjects[plr] then return end
local obj = {}
-- Chams (Highlight), hosted outside the game's tree
local hl = Instance.new("Highlight")
hl.FillColor, hl.OutlineColor = Config.ESP.Color, Color3.new(1, 1, 1)
hl.FillTransparency, hl.OutlineTransparency = Config.ESP.ChamsFill, 0
hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
hl.Enabled = false
hl.Parent = chamsFolder
obj.HL = hl
if HasDrawing then
local c = Config.ESP.Color
local bones = {}
for i = 1, MAX_BONES do
bones[i] = newDrawing("Line", { Thickness = 1, Color = Config.ESP.SkeletonColor })
end
obj.D = {
Box = newDrawing("Square", { Thickness = 1, Filled = false, Color = c }),
Name = newDrawing("Text", { Size = 13, Center = true, Outline = true, Color = Color3.new(1, 1, 1) }),
Dist = newDrawing("Text", { Size = 12, Center = true, Outline = true, Color = Color3.fromRGB(200, 200, 200) }),
HealthBg = newDrawing("Line", { Thickness = 3, Color = Color3.new(0, 0, 0) }),
Health = newDrawing("Line", { Thickness = 1, Color = Color3.fromRGB(0, 255, 0) }),
Tracer = newDrawing("Line", { Thickness = 1, Color = c }),
Bones = bones,
}
end
espObjects[plr] = obj
end
local function hideDrawings(D)
if not D then return end
for k, v in pairs(D) do
if k == "Bones" then
for _, b in ipairs(v) do b.Visible = false end
else
v.Visible = false
end
end
end
local function hideESP(obj)
obj.HL.Enabled = false
hideDrawings(obj.D)
end
local function removeESP(plr)
local obj = espObjects[plr]
if not obj then return end
pcall(function() obj.HL:Destroy() end)
if obj.D then
for k, v in pairs(obj.D) do
if k == "Bones" then
for _, b in ipairs(v) do pcall(function() b:Remove() end) end
else
pcall(function() v:Remove() end)
end
end
end
espObjects[plr] = nil
end
local function updateESP(plr, obj, camPos, viewSize, anchor)
local cfg = Config.ESP
local char = plr.Character
local hum = char and char:FindFirstChildOfClass("Humanoid")
local root = char and char:FindFirstChild("HumanoidRootPart")
if not (cfg.Enabled and hum and root) or hum.Health <= 0
or (cfg.TeamCheck and isTeammate(plr)) then
return hideESP(obj)
end
local dist = (root.Position - camPos).Magnitude
if dist > cfg.MaxDistance then return hideESP(obj) end
local hl, D = obj.HL, obj.D
-- Color sync (only when it changed)
if obj.LastColor ~= cfg.Color then
obj.LastColor = cfg.Color
hl.FillColor = cfg.Color
if D then
D.Box.Color = cfg.Color
D.Tracer.Color = cfg.Color
end
end
-- Chams
if cfg.Chams then
if hl.Adornee ~= char then hl.Adornee = char end
hl.FillTransparency = cfg.ChamsFill
hl.Enabled = true
else
hl.Enabled = false
end
if not D then return end
local top = Camera:WorldToViewportPoint(root.Position + Vector3.new(0, 3, 0))
local bot = Camera:WorldToViewportPoint(root.Position - Vector3.new(0, 3.5, 0))
if top.Z <= 0 or bot.Z <= 0 then return hideDrawings(D) end
local height = math.abs(bot.Y - top.Y)
local width = height * 0.55
local x, y = top.X - width / 2, top.Y
D.Box.Visible = cfg.Boxes
if cfg.Boxes then
D.Box.Position = Vector2.new(x, y)
D.Box.Size = Vector2.new(width, height)
end
D.Name.Visible = cfg.Names
if cfg.Names then
D.Name.Text = plr.DisplayName
D.Name.Position = Vector2.new(top.X, y - 15)
end
D.Dist.Visible = cfg.Distance
if cfg.Distance then
D.Dist.Text = string.format("%dm", dist)
D.Dist.Position = Vector2.new(top.X, y + height + 2)
end
D.Health.Visible, D.HealthBg.Visible = cfg.Health, cfg.Health
if cfg.Health then
local frac = math.clamp(hum.Health / math.max(hum.MaxHealth, 1), 0, 1)
local bx = x - 5
D.HealthBg.From = Vector2.new(bx, y + height)
D.HealthBg.To = Vector2.new(bx, y)
D.Health.From = Vector2.new(bx, y + height)
D.Health.To = Vector2.new(bx, y + height - height * frac)
D.Health.Color = Color3.fromRGB(255 * (1 - frac), 255 * frac, 0)
end
-- Tracers
D.Tracer.Visible = cfg.Tracers
if cfg.Tracers then
local from
if cfg.TracerOrigin == "Center" then
from = viewSize / 2
elseif cfg.TracerOrigin == "Cursor" then
from = anchor
else
from = Vector2.new(viewSize.X / 2, viewSize.Y)
end
D.Tracer.From = from
D.Tracer.To = Vector2.new(top.X, y + height)
end
-- Skeleton
local bones = (hum.RigType == Enum.HumanoidRigType.R15) and BONES_R15 or BONES_R6
for i, line in ipairs(D.Bones) do
local b = cfg.Skeleton and bones[i]
if b then
local a, c = char:FindFirstChild(b[1]), char:FindFirstChild(b[2])
if a and c then
local pa = Camera:WorldToViewportPoint(a.Position)
local pc = Camera:WorldToViewportPoint(c.Position)
if pa.Z > 0 and pc.Z > 0 then
line.From = Vector2.new(pa.X, pa.Y)
line.To = Vector2.new(pc.X, pc.Y)
line.Visible = true
else
line.Visible = false
end
else
line.Visible = false
end
else
line.Visible = false
end
end
end
--// Player lifecycle
for _, plr in ipairs(Players:GetPlayers()) do createESP(plr) end
connections[#connections + 1] = Players.PlayerAdded:Connect(createESP)
connections[#connections + 1] = Players.PlayerRemoving:Connect(function(plr)
if lockedPlr == plr then lockedPlr = nil end
removeESP(plr)
end)
--// Hotkeys
local function onOff(v) return v and "ON" or "OFF" end
connections[#connections + 1] = UserInputService.InputBegan:Connect(function(input)
if UserInputService:GetFocusedTextBox() then return end
local k = input.KeyCode
if k == Config.Aimbot.ToggleKey then
Config.Aimbot.Enabled = not Config.Aimbot.Enabled
refreshUI()
UI.Notify("Aimbot " .. onOff(Config.Aimbot.Enabled))
elseif k == Config.ESP.ToggleKey then
Config.ESP.Enabled = not Config.ESP.Enabled
refreshUI()
UI.Notify("ESP " .. onOff(Config.ESP.Enabled))
elseif k == Config.ThirdPerson.Key then
Config.ThirdPerson.Enabled = not Config.ThirdPerson.Enabled
refreshUI()
UI.Notify("Third person " .. onOff(Config.ThirdPerson.Enabled))
elseif k == Config.MenuKey or k == Config.MenuKeyAlt then
UI.Toggle()
elseif k == Config.UnloadKey then
if env.__DEATHSWISH_UNLOAD then env.__DEATHSWISH_UNLOAD() end
end
end)
--// Main loop
local fpsAcc, fpsFrames = 0, 0
connections[#connections + 1] = RunService.RenderStepped:Connect(function(dt)
Camera = Workspace.CurrentCamera
if not Camera then return end
refreshTeams()
local aim, tp = Config.Aimbot, Config.ThirdPerson
-- FPS for the watermark
fpsAcc, fpsFrames = fpsAcc + dt, fpsFrames + 1
if fpsAcc >= 0.5 then
UI.Fps(math.floor(fpsFrames / fpsAcc + 0.5))
fpsAcc, fpsFrames = 0, 0
end
-- Aim key: RMB, or Mouse4 via executor iskeypressed
local wasAiming = aiming
if UserInputService:GetFocusedTextBox() then
aiming = false
else
aiming = UserInputService:IsMouseButtonPressed(aim.AimKey)
if not aiming and aim.UseMouse4 and type(iskeypressed) == "function" then
aiming = iskeypressed(aim.AimVK) and true or false
end
end
if wasAiming and not aiming then lockedPlr = nil end
if tp.Enabled or aiming then buildRayFilter() end
-- Third person pass
if tp.Enabled then
refreshPartCaches()
applyThirdPerson(Camera.CFrame.Rotation)
for _, p in ipairs(tpParts) do p.LocalTransparencyModifier = 0 end
local vm = tp.HideViewmodel and 1 or 0
for _, p in ipairs(vmParts) do p.LocalTransparencyModifier = vm end
tpWasOn = true
elseif tpWasOn then
restoreFirstPerson()
tpWasOn = false
end
local anchor = screenAnchor()
-- Aimbot (runs before ESP so overlays match the final camera)
runAimbot(anchor)
-- ESP + FOV circle
local camPos = Camera.CFrame.Position
local viewSize = Camera.ViewportSize
for plr, obj in pairs(espObjects) do
updateESP(plr, obj, camPos, viewSize, anchor)
end
if fovCircle then
fovCircle.Visible = aim.ShowFOV and aim.Enabled
fovCircle.Radius = aim.FOV
fovCircle.Position = anchor
end
end)
--// ==================== UI ====================
local Theme = {
Bg = Color3.fromRGB(11, 11, 16),
Side = Color3.fromRGB(14, 14, 20),
Card = Color3.fromRGB(19, 19, 28),
Hover = Color3.fromRGB(30, 30, 43),
Stroke = Color3.fromRGB(36, 36, 50),
Accent = Color3.fromRGB(214, 48, 84),
Accent2 = Color3.fromRGB(136, 56, 220),
Off = Color3.fromRGB(46, 46, 60),
Text = Color3.fromRGB(238, 238, 248),
Muted = Color3.fromRGB(122, 122, 148),
Good = Color3.fromRGB(70, 220, 140),
}
local GRAD = ColorSequence.new(Theme.Accent, Theme.Accent2)
local function make(class, props, parent)
local i = Instance.new(class)
for k, v in pairs(props) do i[k] = v end
i.Parent = parent
return i
end
local function round(inst, r)
make("UICorner", { CornerRadius = UDim.new(0, r) }, inst)
return inst
end
local function tween(inst, t, props)
TweenService:Create(inst, TweenInfo.new(t, Enum.EasingStyle.Quad), props):Play()
end
local gui = make("ScreenGui", {
Name = "DeathsWishArsenal", ResetOnSpawn = false, DisplayOrder = 999,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
}, guiParent)
local W, FULL_H, HEAD_H, SIDE_W = 590, 480, 58, 138
local main = make("Frame", {
Size = UDim2.fromOffset(W, FULL_H), Position = UDim2.new(0, 40, 0.5, -FULL_H / 2),
BackgroundColor3 = Theme.Bg, BorderSizePixel = 0, ClipsDescendants = true,
}, gui)
round(main, 14)
local mainStroke = make("UIStroke", { Color = Color3.new(1, 1, 1), Thickness = 1.5, Transparency = 0.35 }, main)
make("UIGradient", { Color = GRAD, Rotation = 35 }, mainStroke)
local scale = make("UIScale", { Scale = 1 }, main)
-- Modal button frees the cursor while the menu is open (Arsenal locks the mouse)
local modal = make("TextButton", {
Size = UDim2.fromOffset(0, 0), BackgroundTransparency = 1, Text = "", Modal = true,
}, main)
-- Header (drag handle)
local header = make("Frame", { Size = UDim2.new(1, 0, 0, HEAD_H), BackgroundColor3 = Theme.Side, BorderSizePixel = 0 }, main)
make("Frame", {
Position = UDim2.new(0, 0, 1, -1), Size = UDim2.new(1, 0, 0, 1),
BackgroundColor3 = Theme.Stroke, BorderSizePixel = 0,
}, header)
local topLine = make("Frame", {
Size = UDim2.new(1, 0, 0, 2), BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, header)
make("UIGradient", { Color = GRAD }, topLine)
local logo = round(make("Frame", {
Position = UDim2.fromOffset(16, 13), Size = UDim2.fromOffset(34, 34),
BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, header), 9)
make("UIGradient", { Color = GRAD, Rotation = 45 }, logo)
make("TextLabel", {
Text = "D", Font = Enum.Font.GothamBlack, TextSize = 20, TextColor3 = Color3.new(1, 1, 1),
BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1),
}, logo)
make("TextLabel", {
Text = "DEATH'S WISH", Font = Enum.Font.GothamBlack, TextSize = 16, TextColor3 = Theme.Text,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(60, 11), Size = UDim2.new(1, -240, 0, 20),
}, header)
make("TextLabel", {
Text = "ARSENAL", Font = Enum.Font.GothamBold, TextSize = 10, TextColor3 = Theme.Accent,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(60, 31), Size = UDim2.new(1, -240, 0, 14),
}, header)
local function headerButton(text, xOff)
local b = round(make("TextButton", {
Text = text, Font = Enum.Font.GothamBold, TextSize = 15, TextColor3 = Theme.Muted,
BackgroundColor3 = Theme.Card, AutoButtonColor = false, BorderSizePixel = 0,
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, xOff, 0.5, 0),
Size = UDim2.fromOffset(28, 28),
}, header), 8)
b.MouseEnter:Connect(function() tween(b, 0.12, { BackgroundColor3 = Theme.Hover, TextColor3 = Theme.Text }) end)
b.MouseLeave:Connect(function() tween(b, 0.12, { BackgroundColor3 = Theme.Card, TextColor3 = Theme.Muted }) end)
return b
end
local closeBtn = headerButton("×", -14)
local minBtn = headerButton("–", -48)
local verChip = round(make("Frame", {
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -84, 0.5, 0),
Size = UDim2.fromOffset(48, 22), BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.82,
BorderSizePixel = 0,
}, header), 11)
make("UIGradient", { Color = GRAD }, verChip)
make("TextLabel", {
Text = "v" .. VERSION, Font = Enum.Font.GothamBold, TextSize = 11, TextColor3 = Theme.Text,
BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1),
}, verChip)
-- Body
local body = make("Frame", {
Position = UDim2.fromOffset(0, HEAD_H), Size = UDim2.new(1, 0, 1, -HEAD_H),
BackgroundTransparency = 1,
}, main)
-- Sidebar
local side = make("Frame", {
Size = UDim2.new(0, SIDE_W, 1, 0), BackgroundColor3 = Theme.Side, BorderSizePixel = 0,
}, body)
make("Frame", {
Position = UDim2.new(1, -1, 0, 0), Size = UDim2.new(0, 1, 1, 0),
BackgroundColor3 = Theme.Stroke, BorderSizePixel = 0,
}, side)
local tabNames = { "Aimbot", "ESP", "Camera", "Info" }
local tabs, pages, dots = {}, {}, {}
local TAB_H, TAB_GAP = 38, 6
local sel = round(make("Frame", {
Position = UDim2.fromOffset(10, 14), Size = UDim2.new(1, -20, 0, TAB_H),
BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.84, BorderSizePixel = 0,
}, side), 9)
make("UIGradient", { Color = GRAD }, sel)
local selBar = round(make("Frame", {
Position = UDim2.fromOffset(0, 10), Size = UDim2.fromOffset(3, TAB_H - 20),
BackgroundColor3 = Theme.Accent, BorderSizePixel = 0,
}, sel), 2)
-- Content area
local content = make("Frame", {
Position = UDim2.fromOffset(SIDE_W, 0), Size = UDim2.new(1, -SIDE_W, 1, 0),
BackgroundTransparency = 1, ClipsDescendants = true,
}, body)
local function selectTab(i)
for j, page in ipairs(pages) do page.Visible = (j == i) end
for j, b in ipairs(tabs) do
tween(b, 0.16, { TextColor3 = (j == i) and Theme.Text or Theme.Muted })
tween(dots[j], 0.16, { BackgroundColor3 = (j == i) and Theme.Accent or Theme.Off })
end
tween(sel, 0.2, { Position = UDim2.fromOffset(10, 14 + (i - 1) * (TAB_H + TAB_GAP)) })
end
for i, name in ipairs(tabNames) do
local b = make("TextButton", {
Text = name, Font = Enum.Font.GothamBold, TextSize = 12, TextColor3 = Theme.Muted,
TextXAlignment = Enum.TextXAlignment.Left, AutoButtonColor = false, BackgroundTransparency = 1,
Position = UDim2.fromOffset(10, 14 + (i - 1) * (TAB_H + TAB_GAP)),
Size = UDim2.new(1, -20, 0, TAB_H),
}, side)
make("UIPadding", { PaddingLeft = UDim.new(0, 34) }, b)
dots[i] = round(make("Frame", {
Position = UDim2.new(0, -22, 0.5, -4), Size = UDim2.fromOffset(8, 8),
BackgroundColor3 = Theme.Off, BorderSizePixel = 0,
}, b), 4)
b.MouseButton1Click:Connect(function() selectTab(i) end)
tabs[i] = b
local page = make("ScrollingFrame", {
Size = UDim2.fromScale(1, 1), BackgroundTransparency = 1, BorderSizePixel = 0,
ScrollBarThickness = 3, ScrollBarImageColor3 = Theme.Stroke,
CanvasSize = UDim2.new(), AutomaticCanvasSize = Enum.AutomaticSize.Y, Visible = false,
}, content)
make("UIPadding", {
PaddingLeft = UDim.new(0, 14), PaddingRight = UDim.new(0, 16),
PaddingTop = UDim.new(0, 14), PaddingBottom = UDim.new(0, 14),
}, page)
make("UIListLayout", { Padding = UDim.new(0, 10), SortOrder = Enum.SortOrder.LayoutOrder }, page)
pages[i] = page
end
-- Sidebar footer
local foot = make("Frame", {
AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 14, 1, -14),
Size = UDim2.new(1, -28, 0, 30), BackgroundTransparency = 1,
}, side)
round(make("Frame", {
Position = UDim2.fromOffset(0, 5), Size = UDim2.fromOffset(8, 8),
BackgroundColor3 = Theme.Good, BorderSizePixel = 0,
}, foot), 4)
make("TextLabel", {
Text = "Undetected build", Font = Enum.Font.GothamMedium, TextSize = 10, TextColor3 = Theme.Muted,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(16, 0), Size = UDim2.new(1, -16, 0, 18),
}, foot)
-- Element builders
local orderOf = {}
local function nextOrder(parent)
orderOf[parent] = (orderOf[parent] or 0) + 1
return orderOf[parent]
end
local function addCard(page, title)
local card = round(make("Frame", {
BackgroundColor3 = Theme.Card, BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 0), AutomaticSize = Enum.AutomaticSize.Y,
LayoutOrder = nextOrder(page),
}, page), 11)
make("UIStroke", { Color = Theme.Stroke, Thickness = 1 }, card)
make("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }, card)
local t = make("TextLabel", {
Text = string.upper(title), Font = Enum.Font.GothamBold, TextSize = 10, TextColor3 = Theme.Accent,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Size = UDim2.new(1, 0, 0, 30), LayoutOrder = 0,
}, card)
make("UIPadding", { PaddingLeft = UDim.new(0, 14), PaddingTop = UDim.new(0, 4) }, t)
return card
end
local function divider(row)
make("Frame", {
Position = UDim2.new(0, 14, 1, -1), Size = UDim2.new(1, -28, 0, 1),
BackgroundColor3 = Theme.Stroke, BackgroundTransparency = 0.4, BorderSizePixel = 0,
}, row)
end
local function hoverable(row)
row.MouseEnter:Connect(function() tween(row, 0.12, { BackgroundTransparency = 0.45 }) end)
row.MouseLeave:Connect(function() tween(row, 0.12, { BackgroundTransparency = 1 }) end)
end
local function rowLabel(row, text, widthOff)
make("TextLabel", {
Text = text, Font = Enum.Font.GothamMedium, TextSize = 12, TextColor3 = Theme.Text,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(14, 0), Size = UDim2.new(1, widthOff or -70, 1, 0),
}, row)
end
local function addToggle(card, text, tbl, key)
local row = make("TextButton", {
Text = "", AutoButtonColor = false, BackgroundColor3 = Theme.Hover, BackgroundTransparency = 1,
BorderSizePixel = 0, Size = UDim2.new(1, 0, 0, 38), LayoutOrder = nextOrder(card),
}, card)
hoverable(row)
divider(row)
rowLabel(row, text)
local track = round(make("Frame", {
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0),
Size = UDim2.fromOffset(38, 20), BackgroundColor3 = Theme.Off, BorderSizePixel = 0,
}, row), 10)
local glow = make("UIStroke", { Color = Theme.Accent, Thickness = 2, Transparency = 1 }, track)
local knob = round(make("Frame", {
Size = UDim2.fromOffset(16, 16), Position = UDim2.new(0, 2, 0.5, -8),
BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, track), 8)
local function refresh()
local on = tbl[key]
tween(track, 0.16, { BackgroundColor3 = on and Theme.Accent or Theme.Off })
tween(glow, 0.16, { Transparency = on and 0.55 or 1 })
tween(knob, 0.16, { Position = on and UDim2.new(1, -18, 0.5, -8) or UDim2.new(0, 2, 0.5, -8) })
end
row.MouseButton1Click:Connect(function()
tbl[key] = not tbl[key]
refresh()
end)
refreshers[#refreshers + 1] = refresh
refresh()
end
local function addSlider(card, text, tbl, key, min, max, step)
local row = make("Frame", {
BackgroundColor3 = Theme.Hover, BackgroundTransparency = 1, BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 52), LayoutOrder = nextOrder(card),
}, card)
hoverable(row)
divider(row)
make("TextLabel", {
Text = text, Font = Enum.Font.GothamMedium, TextSize = 12, TextColor3 = Theme.Text,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(14, 7), Size = UDim2.new(0.6, 0, 0, 16),
}, row)
local pill = round(make("TextLabel", {
Font = Enum.Font.GothamBold, TextSize = 11, TextColor3 = Theme.Text,
BackgroundColor3 = Theme.Off, BorderSizePixel = 0,
AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -14, 0, 6),
Size = UDim2.fromOffset(50, 18),
}, row), 6)
local track = round(make("Frame", {
Position = UDim2.new(0, 14, 1, -15), Size = UDim2.new(1, -28, 0, 4),
BackgroundColor3 = Theme.Off, BorderSizePixel = 0,
}, row), 2)
local fill = round(make("Frame", {
Size = UDim2.new(0, 0, 1, 0), BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, track), 2)
make("UIGradient", { Color = GRAD }, fill)
local knob = round(make("Frame", {
AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0, 0, 0.5, 0),
Size = UDim2.fromOffset(13, 13), BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, track), 7)
make("UIStroke", { Color = Theme.Accent, Thickness = 2, Transparency = 0.2 }, knob)
local hit = make("TextButton", {
Text = "", BackgroundTransparency = 1,
Position = UDim2.new(0, 14, 1, -28), Size = UDim2.new(1, -28, 0, 28),
}, row)
local function refresh()
local v = tbl[key]
local a = math.clamp((v - min) / (max - min), 0, 1)
fill.Size = UDim2.new(a, 0, 1, 0)
knob.Position = UDim2.new(a, 0, 0.5, 0)
pill.Text = step < 1 and string.format("%.2f", v) or string.format("%d", v)
end
local function setFromX(x)
local a = math.clamp((x - track.AbsolutePosition.X) / math.max(track.AbsoluteSize.X, 1), 0, 1)
local v = min + (max - min) * a
tbl[key] = math.clamp(math.floor(v / step + 0.5) * step, min, max)
refresh()
end
local dragging = false
hit.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
setFromX(input.Position.X)
end
end)
connections[#connections + 1] = UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch) then
setFromX(input.Position.X)
end
end)
connections[#connections + 1] = UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
refreshers[#refreshers + 1] = refresh
refresh()
end
local function addSegment(card, text, tbl, key, options)
local row = make("Frame", {
BackgroundTransparency = 1, BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 60), LayoutOrder = nextOrder(card),
}, card)
divider(row)
make("TextLabel", {
Text = text, Font = Enum.Font.GothamMedium, TextSize = 12, TextColor3 = Theme.Text,
TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1,
Position = UDim2.fromOffset(14, 7), Size = UDim2.new(1, -28, 0, 16),
}, row)
local holder = make("Frame", {
BackgroundTransparency = 1, Position = UDim2.new(0, 14, 0, 29), Size = UDim2.new(1, -28, 0, 22),
}, row)
make("UIListLayout", {
FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 5),
SortOrder = Enum.SortOrder.LayoutOrder,
}, holder)
local n, buttons = #options, {}
for i, opt in ipairs(options) do
local b = round(make("TextButton", {
Text = opt[1], Font = Enum.Font.GothamBold, TextSize = 11, AutoButtonColor = false,
BackgroundColor3 = Theme.Off, TextColor3 = Theme.Muted, BorderSizePixel = 0,
Size = UDim2.new(1 / n, -(5 * (n - 1)) / n, 1, 0), LayoutOrder = i,
}, holder), 6)
b.MouseButton1Click:Connect(function()
tbl[key] = opt[2]
refreshUI()
end)
buttons[i] = b
end
local function refresh()
for i, opt in ipairs(options) do
local on = tbl[key] == opt[2]
tween(buttons[i], 0.14, {
BackgroundColor3 = on and Theme.Accent or Theme.Off,
TextColor3 = on and Color3.new(1, 1, 1) or Theme.Muted,
})
end
end
refreshers[#refreshers + 1] = refresh
refresh()
end
local function addSwatches(card, text, tbl, key, colors)
local row = make("Frame", {
BackgroundTransparency = 1, BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 40), LayoutOrder = nextOrder(card),
}, card)
divider(row)
rowLabel(row, text, -160)
local holder = make("Frame", {
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0),
Size = UDim2.fromOffset(#colors * 26, 22), BackgroundTransparency = 1,
}, row)
make("UIListLayout", {
FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 6),
SortOrder = Enum.SortOrder.LayoutOrder, HorizontalAlignment = Enum.HorizontalAlignment.Right,
}, holder)
local swatches = {}
for i, c in ipairs(colors) do
local s = round(make("TextButton", {
Text = "", AutoButtonColor = false, BackgroundColor3 = c, BorderSizePixel = 0,
Size = UDim2.fromOffset(20, 20), LayoutOrder = i,
}, holder), 10)
local ring = make("UIStroke", { Color = Color3.new(1, 1, 1), Thickness = 2, Transparency = 1 }, s)
s.MouseButton1Click:Connect(function()
tbl[key] = c
refreshUI()
end)
swatches[i] = ring
end
local function refresh()
for i, c in ipairs(colors) do
tween(swatches[i], 0.14, { Transparency = (tbl[key] == c) and 0 or 1 })
end
end
refreshers[#refreshers + 1] = refresh
refresh()
end
local function addKeyRow(card, name, keys)
local row = make("Frame", {
BackgroundTransparency = 1, BorderSizePixel = 0,
Size = UDim2.new(1, 0, 0, 36), LayoutOrder = nextOrder(card),
}, card)
divider(row)
rowLabel(row, name, -150)
round(make("TextLabel", {
Text = keys, Font = Enum.Font.GothamBold, TextSize = 10, TextColor3 = Theme.Text,
BackgroundColor3 = Theme.Off, BorderSizePixel = 0,
AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -14, 0.5, 0),
Size = UDim2.fromOffset(#keys * 6.4 + 18, 22),
}, row), 6)
end
-- Aimbot page
local p = pages[1]
local c1 = addCard(p, "Aimbot")
addToggle(c1, "Enabled", Config.Aimbot, "Enabled")
addToggle(c1, "Team check", Config.Aimbot, "TeamCheck")
addToggle(c1, "Wall check", Config.Aimbot, "WallCheck")
addToggle(c1, "Sticky lock", Config.Aimbot, "StickyLock")
addToggle(c1, "Show FOV circle", Config.Aimbot, "ShowFOV")
addToggle(c1, "Mouse4 also aims", Config.Aimbot, "UseMouse4")
local c2 = addCard(p, "Targeting")
addSegment(c2, "Target", Config.Aimbot, "TargetPart", { { "Head", "Head" }, { "Body", "HumanoidRootPart" } })
addSlider(c2, "FOV", Config.Aimbot, "FOV", 20, 400, 5)
addSlider(c2, "Smoothness", Config.Aimbot, "Smoothness", 0.05, 1, 0.05)
addSlider(c2, "Prediction", Config.Aimbot, "Prediction", 0, 0.3, 0.01)
-- ESP page
p = pages[2]
local e1 = addCard(p, "Overlays")
addToggle(e1, "Enabled", Config.ESP, "Enabled")
addToggle(e1, "Team check", Config.ESP, "TeamCheck")
addToggle(e1, "Boxes", Config.ESP, "Boxes")
addToggle(e1, "Names", Config.ESP, "Names")
addToggle(e1, "Health bar", Config.ESP, "Health")
addToggle(e1, "Distance", Config.ESP, "Distance")
local e2 = addCard(p, "Tracers")
addToggle(e2, "Tracers", Config.ESP, "Tracers")
addSegment(e2, "Origin", Config.ESP, "TracerOrigin", {
{ "Bottom", "Bottom" }, { "Center", "Center" }, { "Cursor", "Cursor" },
})
local e3 = addCard(p, "Skeleton")
addToggle(e3, "Skeleton", Config.ESP, "Skeleton")
local e4 = addCard(p, "Chams")
addToggle(e4, "Chams", Config.ESP, "Chams")
addSlider(e4, "Chams fill", Config.ESP, "ChamsFill", 0, 1, 0.05)
local e5 = addCard(p, "Style")
addSwatches(e5, "ESP color", Config.ESP, "Color", {
Color3.fromRGB(255, 60, 90), Color3.fromRGB(160, 90, 255), Color3.fromRGB(60, 200, 255),
Color3.fromRGB(70, 255, 140), Color3.fromRGB(255, 200, 60), Color3.fromRGB(255, 255, 255),
})
addSlider(e5, "Max distance", Config.ESP, "MaxDistance", 100, 3000, 50)
-- Camera page
p = pages[3]
local k1 = addCard(p, "Third person")
addToggle(k1, "Third person", Config.ThirdPerson, "Enabled")
addToggle(k1, "Hide viewmodel", Config.ThirdPerson, "HideViewmodel")
addSlider(k1, "Distance", Config.ThirdPerson, "Distance", 3, 30, 1)
addSlider(k1, "Height", Config.ThirdPerson, "Height", 0, 6, 0.5)
-- Info page
p = pages[4]
local i1 = addCard(p, "Interface")
addToggle(i1, "Watermark", Config.UI, "Watermark")
addToggle(i1, "Notifications", Config.UI, "Notifications")
local i2 = addCard(p, "Keybinds")
addKeyRow(i2, "Menu", "INSERT / RSHIFT")
addKeyRow(i2, "Aim (hold)", "RMB / MOUSE4")
addKeyRow(i2, "Aimbot toggle", "RALT")
addKeyRow(i2, "ESP toggle", "RCTRL")
addKeyRow(i2, "Third person", "HOME")
addKeyRow(i2, "Unload", "END")
selectTab(1)
-- Minimize
local minimized = false
minBtn.MouseButton1Click:Connect(function()
minimized = not minimized
body.Visible = not minimized
minBtn.Text = minimized and "+" or "–"
tween(main, 0.2, { Size = UDim2.fromOffset(W, minimized and HEAD_H or FULL_H) })
end)
-- Close (hides the menu; reopen with Insert / RightShift)
closeBtn.MouseButton1Click:Connect(function() UI.Toggle() end)
-- Drag
do
local dragging, dragStart, startPos
header.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging, dragStart, startPos = true, input.Position, main.Position
end
end)
connections[#connections + 1] = UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch) then
local d = input.Position - dragStart
main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X,
startPos.Y.Scale, startPos.Y.Offset + d.Y)
end
end)
connections[#connections + 1] = UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
end
-- Menu show/hide
UI.Toggle = function()
local show = not main.Visible
main.Visible = show
modal.Modal = show
if show then
scale.Scale = 0.94
TweenService:Create(scale, TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
Scale = 1,
}):Play()
end
end
-- Watermark
local wm = round(make("Frame", {
Position = UDim2.fromOffset(16, 16), Size = UDim2.fromOffset(300, 30),
BackgroundColor3 = Theme.Bg, BackgroundTransparency = 0.1, BorderSizePixel = 0,
}, gui), 8)
make("UIStroke", { Color = Theme.Stroke, Thickness = 1 }, wm)
local wmBar = make("Frame", {
Size = UDim2.new(1, 0, 0, 2), BackgroundColor3 = Color3.new(1, 1, 1), BorderSizePixel = 0,
}, wm)
make("UIGradient", { Color = GRAD }, wmBar)
local wmText = make("TextLabel", {
Text = "DEATH'S WISH · ARSENAL · v" .. VERSION .. " · -- fps",
Font = Enum.Font.GothamBold, TextSize = 11, TextColor3 = Theme.Text,
BackgroundTransparency = 1, Position = UDim2.fromOffset(0, 2), Size = UDim2.new(1, 0, 1, -2),
}, wm)
UI.Fps = function(fps)
wm.Visible = Config.UI.Watermark
wmText.Text = string.format("DEATH'S WISH · ARSENAL · v%s · %d fps", VERSION, fps)
end
-- Toast notifications
local toast = round(make("Frame", {
AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, -60),
Size = UDim2.fromOffset(220, 38), BackgroundColor3 = Theme.Bg, BorderSizePixel = 0,
}, gui), 10)
make("UIStroke", { Color = Theme.Accent, Thickness = 1.5, Transparency = 0.3 }, toast)
local toastText = make("TextLabel", {
Font = Enum.Font.GothamBold, TextSize = 13, TextColor3 = Theme.Text,
BackgroundTransparency = 1, Size = UDim2.fromScale(1, 1),
}, toast)
local toastToken = 0
UI.Notify = function(text)
if not Config.UI.Notifications then return end
toastToken += 1
local my = toastToken
toastText.Text = text
tween(toast, 0.22, { Position = UDim2.new(0.5, 0, 0, 24) })
task.delay(1.6, function()
if my == toastToken then
tween(toast, 0.22, { Position = UDim2.new(0.5, 0, 0, -60) })
end
end)
end
--// Unload
env.__DEATHSWISH_UNLOAD = function()
for _, c in ipairs(connections) do pcall(function() c:Disconnect() end) end
for plr in pairs(espObjects) do removeESP(plr) end
if fovCircle then pcall(function() fovCircle:Remove() end) end
if tpWasOn then pcall(restoreFirstPerson) end
pcall(function() modal.Modal = false end)
pcall(function() chamsFolder:Destroy() end)
pcall(function() gui:Destroy() end)
env.__DEATHSWISH_UNLOAD = nil
endAn Arsenal Cheat Called Death's Wish, The best,legit and undetectable cheat you can find in the free community, it features aimbot, esp, third person, and many more, use it to find out!
Comments 0