TGViewer
Channel Public Channel
@sqzzor54

@sqzzor54

@sqzzor54

Subscribers
1
Photos
0
Videos
0
Links
8
Recent Posts 9 shown
Post #9 24
local text = Instance.new("TextLabel"); text.Name = "NameLabel"
text.Size = UDim2.new(1, 0, 0.6, 0); text.Position = UDim2.new(0, 0, 0, 0)
text.BackgroundTransparency = 1; text.Text = p.Name
text.TextStrokeTransparency = 0; text.Font = Enum.Font.SourceSansBold
text.TextSize = 14; text.Parent = tag

local hpBg = Instance.new("Frame"); hpBg.Name = "HpBg"
hpBg.Size = UDim2.new(0.6, 0, 0, 4); hpBg.Position = UDim2.new(0.2, 0, 0.6, 2)
hpBg.BackgroundColor3 = Color3.fromRGB(0, 0, 0); hpBg.BorderSizePixel = 1; hpBg.Parent = tag

local hpFill = Instance.new("Frame"); hpFill.Name = "HpFill"
hpFill.Size = UDim2.new(1, 0, 1, 0); hpFill.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
hpFill.BorderSizePixel = 0; hpFill.Parent = hpBg
end

if Config.espColor == Color3.fromRGB(0, 0, 0) then
tag.NameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
else
tag.NameLabel.TextColor3 = Config.espColor
end

-- Обновление Health ESP (Зеленый -> Красный)
local hpPct = math.clamp(pHum.Health / pHum.MaxHealth, 0, 1)
tag.HpBg.HpFill.Size = UDim2.new(hpPct, 0, 1, 0)
tag.HpBg.HpFill.BackgroundColor3 = Color3.fromRGB(255 - (hpPct * 255), hpPct * 255, 0)

elseif (not Config.nametagsEnabled or (pHum and pHum.Health <= 0)) and pChar:FindFirstChild("Head") then
local tag = pChar.Head:FindFirstChild("CheatNametag")
if tag then tag:Destroy() end
end
end
end
end)

-- 5. NOCLIP
RunService.Stepped:Connect(function()
if Config.noclipEnabled then
local char = localPlayer.Character
if char then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") and part.CanCollide then
part.CanCollide = false
end
end
end
end
end)
Post #8 25
if Config.aimControl == "Camera" then
if Config.aimMode == "Sharp" or Config.aimSmooth <= 0 then
camera.CFrame = targetCFrame
elseif Config.aimMode == "Smooth" then
local smoothFactor = math.clamp(deltaTime * (30 / Config.aimSmooth), 0, 1)
camera.CFrame = camera.CFrame:Lerp(targetCFrame, smoothFactor)
elseif Config.aimMode == "Human" then
-- Имитация дрожания рук
local shakeX = (math.random() - 0.5) * 0.05
local shakeY = (math.random() - 0.5) * 0.05
local shakeCFrame = targetCFrame * CFrame.Angles(shakeX, shakeY, 0)
local smoothFactor = math.clamp(deltaTime * (30 / Config.aimSmooth), 0, 1)
camera.CFrame = camera.CFrame:Lerp(shakeCFrame, smoothFactor)
end
elseif Config.aimControl == "Mouse" then
local screenPos, onScreen = camera:WorldToViewportPoint(tPos)
if onScreen then
local mousePos = UserInputService:GetMouseLocation()
local diffX = screenPos.X - mousePos.X
local diffY = screenPos.Y - mousePos.Y

if Config.aimMode == "Sharp" or Config.aimSmooth <= 0 then
moveMouse(diffX, diffY)
elseif Config.aimMode == "Smooth" or Config.aimMode == "Human" then
moveMouse(diffX / Config.aimSmooth, diffY / Config.aimSmooth)
end
end
end
end
end
else
fovStroke.Color = Color3.fromRGB(255, 0, 0) -- Красный
_G.SilentAimTarget = nil
lockedTarget = nil
end
else
_G.SilentAimTarget = nil
lockedTarget = nil
end

-- 4. ESP & NAMETAGS
for _, p in pairs(Players:GetPlayers()) do
if p ~= localPlayer and p.Character then
local pChar = p.Character
local pHum = pChar:FindFirstChild("Humanoid")

