
Key Required

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- ── AIMBOT CONFIGURATION ─────────────────────────────────
local aimbotEnabled = false
local aimbotFov = 150 -- radius in pixels (Invisible)
local aimbotSmooth = 0.05 -- 0=instant, 1=never reaches
local aimbotMaxDist = 100 -- max stud distance to lock on (10-500)
-- ── RTX STATE ────────────────────────────────────────────
local rtxEnabled = false
local origLighting = {
Technology = Lighting.Technology,
Brightness = Lighting.Brightness,
}
local origReflectance = {}
-- ── SCREEN GUI ───────────────────────────────────────────
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "ColorSliderGui"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = playerGui
-- ── BG BOX ───────────────────────────────────────────────
local bgBox = Instance.new("Frame")
bgBox.Name = "BgBox"
bgBox.Size = UDim2.new(0, 300, 0, 486)
bgBox.Position = UDim2.new(0.633, 0, 0.084, 0)
bgBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
bgBox.BorderSizePixel = 0
bgBox.Active = true
bgBox.Draggable = false
bgBox.ZIndex = 5
bgBox.Parent = screenGui
Instance.new("UICorner", bgBox).CornerRadius = UDim.new(0, 10)
local bgStroke = Instance.new("UIStroke")
bgStroke.Color = Color3.fromRGB(60, 60, 60)
bgStroke.Thickness = 1
bgStroke.Parent = bgBox
-- ── DRAG BAR ─────────────────────────────────────────────
local dragBar = Instance.new("Frame")
dragBar.Name = "DragBar"
dragBar.Size = UDim2.new(1, 0, 0, 36)
dragBar.Position = UDim2.new(0, 0, 0, 0)
dragBar.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
dragBar.BorderSizePixel = 0
dragBar.Active = true
dragBar.ZIndex = 8
dragBar.Parent = bgBox
Instance.new("UICorner", dragBar).CornerRadius = UDim.new(0, 10)
local dragBarFix = Instance.new("Frame")
dragBarFix.Size = UDim2.new(1, 0, 0.5, 0)
dragBarFix.Position = UDim2.new(0, 0, 0.5, 0)
dragBarFix.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
dragBarFix.BorderSizePixel = 0
dragBarFix.ZIndex = 8
dragBarFix.Parent = dragBar
local dragIcon = Instance.new("TextLabel")
dragIcon.Size = UDim2.new(1, 0, 1, 0)
dragIcon.BackgroundTransparency = 1
dragIcon.Text = "⠿ Con Ex [L]"
dragIcon.TextColor3 = Color3.fromRGB(160, 160, 160)
dragIcon.Font = Enum.Font.GothamBold
dragIcon.TextSize = 13
dragIcon.ZIndex = 9
dragIcon.Parent = dragBar
-- ── TAB BAR ──────────────────────────────────────────────
local tabBar = Instance.new("Frame")
tabBar.Size = UDim2.new(1, 0, 0, 36)
tabBar.Position = UDim2.new(0, 0, 0, 36)
tabBar.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
tabBar.BorderSizePixel = 0
tabBar.ZIndex = 8
tabBar.Parent = bgBox
local clientTab = Instance.new("TextButton")
clientTab.Size = UDim2.new(0.5, 0, 1, 0)
clientTab.Position = UDim2.new(0, 0, 0, 0)
clientTab.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
clientTab.BorderSizePixel = 0
clientTab.Text = "Client"
clientTab.TextColor3 = Color3.fromRGB(255, 255, 255)
clientTab.Font = Enum.Font.GothamBold
clientTab.TextSize = 13
clientTab.ZIndex = 9
clientTab.Parent = tabBar
Instance.new("UICorner", clientTab).CornerRadius = UDim.new(0, 6)
local aimTab = Instance.new("TextButton")
aimTab.Size = UDim2.new(0.5, 0, 1, 0)
aimTab.Position = UDim2.new(0.5, 0, 0, 0)
aimTab.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
aimTab.BorderSizePixel = 0
aimTab.Text = "Aim"
aimTab.TextColor3 = Color3.fromRGB(120, 120, 120)
aimTab.Font = Enum.Font.GothamBold
aimTab.TextSize = 13
aimTab.ZIndex = 9
aimTab.Parent = tabBar
Instance.new("UICorner", aimTab).CornerRadius = UDim.new(0, 6)
local tabUnderline = Instance.new("Frame")
tabUnderline.Size = UDim2.new(0.5, 0, 0, 2)
tabUnderline.Position = UDim2.new(0, 0, 1, -2)
tabUnderline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
tabUnderline.BorderSizePixel = 0
tabUnderline.ZIndex = 10
tabUnderline.Parent = tabBar
-- ── CLIENT PANEL ─────────────────────────────────────────
local clientPanel = Instance.new("Frame")
clientPanel.Size = UDim2.new(1, 0, 1, -72)
clientPanel.Position = UDim2.new(0, 0, 0, 72)
clientPanel.BackgroundTransparency = 1
clientPanel.ClipsDescendants = true
clientPanel.ZIndex = 6
clientPanel.Visible = true
clientPanel.Parent = bgBox
local clientScroll = Instance.new("ScrollingFrame")
clientScroll.Size = UDim2.new(1, 0, 1, 0)
clientScroll.Position = UDim2.new(0, 0, 0, 0)
clientScroll.BackgroundTransparency = 1
clientScroll.BorderSizePixel = 0
clientScroll.ScrollBarThickness = 4
clientScroll.ScrollBarImageColor3 = Color3.fromRGB(80, 80, 80)
clientScroll.CanvasSize = UDim2.new(0, 0, 0, 300)
clientScroll.ZIndex = 6
clientScroll.Parent = clientPanel
-- ── GRAPHICS SECTION ─────────────────────────────────────
local rtxSectionLabel = Instance.new("TextLabel")
rtxSectionLabel.Size = UDim2.new(1, -40, 0, 18)
rtxSectionLabel.Position = UDim2.new(0, 20, 0, 8)
rtxSectionLabel.BackgroundTransparency = 1
rtxSectionLabel.Text = "GRAPHICS"
rtxSectionLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
rtxSectionLabel.Font = Enum.Font.GothamBold
rtxSectionLabel.TextSize = 11
rtxSectionLabel.TextXAlignment = Enum.TextXAlignment.Left
rtxSectionLabel.ZIndex = 7
rtxSectionLabel.Parent = clientScroll
local rtxBtn = Instance.new("TextButton")
rtxBtn.Size = UDim2.new(1, -40, 0, 40)
rtxBtn.Position = UDim2.new(0, 20, 0, 30)
rtxBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
rtxBtn.BorderSizePixel = 0
rtxBtn.Text = "✦ RTX OFF"
rtxBtn.TextColor3 = Color3.fromRGB(160, 160, 160)
rtxBtn.Font = Enum.Font.GothamBold
rtxBtn.TextSize = 14
rtxBtn.ZIndex = 7
rtxBtn.Parent = clientScroll
Instance.new("UICorner", rtxBtn).CornerRadius = UDim.new(0, 8)
local rtxStroke = Instance.new("UIStroke")
rtxStroke.Color = Color3.fromRGB(70, 70, 70)
rtxStroke.Thickness = 1
rtxStroke.Parent = rtxBtn
rtxBtn.MouseButton1Click:Connect(function()
rtxEnabled = not rtxEnabled
if rtxEnabled then
rtxBtn.Text = "✦ RTX ON"
rtxBtn.TextColor3 = Color3.fromRGB(255, 220, 80)
TweenService:Create(rtxBtn, TweenInfo.new(0.2), { BackgroundColor3 = Color3.fromRGB(40, 35, 10) }):Play()
TweenService:Create(rtxStroke, TweenInfo.new(0.2), { Color = Color3.fromRGB(200, 160, 30) }):Play()
Lighting.Technology = Enum.Technology.Future
Lighting.Brightness = 3
for _, fx in ipairs(Lighting:GetChildren()) do
if fx.Name == "RTX_Bloom" then fx:Destroy() end
end
local bloom = Instance.new("BloomEffect")
bloom.Name = "RTX_Bloom"
bloom.Intensity = 1.6
bloom.Size = 56
bloom.Threshold = 0.8
bloom.Parent = Lighting
origReflectance = {}
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("BasePart") and not v:IsA("Terrain") then
origReflectance[v] = v.Reflectance
v.Reflectance = math.max(v.Reflectance, 0.35)
v.Material = Enum.Material.SmoothPlastic
end
end
else
rtxBtn.Text = "✦ RTX OFF"
rtxBtn.TextColor3 = Color3.fromRGB(160, 160, 160)
TweenService:Create(rtxBtn, TweenInfo.new(0.2), { BackgroundColor3 = Color3.fromRGB(30, 30, 30) }):Play()
TweenService:Create(rtxStroke, TweenInfo.new(0.2), { Color = Color3.fromRGB(70, 70, 70) }):Play()
Lighting.Technology = origLighting.Technology
Lighting.Brightness = origLighting.Brightness
for _, fx in ipairs(Lighting:GetChildren()) do
if fx.Name == "RTX_Bloom" then fx:Destroy() end
end
for v, ref in pairs(origReflectance) do
if v and v.Parent then v.Reflectance = ref end
end
origReflectance = {}
end
end)
-- ── BACKGROUND COLOR SECTION ─────────────────────────────
local bgColorLabel = Instance.new("TextLabel")
bgColorLabel.Size = UDim2.new(1, -40, 0, 18)
bgColorLabel.Position = UDim2.new(0, 20, 0, 84)
bgColorLabel.BackgroundTransparency = 1
bgColorLabel.Text = "BACKGROUND COLOR"
bgColorLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
bgColorLabel.Font = Enum.Font.GothamBold
bgColorLabel.TextSize = 11
bgColorLabel.TextXAlignment = Enum.TextXAlignment.Left
bgColorLabel.ZIndex = 7
bgColorLabel.Parent = clientScroll
local bgTrack = Instance.new("Frame")
bgTrack.Size = UDim2.new(0, 260, 0, 14)
bgTrack.Position = UDim2.new(0.5, -130, 0, 106)
bgTrack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
bgTrack.BorderSizePixel = 0
bgTrack.ZIndex = 7
bgTrack.Parent = clientScroll
Instance.new("UICorner", bgTrack).CornerRadius = UDim.new(1, 0)
local bgGradient = Instance.new("UIGradient")
bgGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromHSV(0, 1, 1)),
ColorSequenceKeypoint.new(0.17, Color3.fromHSV(0.17, 1, 1)),
ColorSequenceKeypoint.new(0.33, Color3.fromHSV(0.33, 1, 1)),
ColorSequenceKeypoint.new(0.5, Color3.fromHSV(0.5, 1, 1)),
ColorSequenceKeypoint.new(0.67, Color3.fromHSV(0.67, 1, 1)),
ColorSequenceKeypoint.new(0.83, Color3.fromHSV(0.83, 1, 1)),
ColorSequenceKeypoint.new(1, Color3.fromHSV(1, 1, 1)),
})
bgGradient.Parent = bgTrack
local bgKnob = Instance.new("Frame")
bgKnob.Size = UDim2.new(0, 20, 0, 20)
bgKnob.Position = UDim2.new(0, -10, 0.5, -10)
bgKnob.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
bgKnob.BorderSizePixel = 0
bgKnob.ZIndex = 9
bgKnob.Parent = bgTrack
Instance.new("UICorner", bgKnob).CornerRadius = UDim.new(1, 0)
local bgKnobStroke = Instance.new("UIStroke")
bgKnobStroke.Color = Color3.fromRGB(255, 255, 255)
bgKnobStroke.Thickness = 2
bgKnobStroke.Transparency = 0.4
bgKnobStroke.Parent = bgKnob
local bgHexLabel = Instance.new("TextLabel")
bgHexLabel.Size = UDim2.new(1, -40, 0, 14)
bgHexLabel.Position = UDim2.new(0, 20, 0, 124)
bgHexLabel.BackgroundTransparency = 1
bgHexLabel.Text = "#000000"
bgHexLabel.TextColor3 = Color3.fromRGB(120, 120, 120)
bgHexLabel.Font = Enum.Font.Code
bgHexLabel.TextSize = 10
bgHexLabel.TextXAlignment = Enum.TextXAlignment.Left
bgHexLabel.ZIndex = 7
bgHexLabel.Parent = clientScroll
-- ── AIM PANEL ────────────────────────────────────────────
local aimPanel = Instance.new("Frame")
aimPanel.Size = UDim2.new(1, 0, 1, -72)
aimPanel.Position = UDim2.new(0, 0, 0, 72)
aimPanel.BackgroundTransparency = 1
aimPanel.ClipsDescendants = true
aimPanel.ZIndex = 6
aimPanel.Visible = false
aimPanel.Parent = bgBox
local aimScroll = Instance.new("ScrollingFrame")
aimScroll.Size = UDim2.new(1, 0, 1, 0)
aimScroll.Position = UDim2.new(0, 0, 0, 0)
aimScroll.BackgroundTransparency = 1
aimScroll.BorderSizePixel = 0
aimScroll.ScrollBarThickness = 4
aimScroll.ScrollBarImageColor3 = Color3.fromRGB(80, 80, 80)
aimScroll.CanvasSize = UDim2.new(0, 0, 0, 320)
aimScroll.ZIndex = 6
aimScroll.Parent = aimPanel
-- ── AIM PANEL UI ─────────────────────────────────────────
local aimSectionLabel = Instance.new("TextLabel")
aimSectionLabel.Size = UDim2.new(1, -40, 0, 18)
aimSectionLabel.Position = UDim2.new(0, 20, 0, 8)
aimSectionLabel.BackgroundTransparency = 1
aimSectionLabel.Text = "AIMBOT"
aimSectionLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
aimSectionLabel.Font = Enum.Font.GothamBold
aimSectionLabel.TextSize = 11
aimSectionLabel.TextXAlignment = Enum.TextXAlignment.Left
aimSectionLabel.ZIndex = 7
aimSectionLabel.Parent = aimScroll
local aimbotBtn = Instance.new("TextButton")
aimbotBtn.Size = UDim2.new(1, -40, 0, 40)
aimbotBtn.Position = UDim2.new(0, 20, 0, 30)
aimbotBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
aimbotBtn.BorderSizePixel = 0
aimbotBtn.Text = "Aimbot OFF"
aimbotBtn.TextColor3 = Color3.fromRGB(160, 160, 160)
aimbotBtn.Font = Enum.Font.GothamBold
aimbotBtn.TextSize = 14
aimbotBtn.ZIndex = 7
aimbotBtn.Parent = aimScroll
Instance.new("UICorner", aimbotBtn).CornerRadius = UDim.new(0, 8)
local aimbotStroke = Instance.new("UIStroke")
aimbotStroke.Color = Color3.fromRGB(70, 70, 70)
aimbotStroke.Thickness = 1
aimbotStroke.Parent = aimbotBtn
-- FOV label + slider ──────────────────────────────────────
local fovSectionLabel = Instance.new("TextLabel")
fovSectionLabel.Size = UDim2.new(1, -40, 0, 18)
fovSectionLabel.Position = UDim2.new(0, 20, 0, 86)
fovSectionLabel.BackgroundTransparency = 1
fovSectionLabel.Text = "FOV RADIUS ( " .. aimbotFov .. " px )"
fovSectionLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
fovSectionLabel.Font = Enum.Font.GothamBold
fovSectionLabel.TextSize = 11
fovSectionLabel.TextXAlignment = Enum.TextXAlignment.Left
fovSectionLabel.ZIndex = 7
fovSectionLabel.Parent = aimScroll
local fovTrack = Instance.new("Frame")
fovTrack.Size = UDim2.new(0, 260, 0, 14)
fovTrack.Position = UDim2.new(0.5, -130, 0, 108)
fovTrack.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
fovTrack.BorderSizePixel = 0
fovTrack.ZIndex = 7
fovTrack.Parent = aimScroll
Instance.new("UICorner", fovTrack).CornerRadius = UDim.new(1, 0)
local fovFill = Instance.new("Frame")
fovFill.Size = UDim2.new(aimbotFov / 400, 0, 1, 0)
fovFill.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
fovFill.BorderSizePixel = 0
fovFill.ZIndex = 8
fovFill.Parent = fovTrack
Instance.new("UICorner", fovFill).CornerRadius = UDim.new(1, 0)
local fovKnob = Instance.new("Frame")
fovKnob.Size = UDim2.new(0, 20, 0, 20)
fovKnob.Position = UDim2.new(aimbotFov / 400, -10, 0.5, -10)
fovKnob.BackgroundColor3 = Color3.fromRGB(220, 80, 80)
fovKnob.BorderSizePixel = 0
fovKnob.ZIndex = 9
fovKnob.Parent = fovTrack
Instance.new("UICorner", fovKnob).CornerRadius = UDim.new(1, 0)
local fovKnobStroke = Instance.new("UIStroke")
fovKnobStroke.Color = Color3.fromRGB(255,255,255)
fovKnobStroke.Thickness = 2
fovKnobStroke.Transparency = 0.5
fovKnobStroke.Parent = fovKnob
-- Smooth label + slider ───────────────────────────────────
local smoothSectionLabel = Instance.new("TextLabel")
smoothSectionLabel.Size = UDim2.new(1, -40, 0, 18)
smoothSectionLabel.Position = UDim2.new(0, 20, 0, 140)
smoothSectionLabel.BackgroundTransparency = 1
smoothSectionLabel.Text = "SMOOTH ( " .. math.floor(aimbotSmooth * 100) .. "% )"
smoothSectionLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
smoothSectionLabel.Font = Enum.Font.Gotham
smoothSectionLabel.TextSize = 11
smoothSectionLabel.TextXAlignment = Enum.TextXAlignment.Left
smoothSectionLabel.ZIndex = 7
smoothSectionLabel.Parent = aimScroll
local smoothTrack = Instance.new("Frame")
smoothTrack.Size = UDim2.new(0, 260, 0, 14)
smoothTrack.Position = UDim2.new(0.5, -130, 0, 162)
smoothTrack.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
smoothTrack.BorderSizePixel = 0
smoothTrack.ZIndex = 7
smoothTrack.Parent = aimScroll
Instance.new("UICorner", smoothTrack).CornerRadius = UDim.new(1, 0)
local smoothFill = Instance.new("Frame")
smoothFill.Size = UDim2.new(aimbotSmooth, 0, 1, 0)
smoothFill.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
smoothFill.BorderSizePixel = 0
smoothFill.ZIndex = 8
smoothFill.Parent = smoothTrack
Instance.new("UICorner", smoothFill).CornerRadius = UDim.new(1, 0)
local smoothKnob = Instance.new("Frame")
smoothKnob.Size = UDim2.new(0, 20, 0, 20)
smoothKnob.Position = UDim2.new(aimbotSmooth, -10, 0.5, -10)
smoothKnob.BackgroundColor3 = Color3.fromRGB(220, 80, 80)
smoothKnob.BorderSizePixel = 0
smoothKnob.ZIndex = 9
smoothKnob.Parent = smoothTrack
Instance.new("UICorner", smoothKnob).CornerRadius = UDim.new(1, 0)
local smoothKnobStroke = Instance.new("UIStroke")
smoothKnobStroke.Color = Color3.fromRGB(255,255,255)
smoothKnobStroke.Thickness = 2
smoothKnobStroke.Transparency = 0.5
smoothKnobStroke.Parent = smoothKnob
-- MAX DISTANCE slider ────────────────────────────────────
local distSectionLabel = Instance.new("TextLabel")
distSectionLabel.Size = UDim2.new(1, -40, 0, 18)
distSectionLabel.Position = UDim2.new(0, 20, 0, 194)
distSectionLabel.BackgroundTransparency = 1
distSectionLabel.Text = "MAX DISTANCE ( " .. aimbotMaxDist .. " studs )"
distSectionLabel.TextColor3 = Color3.fromRGB(100, 100, 100)
distSectionLabel.Font = Enum.Font.GothamBold
distSectionLabel.TextSize = 11
distSectionLabel.TextXAlignment = Enum.TextXAlignment.Left
distSectionLabel.ZIndex = 7
distSectionLabel.Parent = aimScroll
local distTrack = Instance.new("Frame")
distTrack.Size = UDim2.new(0, 260, 0, 14)
distTrack.Position = UDim2.new(0.5, -130, 0, 216)
distTrack.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
distTrack.BorderSizePixel = 0
distTrack.ZIndex = 7
distTrack.Parent = aimScroll
Instance.new("UICorner", distTrack).CornerRadius = UDim.new(1, 0)
local distFill = Instance.new("Frame")
distFill.Size = UDim2.new((aimbotMaxDist - 10) / 490, 0, 1, 0)
distFill.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
distFill.BorderSizePixel = 0
distFill.ZIndex = 8
distFill.Parent = distTrack
Instance.new("UICorner", distFill).CornerRadius = UDim.new(1, 0)
local distKnob = Instance.new("Frame")
distKnob.Size = UDim2.new(0, 20, 0, 20)
distKnob.Position = UDim2.new((aimbotMaxDist - 10) / 490, -10, 0.5, -10)
distKnob.BackgroundColor3 = Color3.fromRGB(220, 80, 80)
distKnob.BorderSizePixel = 0
distKnob.ZIndex = 9
distKnob.Parent = distTrack
Instance.new("UICorner", distKnob).CornerRadius = UDim.new(1, 0)
local distKnobStroke = Instance.new("UIStroke")
distKnobStroke.Color = Color3.fromRGB(255,255,255)
distKnobStroke.Thickness = 2
distKnobStroke.Transparency = 0.5
distKnobStroke.Parent = distKnob
local aimInfoLabel = Instance.new("TextLabel")
aimInfoLabel.Size = UDim2.new(1, -40, 0, 40)
aimInfoLabel.Position = UDim2.new(0, 20, 0, 250)
aimInfoLabel.BackgroundTransparency = 1
aimInfoLabel.Text = "Hold right mouse button to aim.\nTargets head inside the mathematical FOV."
aimInfoLabel.TextColor3 = Color3.fromRGB(90, 90, 90)
aimInfoLabel.Font = Enum.Font.Gotham
aimInfoLabel.TextSize = 11
aimInfoLabel.TextXAlignment = Enum.TextXAlignment.Left
aimInfoLabel.TextWrapped = true
aimInfoLabel.ZIndex = 7
aimInfoLabel.Parent = aimScroll
-- Aimbot toggle
aimbotBtn.MouseButton1Click:Connect(function()
aimbotEnabled = not aimbotEnabled
if aimbotEnabled then
aimbotBtn.Text = "Aimbot ON"
aimbotBtn.TextColor3 = Color3.fromRGB(255, 80, 80)
TweenService:Create(aimbotBtn, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(45, 15, 15) }):Play()
TweenService:Create(aimbotStroke, TweenInfo.new(0.15), { Color = Color3.fromRGB(200, 60, 60) }):Play()
else
aimbotBtn.Text = "Aimbot OFF"
aimbotBtn.TextColor3 = Color3.fromRGB(160, 160, 160)
TweenService:Create(aimbotBtn, TweenInfo.new(0.15), { BackgroundColor3 = Color3.fromRGB(35, 35, 35) }):Play()
TweenService:Create(aimbotStroke, TweenInfo.new(0.15), { Color = Color3.fromRGB(70, 70, 70) }):Play()
end
end)
-- Slider drag management
local draggingFov = false
local draggingSmooth = false
local draggingDist = false
fovKnob.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingFov = true end end)
fovTrack.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingFov = true end end)
smoothKnob.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingSmooth = true end end)
smoothTrack.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingSmooth = true end end)
distKnob.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingDist = true end end)
distTrack.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then draggingDist = true end end)
local function trackT(trk, x)
return math.clamp((x - trk.AbsolutePosition.X) / trk.AbsoluteSize.X, 0, 1)
end
-- ── AIMBOT LOGIC ─────────────────────────────────────────
local Camera = workspace.CurrentCamera
local function getClosestTargetInFov()
local mousePos = UserInputService:GetMouseLocation()
local bestPlayer = nil
local bestDist = math.huge
for _, plr in ipairs(Players:GetPlayers()) do
if plr == player then continue end
local char = plr.Character
if not char then continue end
local head = char:FindFirstChild("Head")
local hum = char:FindFirstChildOfClass("Humanoid")
if not head or not hum or hum.Health <= 0 then continue end
local screenPos, onScreen = Camera:WorldToViewportPoint(head.Position)
if not onScreen then continue end
local screenVec = Vector2.new(screenPos.X, screenPos.Y)
local dist2d = (screenVec - mousePos).Magnitude
local hrp2 = char:FindFirstChild("HumanoidRootPart")
local localChar2 = player.Character
local localHrp2 = localChar2 and localChar2:FindFirstChild("HumanoidRootPart")
local worldDist = (hrp2 and localHrp2) and (hrp2.Position - localHrp2.Position).Magnitude or math.huge
if dist2d < aimbotFov and dist2d < bestDist and worldDist <= aimbotMaxDist then
bestDist = dist2d
bestPlayer = plr
end
end
return bestPlayer
end
RunService.RenderStepped:Connect(function()
if not aimbotEnabled then return end
if not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then return end
local target = getClosestTargetInFov()
if not target then return end
local char = target.Character
if not char then return end
local head = char:FindFirstChild("Head")
if not head then return end
local screenPos, onScreen = Camera:WorldToViewportPoint(head.Position)
if not onScreen then return end
local current = UserInputService:GetMouseLocation()
local goal = Vector2.new(screenPos.X, screenPos.Y)
local lerpAlpha = 1 - (math.clamp(aimbotSmooth, 0, 0.9) * 0.9)
local delta = (goal - current) * lerpAlpha
mousemoverel(delta.X, delta.Y)
end)
-- ── TAB SWITCHING ─────────────────────────────────────────
local function switchTab(tab)
clientPanel.Visible = false
aimPanel.Visible = false
for _, t in ipairs({clientTab, aimTab}) do
t.BackgroundColor3 = Color3.fromRGB(22,22,22)
t.TextColor3 = Color3.fromRGB(120,120,120)
end
if tab == "client" then
clientPanel.Visible = true
clientTab.BackgroundColor3 = Color3.fromRGB(35,35,35)
clientTab.TextColor3 = Color3.fromRGB(255,255,255)
TweenService:Create(tabUnderline, TweenInfo.new(0.2, Enum.EasingStyle.Quad), { Position = UDim2.new(0,0,1,-2) }):Play()
elseif tab == "aim" then
aimPanel.Visible = true
aimTab.BackgroundColor3 = Color3.fromRGB(35,35,35)
aimTab.TextColor3 = Color3.fromRGB(255,255,255)
TweenService:Create(tabUnderline, TweenInfo.new(0.2, Enum.EasingStyle.Quad), { Position = UDim2.new(0.5,0,1,-2) }):Play()
end
end
clientTab.MouseButton1Click:Connect(function() switchTab("client") end)
aimTab.MouseButton1Click:Connect(function() switchTab("aim") end)
-- ── COLOR HELPERS ─────────────────────────────────────────
local function toHex(c)
return string.format("#%02X%02X%02X", math.floor(c.R*255), math.floor(c.G*255), math.floor(c.B*255))
end
local function updateBgColor(hue)
hue = math.clamp(hue, 0, 1)
local col = Color3.fromHSV(hue, 0.6, 0.15)
bgKnob.Position = UDim2.new(hue, -10, 0.5, -10)
bgKnob.BackgroundColor3 = Color3.fromHSV(hue, 1, 0.9)
bgHexLabel.Text = toHex(col)
bgBox.BackgroundColor3 = col
bgStroke.Color = Color3.fromHSV(hue, 0.5, 0.3)
end
local function getHue(trk, inputX)
return math.clamp((inputX - trk.AbsolutePosition.X) / trk.AbsoluteSize.X, 0, 1)
end
-- ── DRAG WINDOW ───────────────────────────────────────────
local draggingWindow = false
local dragStartMouse, dragStartPos
dragBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
draggingWindow = true
dragStartMouse = Vector2.new(input.Position.X, input.Position.Y)
dragStartPos = bgBox.Position
end
end)
-- ── DRAG SLIDERS ──────────────────────────────────────────
local draggingSlider = false
local activeTrack = nil
bgKnob.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
draggingSlider = true
activeTrack = "bg"
end
end)
bgTrack.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
draggingSlider = true
activeTrack = "bg"
updateBgColor(getHue(bgTrack, input.Position.X))
end
end)
-- ── SHARED INPUT ──────────────────────────────────────────
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
draggingWindow = false
draggingSlider = false
activeTrack = nil
draggingFov = false
draggingSmooth = false
draggingDist = false
end
end)
UserInputService.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
if draggingWindow then
local delta = Vector2.new(input.Position.X, input.Position.Y) - dragStartMouse
bgBox.Position = UDim2.new(
dragStartPos.X.Scale, dragStartPos.X.Offset + delta.X,
dragStartPos.Y.Scale, dragStartPos.Y.Offset + delta.Y
)
elseif draggingFov then
local t = trackT(fovTrack, input.Position.X)
aimbotFov = math.floor(t * 400)
fovKnob.Position = UDim2.new(t, -10, 0.5, -10)
fovFill.Size = UDim2.new(t, 0, 1, 0)
fovSectionLabel.Text = "FOV RADIUS ( " .. aimbotFov .. " px )"
elseif draggingSmooth then
local t = trackT(smoothTrack, input.Position.X)
aimbotSmooth = t
smoothKnob.Position = UDim2.new(t, -10, 0.5, -10)
smoothFill.Size = UDim2.new(t, 0, 1, 0)
smoothSectionLabel.Text = "SMOOTH ( " .. math.floor(t * 100) .. "% )"
elseif draggingDist then
local t = trackT(distTrack, input.Position.X)
aimbotMaxDist = math.floor(10 + t * 490)
distKnob.Position = UDim2.new(t, -10, 0.5, -10)
distFill.Size = UDim2.new(t, 0, 1, 0)
distSectionLabel.Text = "MAX DISTANCE ( " .. aimbotMaxDist .. " studs )"
elseif draggingSlider then
if activeTrack == "bg" then
updateBgColor(getHue(bgTrack, input.Position.X))
end
end
end
end)
-- ── L KEY TOGGLE ──────────────────────────────────────────
local visible = true
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.L then
visible = not visible
bgBox.Visible = visible
bgBox.Active = visible
end
end)



Claude 😭
@YesDev whats that