
Keyless

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local Debris = game:GetService("Debris")
local Workspace = game:GetService("Workspace")
local function getService(name)
local service = game:GetService(name)
if cloneref then
local ok, res = pcall(cloneref, service)
if ok and res then return res end
end
return service
end
local CoreGui = getService("CoreGui")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local Camera = Workspace.CurrentCamera
local CFG = {
SilentEnabled = true,
TargetPart = "Head",
HitChance = 100,
MaxDistance = 2500,
WallbangEnabled = true,
WallCheck = false,
FOVEnabled = true,
FOVVisible = true,
FOVRadius = 200,
ESPEnabled = true,
IndicatorEnabled = true,
}
local CurrentTarget = nil
local FOVCircle = nil
if Drawing and Drawing.new then
FOVCircle = Drawing.new("Circle")
FOVCircle.Visible = CFG.FOVVisible
FOVCircle.Radius = CFG.FOVRadius
FOVCircle.Color = Color3.fromRGB(255, 30, 80)
FOVCircle.Thickness = 1.5
FOVCircle.Filled = false
FOVCircle.Transparency = 0.7
FOVCircle.NumSides = 64
end
local function IsEnemy(character)
if not character or character == LocalPlayer.Character then return false end
local outline = character:FindFirstChild("TR_EnemyOutline")
or character:FindFirstChild("TR_EnemyOutline", true)
return outline ~= nil
end
local function IsVisible(targetPart, character)
if CFG.WallbangEnabled then return true end
if not CFG.WallCheck then return true end
local origin = Camera.CFrame.Position
local direction = targetPart.Position - origin
local params = RaycastParams.new()
params.FilterType = Enum.RaycastFilterType.Exclude
local ignore = { LocalPlayer.Character, character, Camera }
local fxF = Workspace:FindFirstChild("FX")
if fxF then table.insert(ignore, fxF) end
local prF = Workspace:FindFirstChild("Projectiles")
if prF then table.insert(ignore, prF) end
params.FilterDescendantsInstances = ignore
return Workspace:Raycast(origin, direction, params) == nil
end
local function ResolvePartName()
if CFG.TargetPart == "Random" then
local opts = {"Head", "HumanoidRootPart", "UpperTorso"}
return opts[math.random(1, #opts)]
end
return CFG.TargetPart
end
local function GetClosestTarget()
local best = nil
local bestDist = CFG.FOVRadius
local mPos = Vector2.new(Mouse.X, Mouse.Y)
local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if not myRoot then return nil end
local candidates = {}
for _, p in pairs(Players:GetPlayers()) do
if p ~= LocalPlayer and p.Character then
table.insert(candidates, {char = p.Character, player = p})
end
end
for _, m in pairs(Workspace:GetChildren()) do
if m:IsA("Model") and m ~= LocalPlayer.Character then
if not Players:GetPlayerFromCharacter(m) then
if m:FindFirstChild("TR_EnemyOutline") or m:FindFirstChild("TR_EnemyOutline", true) then
table.insert(candidates, {char = m, player = nil})
end
end
end
end
for _, c in pairs(candidates) do
local char = c.char
if IsEnemy(char) then
local hum = char:FindFirstChildOfClass("Humanoid")
if hum and hum.Health > 0 then
local partName = ResolvePartName()
local part = char:FindFirstChild(partName)
or char:FindFirstChild("Head")
or char:FindFirstChild("HumanoidRootPart")
if part and part:IsA("BasePart") then
local dist3D = (part.Position - myRoot.Position).Magnitude
if dist3D <= CFG.MaxDistance then
local sPos, onScreen = Camera:WorldToViewportPoint(part.Position)
if onScreen then
local d2 = (Vector2.new(sPos.X, sPos.Y) - mPos).Magnitude
if d2 < bestDist and IsVisible(part, char) then
bestDist = d2
best = {
Player = c.player,
Character = char,
Part = part,
PartName = partName,
ScreenPos = sPos,
Distance = math.floor(dist3D),
}
end
end
end
end
end
end
end
return best
end
local function RollHit()
return math.random(1, 100) <= CFG.HitChance
end
local WeaponAction = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("WeaponAction")
if hookmetamethod or getrawmetatable then
local oldNamecall
oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
local method = getnamecallmethod()
local args = {...}
if method == "FireServer" and self == WeaponAction then
if CFG.SilentEnabled and CurrentTarget and RollHit() then
local action = args[1]
if action == "Shoot" and type(args[2]) == "table" then
local data = args[2]
if typeof(data.origin) == "Vector3" and typeof(data.dir) == "Vector3" then
local tPos = CurrentTarget.Part.Position
data.dir = (tPos - data.origin).Unit
args[2] = data
return oldNamecall(self, unpack(args))
end
end
end
end
return oldNamecall(self, ...)
end))
end
if not hookmetamethod and not getrawmetatable then
UserInputService.InputBegan:Connect(function(input, gpe)
if gpe then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if CFG.SilentEnabled and CurrentTarget and RollHit() then
local orig = Camera.CFrame
Camera.CFrame = CFrame.lookAt(orig.Position, CurrentTarget.Part.Position)
task.defer(function() Camera.CFrame = orig end)
end
end
end)
end
local indicatorGui = Instance.new("ScreenGui")
indicatorGui.Name = "ScopeIndicator"
indicatorGui.ResetOnSpawn = false
indicatorGui.IgnoreGuiInset = true
pcall(function() indicatorGui.Parent = CoreGui end)
if not indicatorGui.Parent then indicatorGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end
local indicatorFrame = Instance.new("Frame")
indicatorFrame.Name = "IndFrame"
indicatorFrame.AnchorPoint = Vector2.new(0, 0.5)
indicatorFrame.Position = UDim2.new(0.5, 40, 0.5, 0)
indicatorFrame.Size = UDim2.new(0, 220, 0, 60)
indicatorFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
indicatorFrame.BackgroundTransparency = 0.45
indicatorFrame.BorderSizePixel = 0
indicatorFrame.Visible = false
indicatorFrame.Parent = indicatorGui
Instance.new("UICorner", indicatorFrame).CornerRadius = UDim.new(0, 8)
local indStroke = Instance.new("UIStroke")
indStroke.Color = Color3.fromRGB(255, 40, 40)
indStroke.Thickness = 1.2
indStroke.Transparency = 0.3
indStroke.Parent = indicatorFrame
local indName = Instance.new("TextLabel")
indName.Name = "NameLabel"
indName.AnchorPoint = Vector2.new(0, 0)
indName.Position = UDim2.new(0, 8, 0, 4)
indName.Size = UDim2.new(1, -16, 0, 22)
indName.BackgroundTransparency = 1
indName.Font = Enum.Font.GothamBold
indName.TextSize = 15
indName.TextColor3 = Color3.fromRGB(255, 80, 80)
indName.TextStrokeTransparency = 0.4
indName.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
indName.TextXAlignment = Enum.TextXAlignment.Left
indName.Text = ""
indName.Parent = indicatorFrame
local indInfo = Instance.new("TextLabel")
indInfo.Name = "InfoLabel"
indInfo.AnchorPoint = Vector2.new(0, 0)
indInfo.Position = UDim2.new(0, 8, 0, 28)
indInfo.Size = UDim2.new(1, -16, 0, 22)
indInfo.BackgroundTransparency = 1
indInfo.Font = Enum.Font.Gotham
indInfo.TextSize = 13
indInfo.TextColor3 = Color3.fromRGB(255, 200, 200)
indInfo.TextStrokeTransparency = 0.5
indInfo.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
indInfo.TextXAlignment = Enum.TextXAlignment.Left
indInfo.Text = ""
indInfo.Parent = indicatorFrame
local indDot = Instance.new("Frame")
indDot.Name = "Dot"
indDot.AnchorPoint = Vector2.new(0.5, 0.5)
indDot.Position = UDim2.new(0.5, 20, 0.5, 0)
indDot.Size = UDim2.new(0, 6, 0, 6)
indDot.BackgroundColor3 = Color3.fromRGB(255, 40, 40)
indDot.BorderSizePixel = 0
indDot.Visible = false
indDot.Parent = indicatorGui
Instance.new("UICorner", indDot).CornerRadius = UDim.new(1, 0)
RunService.RenderStepped:Connect(function()
Camera = Workspace.CurrentCamera
CurrentTarget = GetClosestTarget()
if FOVCircle then
FOVCircle.Position = Vector2.new(Mouse.X, Mouse.Y + 36)
FOVCircle.Radius = CFG.FOVRadius
FOVCircle.Visible = CFG.FOVEnabled and CFG.FOVVisible
end
if CFG.IndicatorEnabled and CurrentTarget then
local name = CurrentTarget.Player
and CurrentTarget.Player.Name
or CurrentTarget.Character.Name
indName.Text = "» " .. name
indInfo.Text = " " .. CurrentTarget.PartName .. " | " .. tostring(CurrentTarget.Distance) .. " studs"
indicatorFrame.Visible = true
indDot.Visible = true
if CFG.WallbangEnabled and CFG.WallCheck then
indStroke.Color = Color3.fromRGB(255, 160, 40)
else
indStroke.Color = Color3.fromRGB(255, 40, 40)
end
else
indicatorFrame.Visible = false
indDot.Visible = false
end
end)
local ESPFolder = Instance.new("Folder")
ESPFolder.Name = "SA_ESP"
pcall(function() ESPFolder.Parent = CoreGui end)
if not ESPFolder.Parent then ESPFolder.Parent = LocalPlayer:WaitForChild("PlayerGui") end
local function CreateESP(player)
if player == LocalPlayer then return end
local function Apply(character)
if not character then return end
task.spawn(function()
local head = character:WaitForChild("Head", 5)
local hum = character:WaitForChild("Humanoid", 5)
if not head or not hum then return end
local waited = 0
while waited < 10 do
if character:FindFirstChild("TR_EnemyOutline") or character:FindFirstChild("TR_EnemyOutline", true) then break end
task.wait(0.5)
waited += 0.5
end
if not (character:FindFirstChild("TR_EnemyOutline") or character:FindFirstChild("TR_EnemyOutline", true)) then return end
if not CFG.ESPEnabled then return end
local bb = Instance.new("BillboardGui")
bb.Name = player.Name .. "_ESP"
bb.Adornee = head
bb.Size = UDim2.new(0, 170, 0, 40)
bb.StudsOffset = Vector3.new(0, 3, 0)
bb.AlwaysOnTop = true
bb.Parent = ESPFolder
local lbl = Instance.new("TextLabel")
lbl.Size = UDim2.new(1, 0, 1, 0)
lbl.BackgroundTransparency = 1
lbl.TextColor3 = Color3.fromRGB(255, 60, 60)
lbl.TextStrokeTransparency = 0
lbl.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
lbl.TextSize = 14
lbl.Font = Enum.Font.SourceSansBold
lbl.Text = "[EN] " .. player.Name .. " | " .. math.floor(hum.Health)
lbl.Parent = bb
hum.HealthChanged:Connect(function(hp)
if lbl.Parent then lbl.Text = "[EN] " .. player.Name .. " | " .. math.floor(hp) end
end)
character.Destroying:Connect(function() if bb then bb:Destroy() end end)
end)
end
if player.Character then Apply(player.Character) end
player.CharacterAdded:Connect(Apply)
end
for _, p in pairs(Players:GetPlayers()) do CreateESP(p) end
Players.PlayerAdded:Connect(CreateESP)
local lib = {}
local sections = {}
local workareas = {}
local visible = true
local dbcooper = false
local function tp(ins, pos, time)
if not ins or not ins.Parent then return end
return TweenService:Create(ins, TweenInfo.new(time or 0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {Position = pos}):Play()
end
local function getParentGui()
if gethui then local ok, r = pcall(gethui); if ok and r then return r end end
if syn and syn.protect_gui then return CoreGui end
local ok, cg = pcall(function() return CoreGui end)
if ok and cg then return cg end
if LocalPlayer then
local ok2, pg = pcall(function() return LocalPlayer:FindFirstChildOfClass("PlayerGui") end)
if ok2 and pg then return pg end
end
return CoreGui
end
function lib:init(ti, dosplash, visiblekey, deleteprevious)
ti = ti or "Titlebar"
if visiblekey == nil or visiblekey == true then visiblekey = Enum.KeyCode.Insert end
local parentGui = getParentGui()
if deleteprevious then
pcall(function()
for _, old in ipairs(parentGui:GetChildren()) do
if old.Name == "AppleLibraryGUI" and old:FindFirstChild("main") then
tp(old.main, old.main.Position + UDim2.new(0,0,2,0), 0.5)
Debris:AddItem(old, 0.5)
end
end
end)
end
local scrgui = Instance.new("ScreenGui")
scrgui.Name = "AppleLibraryGUI"
scrgui.ResetOnSpawn = false
if syn and syn.protect_gui then pcall(syn.protect_gui, scrgui) end
local ok = pcall(function() scrgui.Parent = parentGui end)
if not ok and LocalPlayer then scrgui.Parent = LocalPlayer:WaitForChild("PlayerGui") end
local main = Instance.new("Frame")
main.Name = "main"; main.Parent = scrgui
main.AnchorPoint = Vector2.new(0.5, 0.5)
main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
main.BackgroundTransparency = 0.15
main.Position = UDim2.new(0.5, 0, 2, 0)
main.Size = UDim2.new(0, 721, 0, 584)
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 18)
local dragging, dragInput, dragStart, startPos
main.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true; dragStart = input.Position; startPos = main.Position
input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end)
end
end)
main.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging 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)
local workarea = Instance.new("Frame")
workarea.Name = "workarea"; workarea.Parent = main
workarea.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
workarea.Position = UDim2.new(0.364, 0, 0, 0)
workarea.Size = UDim2.new(0, 458, 0, 584)
Instance.new("UICorner", workarea).CornerRadius = UDim.new(0, 18)
local wch = Instance.new("Frame"); wch.Parent = workarea; wch.BackgroundColor3 = Color3.fromRGB(255,255,255); wch.BorderSizePixel = 0; wch.Size = UDim2.new(0,18,0.999,0)
local search = Instance.new("Frame"); search.Parent = main; search.BackgroundColor3 = Color3.fromRGB(255,255,255)
search.Position = UDim2.new(0.026,0,0.096,0); search.Size = UDim2.new(0,225,0,34)
Instance.new("UICorner", search).CornerRadius = UDim.new(0,9)
local stb = Instance.new("TextBox"); stb.Parent = search; stb.BackgroundTransparency = 1; stb.ClipsDescendants = true
stb.Position = UDim2.new(0.06,0,0,0); stb.Size = UDim2.new(0,210,0,34)
stb.Font = Enum.Font.Gotham; stb.PlaceholderText = "Search"; stb.Text = ""
stb.TextColor3 = Color3.fromRGB(95,95,95); stb.TextSize = 22; stb.TextXAlignment = Enum.TextXAlignment.Left
local sidebar = Instance.new("ScrollingFrame"); sidebar.Name = "sidebar"; sidebar.Parent = main
sidebar.Active = true; sidebar.BackgroundTransparency = 1; sidebar.BorderSizePixel = 0
sidebar.Position = UDim2.new(0.025,0,0.182,0); sidebar.Size = UDim2.new(0,233,0,463)
sidebar.CanvasSize = UDim2.new(0,0,0,0); sidebar.ScrollBarThickness = 2
local sll = Instance.new("UIListLayout"); sll.Parent = sidebar; sll.SortOrder = Enum.SortOrder.LayoutOrder; sll.Padding = UDim.new(0,5)
sll:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() sidebar.CanvasSize = UDim2.new(0,0,0,sll.AbsoluteContentSize.Y+10) end)
stb:GetPropertyChangedSignal("Text"):Connect(function()
local t = string.upper(stb.Text)
for _, b in ipairs(sidebar:GetChildren()) do
if b:IsA("TextButton") then b.Visible = (t == "" or string.find(string.upper(b.Text), t, 1, true) ~= nil) end
end
end)
local btns = Instance.new("Frame"); btns.Parent = main; btns.BackgroundTransparency = 1; btns.Size = UDim2.new(0,105,0,57)
local bll = Instance.new("UIListLayout"); bll.Parent = btns; bll.FillDirection = Enum.FillDirection.Horizontal; bll.HorizontalAlignment = Enum.HorizontalAlignment.Center; bll.VerticalAlignment = Enum.VerticalAlignment.Center; bll.Padding = UDim.new(0,10)
local function dot(c, parent)
local b = Instance.new("TextButton"); b.Parent = parent; b.BackgroundColor3 = c; b.Size = UDim2.new(0,16,0,16); b.AutoButtonColor = false; b.Text = ""
Instance.new("UICorner", b).CornerRadius = UDim.new(1,0); return b
end
local closeBtn = dot(Color3.fromRGB(254,94,86), btns)
closeBtn.MouseButton1Click:Connect(function()
tp(main, main.Position + UDim2.new(0,0,2,0), 0.5); task.wait(0.5); scrgui:Destroy()
end)
local minimizeBtn = dot(Color3.fromRGB(255,189,46), btns)
dot(Color3.fromRGB(39,200,63), btns)
local title = Instance.new("TextLabel"); title.Parent = main; title.BackgroundTransparency = 1
title.Position = UDim2.new(0.389,0,0.035,0); title.Size = UDim2.new(0,400,0,15)
title.Font = Enum.Font.Gotham; title.TextColor3 = Color3.fromRGB(0,0,0); title.TextSize = 28; title.TextXAlignment = Enum.TextXAlignment.Left; title.Text = ti
tp(main, UDim2.new(0.5, 0, 0.5, 0), 1)
local window = {}
function window:ToggleVisible()
if dbcooper then return end; visible = not visible; dbcooper = true
if visible then tp(main, UDim2.new(0.5,0,0.5,0), 0.5); task.wait(0.5); dbcooper = false
else tp(main, main.Position + UDim2.new(0,0,2,0), 0.5); task.wait(0.5); dbcooper = false end
end
if visiblekey then
minimizeBtn.MouseButton1Click:Connect(function() window:ToggleVisible() end)
UserInputService.InputBegan:Connect(function(input, gpe)
if not gpe and input.KeyCode == visiblekey then window:ToggleVisible() end
end)
end
function window:Divider(name)
local d = Instance.new("TextLabel"); d.Parent = sidebar; d.BackgroundTransparency = 1; d.Size = UDim2.new(0,226,0,26)
d.Font = Enum.Font.Gotham; d.Text = name or ""; d.TextColor3 = Color3.fromRGB(95,95,95); d.TextSize = 21; d.TextXAlignment = Enum.TextXAlignment.Left; d.TextYAlignment = Enum.TextYAlignment.Bottom
end
function window:TempNotify(t1, t2)
pcall(function()
for _, v in next, scrgui:GetChildren() do if v.Name == "tempnotif" then v.Position = v.Position + UDim2.new(0,0,0,130) end end
local tn = Instance.new("Frame"); tn.Name = "tempnotif"; tn.Parent = scrgui; tn.AnchorPoint = Vector2.new(0.5,0.5)
tn.BackgroundColor3 = Color3.fromRGB(255,255,255); tn.BackgroundTransparency = 0.15; tn.Position = UDim2.new(1,-250,0.08,0); tn.Size = UDim2.new(0,380,0,80); tn.ZIndex = 4
Instance.new("UICorner", tn).CornerRadius = UDim.new(0,14)
local l1 = Instance.new("TextLabel"); l1.Parent = tn; l1.BackgroundTransparency = 1; l1.Position = UDim2.new(0.04,0,0.08,0); l1.Size = UDim2.new(0.92,0,0,24); l1.ZIndex = 4
l1.Font = Enum.Font.GothamMedium; l1.Text = t1 or ""; l1.TextColor3 = Color3.fromRGB(60,60,60); l1.TextSize = 20; l1.TextXAlignment = Enum.TextXAlignment.Left
local l2 = Instance.new("TextLabel"); l2.Parent = tn; l2.BackgroundTransparency = 1; l2.Position = UDim2.new(0.04,0,0.44,0); l2.Size = UDim2.new(0.92,0,0,40); l2.ZIndex = 4
l2.Font = Enum.Font.Gotham; l2.Text = t2 or ""; l2.TextColor3 = Color3.fromRGB(95,95,95); l2.TextSize = 15; l2.TextWrapped = true; l2.TextXAlignment = Enum.TextXAlignment.Left
Debris:AddItem(tn, 4)
end)
end
function window:Section(name)
local sbtn = Instance.new("TextButton"); sbtn.Parent = sidebar; sbtn.BackgroundColor3 = Color3.fromRGB(21,103,251); sbtn.BackgroundTransparency = 1
sbtn.Size = UDim2.new(0,226,0,37); sbtn.ZIndex = 2; sbtn.AutoButtonColor = false; sbtn.Font = Enum.Font.Gotham; sbtn.Text = name or ""; sbtn.TextColor3 = Color3.fromRGB(0,0,0); sbtn.TextSize = 21
Instance.new("UICorner", sbtn).CornerRadius = UDim.new(0,9)
table.insert(sections, sbtn)
local wm = Instance.new("ScrollingFrame"); wm.Parent = workarea; wm.Active = true; wm.BackgroundTransparency = 1; wm.BorderSizePixel = 0
wm.Position = UDim2.new(0.039,0,0.096,0); wm.Size = UDim2.new(0,422,0,512); wm.ZIndex = 3; wm.CanvasSize = UDim2.new(0,0,0,0); wm.ScrollBarThickness = 2; wm.Visible = false
local wll = Instance.new("UIListLayout"); wll.Parent = wm; wll.HorizontalAlignment = Enum.HorizontalAlignment.Center; wll.SortOrder = Enum.SortOrder.LayoutOrder; wll.Padding = UDim.new(0,5)
wll:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() wm.CanvasSize = UDim2.new(0,0,0,wll.AbsoluteContentSize.Y+10) end)
table.insert(workareas, wm)
local sec = {}
function sec:Select()
for _, v in next, sections do v.BackgroundTransparency = 1; v.TextColor3 = Color3.fromRGB(0,0,0) end
sbtn.BackgroundTransparency = 0; sbtn.TextColor3 = Color3.fromRGB(255,255,255)
for _, v in next, workareas do v.Visible = false end; wm.Visible = true
end
function sec:Divider(n) local d = Instance.new("TextLabel"); d.Parent = wm; d.BackgroundTransparency = 1; d.Size = UDim2.new(0,418,0,50); d.Font = Enum.Font.Gotham; d.Text = n or ""; d.TextColor3 = Color3.fromRGB(0,0,0); d.TextSize = 25; d.TextXAlignment = Enum.TextXAlignment.Left; d.TextYAlignment = Enum.TextYAlignment.Bottom end
function sec:Label(n) local l = Instance.new("TextLabel"); l.Parent = wm; l.BackgroundTransparency = 1; l.Size = UDim2.new(0,418,0,30); l.Font = Enum.Font.Gotham; l.Text = n or ""; l.TextColor3 = Color3.fromRGB(95,95,95); l.TextSize = 18; l.TextWrapped = true end
function sec:Button(n, cb)
local b = Instance.new("TextButton"); b.Parent = wm; b.BackgroundColor3 = Color3.fromRGB(216,216,216); b.BackgroundTransparency = 1; b.Size = UDim2.new(0,418,0,37)
b.ZIndex = 2; b.Font = Enum.Font.Gotham; b.Text = n or ""; b.TextColor3 = Color3.fromRGB(21,103,251); b.TextSize = 21
Instance.new("UICorner", b).CornerRadius = UDim.new(0,9)
local s = Instance.new("UIStroke"); s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border; s.Color = Color3.fromRGB(21,103,251); s.Thickness = 1; s.Parent = b
if cb then b.MouseButton1Click:Connect(function() pcall(cb) end) end
end
function sec:Switch(n, def, cb)
local mode = def or false
local tl = Instance.new("TextLabel"); tl.Parent = wm; tl.BackgroundTransparency = 1; tl.Size = UDim2.new(0,418,0,37)
tl.Font = Enum.Font.Gotham; tl.Text = n or ""; tl.TextColor3 = Color3.fromRGB(95,95,95); tl.TextSize = 21; tl.TextXAlignment = Enum.TextXAlignment.Left
local fr = Instance.new("TextButton"); fr.Parent = tl; fr.Position = UDim2.new(0.833,0,0.027,0); fr.Size = UDim2.new(0,70,0,36); fr.Text = ""; fr.AutoButtonColor = false
Instance.new("UICorner", fr).CornerRadius = UDim.new(5,0)
local tb = Instance.new("TextButton"); tb.Parent = fr; tb.BackgroundColor3 = Color3.fromRGB(255,255,255); tb.Size = UDim2.new(0,34,0,34); tb.AutoButtonColor = false; tb.Text = ""
Instance.new("UICorner", tb).CornerRadius = UDim.new(5,0)
if mode then tb.Position = UDim2.new(0,35,0,1); fr.BackgroundColor3 = Color3.fromRGB(21,103,251)
else tb.Position = UDim2.new(0,1,0,1); fr.BackgroundColor3 = Color3.fromRGB(216,216,216) end
local function tog()
mode = not mode; if cb then pcall(cb, mode) end
if mode then tb:TweenPosition(UDim2.new(0,35,0,1),"In","Sine",0.1,true); fr.BackgroundColor3 = Color3.fromRGB(21,103,251)
else tb:TweenPosition(UDim2.new(0,1,0,1),"In","Sine",0.1,true); fr.BackgroundColor3 = Color3.fromRGB(216,216,216) end
end
fr.MouseButton1Click:Connect(tog); tb.MouseButton1Click:Connect(tog)
end
function sec:Slider(n, min, max, def, cb)
min = min or 0; max = max or 100; def = math.clamp(def or min, min, max)
local sl = Instance.new("TextLabel"); sl.Parent = wm; sl.BackgroundTransparency = 1; sl.Size = UDim2.new(0,418,0,45)
sl.Font = Enum.Font.Gotham; sl.Text = (n or "Slider")..": "..tostring(def); sl.TextColor3 = Color3.fromRGB(95,95,95); sl.TextSize = 21; sl.TextXAlignment = Enum.TextXAlignment.Left
local bg = Instance.new("TextButton"); bg.Parent = sl; bg.BackgroundColor3 = Color3.fromRGB(216,216,216); bg.Position = UDim2.new(0.44,0,0.3,0); bg.Size = UDim2.new(0,233,0,16); bg.Text = ""; bg.AutoButtonColor = false
Instance.new("UICorner", bg).CornerRadius = UDim.new(1,0)
local fill = Instance.new("Frame"); fill.Parent = bg; fill.BackgroundColor3 = Color3.fromRGB(21,103,251); fill.Size = UDim2.new((def-min)/(max-min),0,1,0)
Instance.new("UICorner", fill).CornerRadius = UDim.new(1,0)
local sliding = false
local function upd(input) local p = math.clamp((input.Position.X - bg.AbsolutePosition.X)/bg.AbsoluteSize.X,0,1); local v = math.floor(min+((max-min)*p)); fill.Size = UDim2.new(p,0,1,0); sl.Text = (n or "Slider")..": "..tostring(v); if cb then pcall(cb, v) end end
bg.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then sliding = true; upd(i) end end)
UserInputService.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then sliding = false end end)
UserInputService.InputChanged:Connect(function(i) if sliding and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then upd(i) end end)
end
function sec:Dropdown(n, opts, def, cb)
opts = opts or {}; local sel = def or opts[1] or "Select"; local opened = false
local dl = Instance.new("TextLabel"); dl.Parent = wm; dl.BackgroundTransparency = 1; dl.Size = UDim2.new(0,418,0,37)
dl.Font = Enum.Font.Gotham; dl.Text = n or "Dropdown"; dl.TextColor3 = Color3.fromRGB(95,95,95); dl.TextSize = 21; dl.TextXAlignment = Enum.TextXAlignment.Left
local db = Instance.new("TextButton"); db.Parent = dl; db.BackgroundColor3 = Color3.fromRGB(240,240,240); db.Position = UDim2.new(0.442,0,0.027,0); db.Size = UDim2.new(0,233,0,34)
db.Font = Enum.Font.Gotham; db.Text = tostring(sel).." v"; db.TextColor3 = Color3.fromRGB(21,103,251); db.TextSize = 18
Instance.new("UICorner", db).CornerRadius = UDim.new(0,9)
local of = Instance.new("Frame"); of.Parent = wm; of.BackgroundColor3 = Color3.fromRGB(245,245,245); of.Size = UDim2.new(0,418,0,#opts*32); of.Visible = false
Instance.new("UICorner", of).CornerRadius = UDim.new(0,9)
local oll = Instance.new("UIListLayout"); oll.Parent = of; oll.SortOrder = Enum.SortOrder.LayoutOrder
for _, o in ipairs(opts) do
local ob = Instance.new("TextButton"); ob.Parent = of; ob.BackgroundTransparency = 1; ob.Size = UDim2.new(1,0,0,32)
ob.Font = Enum.Font.Gotham; ob.Text = tostring(o); ob.TextColor3 = Color3.fromRGB(95,95,95); ob.TextSize = 18
ob.MouseButton1Click:Connect(function() sel = o; db.Text = tostring(sel).." v"; of.Visible = false; opened = false; if cb then pcall(cb, sel) end end)
end
db.MouseButton1Click:Connect(function() opened = not opened; of.Visible = opened end)
end
sbtn.MouseButton1Click:Connect(function() sec:Select() end)
return sec
end
return window
end
local window = lib:init("Silent Aim + Wallbang", false, Enum.KeyCode.Insert, true)
window:Divider("Combat")
local aimSec = window:Section("Silent Aim")
aimSec:Divider("Silent Aim Settings")
aimSec:Switch("Silent Aim Enabled", CFG.SilentEnabled, function(v) CFG.SilentEnabled = v end)
aimSec:Slider("Hit Chance %", 1, 100, CFG.HitChance, function(v) CFG.HitChance = v end)
aimSec:Slider("Max Distance", 100, 5000, CFG.MaxDistance, function(v) CFG.MaxDistance = v end)
aimSec:Dropdown("Target Part", {"Head", "HumanoidRootPart", "UpperTorso", "Random"}, CFG.TargetPart, function(v) CFG.TargetPart = v end)
aimSec:Divider("FOV")
aimSec:Switch("FOV Circle", CFG.FOVVisible, function(v) CFG.FOVVisible = v; CFG.FOVEnabled = v end)
aimSec:Slider("FOV Radius", 50, 500, CFG.FOVRadius, function(v) CFG.FOVRadius = v end)
aimSec:Divider("Scope Indicator")
aimSec:Switch("Target Indicator", CFG.IndicatorEnabled, function(v)
CFG.IndicatorEnabled = v
if not v then indicatorFrame.Visible = false; indDot.Visible = false end
end)
aimSec:Label("Shows target name + body part near crosshair")
local wbSec = window:Section("Wallbang")
wbSec:Divider("Wallbang Settings")
wbSec:Switch("Wallbang (Shoot Through Walls)", CFG.WallbangEnabled, function(v)
CFG.WallbangEnabled = v
if v then CFG.WallCheck = false end
window:TempNotify("Wallbang", v and "ON — стреляет сквозь стены" or "OFF")
end)
wbSec:Switch("Wall Check (if Wallbang OFF)", CFG.WallCheck, function(v)
CFG.WallCheck = v
if v then CFG.WallbangEnabled = false end
end)
wbSec:Label("Wallbang ON → стреляет в ближайшего врага")
wbSec:Label("даже если он за стеной, через стены.")
wbSec:Label("Wall Check ON → стреляет ТОЛЬКО по видимым.")
wbSec:Label("(Wallbang и Wall Check взаимоисключающие)")
window:Divider("Visuals")
local espSec = window:Section("ESP")
espSec:Divider("ESP Settings")
espSec:Switch("ESP Names + HP", CFG.ESPEnabled, function(v)
CFG.ESPEnabled = v
for _, ch in pairs(ESPFolder:GetChildren()) do
if ch:IsA("BillboardGui") then ch.Enabled = v end
end
end)
espSec:Label("Показывает [EN] ник | HP над врагами")
espSec:Label("Враги определяются по TR_EnemyOutline")
aimSec:Select()
Not mobile friendly