-- ESP BOX
if Config.espEnabled and pChar:FindFirstChild("HumanoidRootPart") and pHum and pHum.Health > 0 then
local hl = pChar:FindFirstChild("CheatHighlight")
if not hl then
hl = Instance.new("Highlight"); hl.Name = "CheatHighlight"
hl.FillTransparency = 0.5; hl.OutlineTransparency = 0
hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop; hl.Parent = pChar
end
hl.FillColor = Config.espColor
elseif (not Config.espEnabled or (pHum and pHum.Health <= 0)) and pChar:FindFirstChild("CheatHighlight") then
pChar.CheatHighlight:Destroy()
end

-- NAMETAGS & HEALTH
if Config.nametagsEnabled and pChar:FindFirstChild("Head") and pHum and pHum.Health > 0 then
local head = pChar.Head
local tag = head:FindFirstChild("CheatNametag")
if not tag then
tag = Instance.new("BillboardGui"); tag.Name = "CheatNametag"
tag.Size = UDim2.new(0, 100, 0, 30); tag.StudsOffset = Vector3.new(0, 2.5, 0)
tag.AlwaysOnTop = true; tag.Parent = head
Post #7 19
for _, p in pairs(Players:GetPlayers()) do
if p ~= localPlayer and p.Character then
local char = p.Character
local hum = char:FindFirstChild("Humanoid")
local part = char:FindFirstChild(Config.aimTarget == "Head" and "Head" or "HumanoidRootPart")

if hum and hum.Health > 0 and part then
local pos, onScreen = camera:WorldToViewportPoint(part.Position)
if onScreen then
local dist = (Vector2.new(pos.X, pos.Y) - center).Magnitude
if dist < minDist then
if isTargetValid(char) then
minDist = dist
target = char
end
end
end
end
end
end

-- Если мы только что захватили цель при нажатой кнопке, "присасываемся" к ней
if isAiming and target then
lockedTarget = target
end

return target
end

local function moveMouse(x, y)
if mousemoverel then mousemoverel(x, y) else warn("mousemoverel is not supported in Studio. Use Camera mode.") end
end

-- ==========================================
-- ОСНОВНОЙ ЦИКЛ (RENDER STEPPED)
-- ==========================================
RunService.RenderStepped:Connect(function(deltaTime)
local char = localPlayer.Character
local hrp = char and char:FindFirstChild("HumanoidRootPart")
local hum = char and char:FindFirstChild("Humanoid")

-- Обновление FOV кружка на курсор
if fovCircle then
local mousePos = UserInputService:GetMouseLocation()
fovCircle.Position = UDim2.new(0, mousePos.X, 0, mousePos.Y)
fovCircle.Size = UDim2.new(0, Config.aimFov * 2, 0, Config.aimFov * 2)
end

-- 1. FLY
if Config.flyEnabled and hrp and hum then
hrp.Velocity = Vector3.zero
local look = camera.CFrame.LookVector
local right = camera.CFrame.RightVector
local up = Vector3.new(0, 1, 0)

local moveDir = Vector3.zero
if flyKeys.W then moveDir = moveDir + look end
if flyKeys.S then moveDir = moveDir - look end
if flyKeys.A then moveDir = moveDir - right end
if flyKeys.D then moveDir = moveDir + right end
if flyKeys.Space then moveDir = moveDir + up end
if flyKeys.LCtrl then moveDir = moveDir - up end

if moveDir.Magnitude > 0 then moveDir = moveDir.Unit end
hrp.CFrame = hrp.CFrame + (moveDir * (Config.flySpeed * deltaTime))
end

-- 2. SPEEDHACK
if Config.speedhackEnabled and not Config.flyEnabled and hrp and hum then
if hum.MoveDirection.Magnitude > 0 then
hrp.CFrame = hrp.CFrame + (hum.MoveDirection * (Config.speedhackSpeed * deltaTime))
end
end

-- 3. AIMBOT
if Config.aimbotEnabled then
local target = getTarget()

if target and isAiming then
fovStroke.Color = Color3.fromRGB(0, 255, 0) -- Зеленый при захвате
local aimPart = target:FindFirstChild(Config.aimTarget == "Head" and "Head" or "HumanoidRootPart")

if aimPart then
local tPos = aimPart.Position

-- Предикт
if Config.aimPredict > 0 and target:FindFirstChild("HumanoidRootPart") then
tPos = tPos + (target.HumanoidRootPart.Velocity * Config.aimPredict)
end

-- Устанавливаем глобальную цель для Сайлент Аима
_G.SilentAimTarget = aimPart

-- Если режим Silent, камеру НЕ дергаем. Только сохраняем таргет в _G
if Config.aimMode ~= "Silent" then
local targetCFrame = CFrame.lookAt(camera.CFrame.Position, tPos)
Post #6 18
-- ==========================================
-- ЛОГИКА И ВВОД
-- ==========================================
local function isBindMatch(input, bind)
if bind == Enum.KeyCode.Unknown then return false end
return input.KeyCode == bind or input.UserInputType == bind
end

UserInputService.InputBegan:Connect(function(input, gp)
if gp then return end

if input.KeyCode == Config.toggleKey then
Config.menuOpen = not Config.menuOpen
mainContainer.Visible = Config.menuOpen
end

-- Бинды игрока
if isBindMatch(input, Config.flyBind) then Config.flyEnabled = not Config.flyEnabled; updateFly() end
if isBindMatch(input, Config.speedhackBind) then Config.speedhackEnabled = not Config.speedhackEnabled; updateSpeed() end
if isBindMatch(input, Config.noclipBind) then Config.noclipEnabled = not Config.noclipEnabled; updateNoclip() end

-- Управление полетом
if input.KeyCode == Enum.KeyCode.W then flyKeys.W = true end
if input.KeyCode == Enum.KeyCode.A then flyKeys.A = true end
if input.KeyCode == Enum.KeyCode.S then flyKeys.S = true end
if input.KeyCode == Enum.KeyCode.D then flyKeys.D = true end
if input.KeyCode == Enum.KeyCode.Space then flyKeys.Space = true end
if input.KeyCode == Enum.KeyCode.LeftControl then flyKeys.LCtrl = true end

-- Click TP
if Config.clickTpEnabled and input.UserInputType == Enum.UserInputType.MouseButton1 then
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) or UserInputService:IsKeyDown(Enum.KeyCode.RightControl) then
local char = localPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local mouse = localPlayer:GetMouse()
if mouse.Hit then char:MoveTo(mouse.Hit.p) end
end
end
end

-- Активация Аимбота
if isBindMatch(input, Config.aimBind) then
if Config.aimActivation == "Hold" then
isAiming = true
elseif Config.aimActivation == "Toggle" then
Config.aimActiveToggle = not Config.aimActiveToggle
isAiming = Config.aimActiveToggle
if not isAiming then lockedTarget = nil end -- Сброс цели при выключении
end
end
end)

UserInputService.InputEnded:Connect(function(input, gp)
if input.KeyCode == Enum.KeyCode.W then flyKeys.W = false end
if input.KeyCode == Enum.KeyCode.A then flyKeys.A = false end
if input.KeyCode == Enum.KeyCode.S then flyKeys.S = false end
if input.KeyCode == Enum.KeyCode.D then flyKeys.D = false end
if input.KeyCode == Enum.KeyCode.Space then flyKeys.Space = false end
if input.KeyCode == Enum.KeyCode.LeftControl then flyKeys.LCtrl = false end

if isBindMatch(input, Config.aimBind) and Config.aimActivation == "Hold" then
isAiming = false
lockedTarget = nil -- Отпускаем присоску
end
end)

-- Функция проверки валидности цели (жив ли, за стеной ли)
local function isTargetValid(char)
if not char then return false end
local hum = char:FindFirstChild("Humanoid")
local part = char:FindFirstChild(Config.aimTarget == "Head" and "Head" or "HumanoidRootPart")
if not hum or hum.Health <= 0 or not part then return false end

if Config.wallCheck then
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {localPlayer.Character, char}
rayParams.FilterType = Enum.RaycastFilterType.Exclude
local rayResult = Workspace:Raycast(camera.CFrame.Position, part.Position - camera.CFrame.Position, rayParams)
if rayResult then return false end
end
return true
end

-- Умная логика поиска/удержания цели (Присоска)
local function getTarget()
-- Если мы уже целимся и у нас есть прилипшая цель, проверяем её и продолжаем вести (Игнорируем FOV)
if isAiming and lockedTarget and isTargetValid(lockedTarget) then
return lockedTarget
end

-- Иначе сбрасываем присоску и ищем новую ближайшую цель в кружке FOV
lockedTarget = nil
local target = nil
local minDist = Config.aimFov
local mousePos = UserInputService:GetMouseLocation()
local center = Vector2.new(mousePos.X, mousePos.Y)
Post #5 15
-- 1. PLAYER
local colPlayer = createColumn("Player", Color3.fromRGB(0, 170, 255))
local updateFly = createToggleWithBind(colPlayer, "Fly", "flyEnabled", "flyBind")
createSlider(colPlayer, "Fly Speed", 0, 300, "flySpeed", true)
local updateSpeed = createToggleWithBind(colPlayer, "Speedhack", "speedhackEnabled", "speedhackBind")
createSlider(colPlayer, "Walk Speed", 0, 200, "speedhackSpeed", true)
local updateNoclip = createToggleWithBind(colPlayer, "Noclip", "noclipEnabled", "noclipBind")
createToggle(colPlayer, "Click TP (Ctrl+Click)", "clickTpEnabled")

-- 2. COMBAT (По твоему чертежу)
local colCombat = createColumn("Combat", Color3.fromRGB(255, 85, 0))
createToggleWithBind(colCombat, "Aimbot", "aimbotEnabled", "aimBind", function(state)
if fovCircle then fovCircle.Visible = state end
end)
createOptionButton(colCombat, "Mode", "aimMode", {"Sharp", "Smooth", "Human", "Silent"})
createSlider(colCombat, "Smoothness", 0, 20, "aimSmooth", true)
createSlider(colCombat, "FOV", 0, 2000, "aimFov", true) -- Максимальный FOV увеличен до 2000!
createOptionButton(colCombat, "Control", "aimControl", {"Camera", "Mouse"})
createOptionButton(colCombat, "Target", "aimTarget", {"Head", "Torso"})
createToggle(colCombat, "Wall Check", "wallCheck")
createSlider(colCombat, "Predict", 0, 1, "aimPredict", false, 0.05)
createOptionButton(colCombat, "Activation", "aimActivation", {"Hold", "Toggle"})

-- 3. RENDER
local colRender = createColumn("Render", Color3.fromRGB(0, 255, 170))

-- Цветовая панель
local colorContainer = Instance.new("Frame")
colorContainer.Size = UDim2.new(1, -10, 0, 70); colorContainer.Position = UDim2.new(0, 5, 0, 5)
colorContainer.BackgroundTransparency = 1; colorContainer.Parent = colRender

local grid = Instance.new("UIGridLayout")
grid.CellSize = UDim2.new(0.45, 0, 0, 20); grid.CellPadding = UDim2.new(0, 5, 0, 5); grid.Parent = colorContainer

local colors = {
{name = "Black", val = Color3.fromRGB(0, 0, 0)}, {name = "Red", val = Color3.fromRGB(255, 0, 0)},
{name = "Green", val = Color3.fromRGB(0, 255, 0)}, {name = "Blue", val = Color3.fromRGB(0, 0, 255)},
{name = "White", val = Color3.fromRGB(255, 255, 255)}, {name = "Yellow", val = Color3.fromRGB(255, 255, 0)}
}

for _, c in ipairs(colors) do
local btn = Instance.new("TextButton")
btn.BackgroundColor3 = c.val; btn.Text = c.name
btn.Font = Enum.Font.SourceSansBold; btn.TextSize = 12
btn.BorderColor3 = Color3.fromRGB(0,0,0); btn.BorderSizePixel = 1
btn.TextColor3 = (c.name == "White" or c.name == "Yellow" or c.name == "Green") and Color3.fromRGB(0,0,0) or Color3.fromRGB(255,255,255)
btn.Parent = colorContainer
btn.MouseButton1Click:Connect(function() Config.espColor = c.val end)
end

createToggle(colRender, "ESP Box", "espEnabled", function(state)
if not state then
for _, p in pairs(Players:GetPlayers()) do
if p.Character and p.Character:FindFirstChild("CheatHighlight") then p.Character.CheatHighlight:Destroy() end
end
end
end)
createToggle(colRender, "Nametags & HP", "nametagsEnabled", function(state)
if not state then
for _, p in pairs(Players:GetPlayers()) do
if p.Character and p.Character:FindFirstChild("Head") then
local tag = p.Character.Head:FindFirstChild("CheatNametag")
if tag then tag:Destroy() end
end
end
end
end)

-- ==========================================
-- СОЗДАНИЕ FOV КРУЖКА
-- ==========================================
fovCircle = Instance.new("Frame")
fovCircle.AnchorPoint = Vector2.new(0.5, 0.5)
fovCircle.BackgroundTransparency = 1
fovCircle.Visible = Config.aimbotEnabled
fovCircle.Parent = screenGui

local fovCorner = Instance.new("UICorner")
fovCorner.CornerRadius = UDim.new(1, 0)
fovCorner.Parent = fovCircle

local fovStroke = Instance.new("UIStroke")
fovStroke.Color = Color3.fromRGB(255, 0, 0)
fovStroke.Thickness = 2
fovStroke.Parent = fovCircle
Post #4 15
UserInputService.InputBegan:Connect(function(input)
if listening then
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.Escape or input.KeyCode == Enum.KeyCode.Backspace then
Config[bindKey] = Enum.KeyCode.Unknown
else
Config[bindKey] = input.KeyCode
end
elseif input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 or input.UserInputType == Enum.UserInputType.MouseButton3 then
Config[bindKey] = input.UserInputType
end
bBtn.Text = formatBindName(Config[bindKey]); bBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
listening = false
end
end)

return updateToggle
end

-- Переключатель опций (Моды, Цели и тд)
local function createOptionButton(parent, prefix, stateKey, optionsTable)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, 0, 0, 25)
btn.BackgroundColor3 = Color3.fromRGB(65, 65, 65); btn.BorderColor3 = Color3.fromRGB(0, 0, 0)
btn.Text = prefix .. ": " .. Config[stateKey]
btn.TextColor3 = Color3.fromRGB(255, 255, 0); btn.Font = Enum.Font.SourceSansBold; btn.TextSize = 13
btn.Parent = parent

local currentIndex = 1
for i, v in ipairs(optionsTable) do if v == Config[stateKey] then currentIndex = i break end end

btn.MouseButton1Click:Connect(function()
currentIndex = currentIndex + 1
if currentIndex > #optionsTable then currentIndex = 1 end
Config[stateKey] = optionsTable[currentIndex]
btn.Text = prefix .. ": " .. Config[stateKey]
end)
end

-- Слайдер (Ползунок)
local function createSlider(parent, text, min, max, stateKey, isInt, step)
step = step or 1
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 35)
frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45); frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
frame.Parent = parent

local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -10, 0, 15); label.Position = UDim2.new(0, 5, 0, 2)
label.BackgroundTransparency = 1; label.Text = text .. ": " .. tostring(Config[stateKey])
label.TextColor3 = Color3.fromRGB(255, 255, 255); label.TextXAlignment = Enum.TextXAlignment.Left
label.Font = Enum.Font.SourceSans; label.TextSize = 13; label.Parent = frame

local bg = Instance.new("Frame")
bg.Size = UDim2.new(1, -10, 0, 6); bg.Position = UDim2.new(0, 5, 0, 22)
bg.BackgroundColor3 = Color3.fromRGB(30, 30, 30); bg.BorderSizePixel = 0; bg.Parent = frame

local fill = Instance.new("Frame")
fill.Size = UDim2.new((Config[stateKey] - min) / (max - min), 0, 1, 0)
fill.BackgroundColor3 = Color3.fromRGB(0, 170, 255); fill.BorderSizePixel = 0; fill.Parent = bg

local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, 0, 1, 0); btn.BackgroundTransparency = 1; btn.Text = ""; btn.Parent = bg

local isDragging = false
local function updateSlider(input)
local pct = math.clamp((input.Position.X - bg.AbsolutePosition.X) / bg.AbsoluteSize.X, 0, 1)
fill.Size = UDim2.new(pct, 0, 1, 0)
local val = min + (max - min) * pct
val = math.floor((val / step) + 0.5) * step
val = math.clamp(val, min, max)

if isInt then val = math.floor(val) end
Config[stateKey] = val
label.Text = text .. ": " .. (isInt and tostring(val) or string.format("%.2f", val))
end

btn.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then isDragging = true; updateSlider(input) end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then isDragging = false end
end)
UserInputService.InputChanged:Connect(function(input)
if isDragging and input.UserInputType == Enum.UserInputType.MouseMovement then updateSlider(input) end
end)
end

-- ==========================================
-- СБОРКА МЕНЮ
-- ==========================================
Post #3 14
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -10, 1, 0); title.Position = UDim2.new(0, 5, 0, 0)
title.BackgroundTransparency = 1; title.Text = name
title.TextColor3 = Color3.fromRGB(255, 255, 255); title.TextXAlignment = Enum.TextXAlignment.Left
title.Font = Enum.Font.SourceSansBold; title.TextSize = 16; title.Parent = header

local square = Instance.new("Frame")
square.Size = UDim2.new(0, 10, 0, 10); square.Position = UDim2.new(1, -15, 0.5, -5)
square.BackgroundColor3 = color; square.BorderSizePixel = 0; square.Parent = header

local content = Instance.new("Frame")
content.Size = UDim2.new(1, 0, 0, 0); content.Position = UDim2.new(0, 0, 0, 25)
content.BackgroundTransparency = 1; content.Parent = frame

local layout = Instance.new("UIListLayout")
layout.SortOrder = Enum.SortOrder.LayoutOrder; layout.Parent = content

layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
content.Size = UDim2.new(1, 0, 0, layout.AbsoluteContentSize.Y)
frame.Size = UDim2.new(0, 160, 0, 25 + layout.AbsoluteContentSize.Y)
end)
return content
end

-- Вспомогательная функция для имени клавиши
local function formatBindName(bind)
if bind == Enum.KeyCode.Unknown then return "[None]" end
local str = tostring(bind)
if string.find(str, "KeyCode.") then return "[" .. string.gsub(str, "Enum.KeyCode.", "") .. "]" end
if string.find(str, "UserInputType.") then return "[" .. string.gsub(str, "Enum.UserInputType.", "") .. "]" end
return "[None]"
end

-- Обычный Toggle (Вкл/Выкл)
local function createToggle(parent, text, stateKey, callback)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, 0, 0, 25)
btn.BackgroundColor3 = Color3.fromRGB(55, 55, 55); btn.BorderColor3 = Color3.fromRGB(0, 0, 0)
btn.Text = text; btn.Font = Enum.Font.SourceSansBold; btn.TextSize = 14
btn.Parent = parent

local function update() btn.TextColor3 = Config[stateKey] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(200, 200, 200) end
update()

btn.MouseButton1Click:Connect(function()
Config[stateKey] = not Config[stateKey]
update()
if callback then callback(Config[stateKey]) end
end)
return update
end

-- Совмещенный Toggle + Bind (как в твоем чертеже для Аимбота)
local function createToggleWithBind(parent, text, stateKey, bindKey, callback)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 25)
frame.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
frame.Parent = parent

-- Кнопка Toggle
local tBtn = Instance.new("TextButton")
tBtn.Size = UDim2.new(0.65, 0, 1, 0)
tBtn.BackgroundTransparency = 1
tBtn.Text = text; tBtn.Font = Enum.Font.SourceSansBold; tBtn.TextSize = 14
tBtn.Parent = frame

-- Кнопка Bind
local bBtn = Instance.new("TextButton")
bBtn.Size = UDim2.new(0.35, -5, 0, 20); bBtn.Position = UDim2.new(0.65, 0, 0.5, -10)
bBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30); bBtn.BorderColor3 = Color3.fromRGB(0, 0, 0)
bBtn.Text = formatBindName(Config[bindKey])
bBtn.TextColor3 = Color3.fromRGB(200, 200, 200); bBtn.Font = Enum.Font.SourceSans; bBtn.TextSize = 12
bBtn.Parent = frame

local function updateToggle() tBtn.TextColor3 = Config[stateKey] and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(200, 200, 200) end
updateToggle()

tBtn.MouseButton1Click:Connect(function()
Config[stateKey] = not Config[stateKey]; updateToggle()
if callback then callback(Config[stateKey]) end
end)

local listening = false
bBtn.MouseButton1Click:Connect(function()
listening = true; bBtn.Text = "..."; bBtn.TextColor3 = Color3.fromRGB(255, 255, 0)
end)
Post #2 14
-- Инициализация сервисов
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")

local localPlayer = Players.LocalPlayer
local camera = Workspace.CurrentCamera
local playerGui = localPlayer:WaitForChild("PlayerGui")

-- ==========================================
-- НАСТРОЙКИ ЧИТА (STATE)
-- ==========================================
local Config = {
menuOpen = true,
toggleKey = Enum.KeyCode.RightControl, -- Открытие на Правый Ctrl

-- Player
flyEnabled = false,
flyBind = Enum.KeyCode.Unknown,
flySpeed = 50,

speedhackEnabled = false,
speedhackBind = Enum.KeyCode.Unknown,
speedhackSpeed = 50,

noclipEnabled = false,
noclipBind = Enum.KeyCode.Unknown,

clickTpEnabled = false,

-- Combat
aimbotEnabled = false,
aimBind = Enum.UserInputType.MouseButton2,
aimMode = "Smooth", -- "Sharp", "Smooth", "Human", "Silent"
aimSmooth = 5, -- 0 до 20
aimFov = 100,
aimControl = "Camera", -- "Camera" или "Mouse"
aimTarget = "Head", -- "Head" или "Torso"
wallCheck = true,
aimPredict = 0,
aimActivation = "Hold", -- "Hold" или "Toggle"

aimActiveToggle = false, -- Внутренняя переменная для Toggle

-- Render
espEnabled = false,
nametagsEnabled = false,
espColor = Color3.fromRGB(255, 0, 0)
}

-- Глобальные переменные
local flyKeys = {W = false, A = false, S = false, D = false, Space = false, LCtrl = false}
local fovCircle = nil
local isAiming = false -- Нажата ли кнопка аимбота сейчас
local lockedTarget = nil -- Захваченная цель (Присоска)
_G.SilentAimTarget = nil -- Глобальная цель для Сайлент Аима (для твоих скриптов оружия)

-- ==========================================
-- СОЗДАНИЕ ИНТЕРФЕЙСА (UI FACTORY)
-- ==========================================
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "VapeV4_Style_GUI"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true -- Чтобы FOV кружок не съезжал
screenGui.Parent = playerGui

local mainContainer = Instance.new("Frame")
mainContainer.Size = UDim2.new(0, 520, 0, 300)
mainContainer.Position = UDim2.new(0.5, -260, 0.5, -150)
mainContainer.BackgroundTransparency = 1
mainContainer.Parent = screenGui

-- Логика перетаскивания
local dragging, dragInput, dragStart, startPos
mainContainer.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true; dragStart = input.Position; startPos = mainContainer.Position
end
end)
mainContainer.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
mainContainer.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end
end)

local containerLayout = Instance.new("UIListLayout")
containerLayout.FillDirection = Enum.FillDirection.Horizontal
containerLayout.SortOrder = Enum.SortOrder.LayoutOrder
containerLayout.Padding = UDim.new(0, 10)
containerLayout.Parent = mainContainer

-- === ФУНКЦИИ ГЕНЕРАЦИИ UI ===
local function createColumn(name, color)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 160, 0, 20)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
frame.BorderSizePixel = 2
frame.Parent = mainContainer

local header = Instance.new("Frame")
header.Size = UDim2.new(1, 0, 0, 25)
header.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
header.BorderColor3 = Color3.fromRGB(0, 0, 0)
header.Parent = frame
Post #1
Channel created

About this channel

How can I read @sqzzor54 without a Telegram account?
TGViewer shows the public web preview Telegram publishes for @sqzzor54: recent posts, photos, videos and the subscriber count, with no app, login or account.
How many subscribers does @sqzzor54 have?
@sqzzor54 (@sqzzor54) has 1 subscribers on Telegram, refreshed roughly every 30 minutes.
Does @sqzzor54 know I viewed it here?
No. Public channel previews carry no viewer identity, and TGViewer has no accounts or tracking of what you look up.
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →