local Settings = { AimbotEnabled = true, FOV = 150, Smoothness = 0.5, WallhackEnabled = true, TargetPart = "Head", VisibleCheck = true } local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local RunService = game:GetService("RunService") local raycastParams = RaycastParams.new() raycastParams.FilterType = Enum.RaycastFilterType.Exclude -- WALLCHECK local function isVisible(targetCharacter) if not Settings.VisibleCheck then return true end local targetPart = targetCharacter:FindFirstChild(Settings.TargetPart) if not targetPart then return false end raycastParams.FilterDescendantsInstances = {LocalPlayer.Character, targetCharacter} local camPos = Camera.CFrame.Position local raycastResult = workspace:Raycast(camPos, (targetPart.Position - camPos), raycastParams) return raycastResult == nil end -- AIMBOT LOGIC local function getClosestPlayer() local closestPlayer = nil local shortestDistance = Settings.FOV for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local humanoid = player.Character:FindFirstChildOfClass("Humanoid") if not humanoid or humanoid.Health <= 0 then continue end local screenPos, onScreen = Camera:WorldToViewportPoint(player.Character.HumanoidRootPart.Position) if onScreen then local mousePos = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) local distance = (Vector2.new(screenPos.X, screenPos.Y) - mousePos).Magnitude if distance < shortestDistance then if isVisible(player.Character) then shortestDistance = distance closestPlayer = player end end end end end return closestPlayer end -- STABLE ESP (HIGHLIGHT) local function applyHighlight(player) if player == LocalPlayer then return end local function setup(char) if not char then return end char:WaitForChild("HumanoidRootPart", 5) char:WaitForChild("Humanoid", 5) if char:FindFirstChild("DeltaWH") then char.DeltaWH:Destroy() end if Settings.WallhackEnabled then local hl = Instance.new("Highlight") hl.Name = "DeltaWH" hl.FillColor = Color3.fromRGB(255, 0, 0) hl.OutlineColor = Color3.fromRGB(255, 255, 255) hl.FillTransparency = 0.5 hl.OutlineTransparency = 0 hl.Adornee = char hl.Parent = char end end if player.Character then setup(player.Character) end player.CharacterAdded:Connect(setup) end for _, p in pairs(Players:GetPlayers()) do applyHighlight(p) end Players.PlayerAdded:Connect(applyHighlight) local function updateAllWH() for _, p in pairs(Players:GetPlayers()) do if p.Character then if Settings.WallhackEnabled then applyHighlight(p) else if p.Character:FindFirstChild("DeltaWH") then p.Character.DeltaWH:Destroy() end end end end end -- INTERFACE local UI = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui")) UI.Name = "FlickProUI" UI.ResetOnSpawn = false -- ИДЕАЛЬНЫЙ КРУГ FOV НА ЧИСТОМ КОДЕ (БЕЗ КАРТИНОК И DRAWING) local FOVFrame = Instance.new("Frame", UI) FOVFrame.AnchorPoint = Vector2.new(0.5, 0.5) FOVFrame.Position = UDim2.new(0.5, 0, 0.5, 0) FOVFrame.Size = UDim2.new(0, Settings.FOV * 2, 0, Settings.FOV * 2) FOVFrame.BackgroundTransparency = 1 FOVFrame.Visible = true -- Скругление углов фрейма до состояния идеального круга local UICorner = Instance.new("UICorner", FOVFrame) UICorner.CornerRadius = UDim.new(1, 0) -- Отрисовка видимой линии круга local UIStroke = Instance.new("UIStroke", FOVFrame) UIStroke.Color = Color3.fromRGB(255, 0, 0) UIStroke.Thickness = 1.5 UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border -- Подвижная кнопка MENU local ToggleBtn = Instance.new("TextButton", UI) ToggleBtn.Size = UDim2.new(0, 60, 0, 40) ToggleBtn.Position = UDim2.new(0.85, 0, 0.15, 0) ToggleBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleBtn.Text = "MENU" ToggleBtn.Font = Enum.Font.SourceSansBold ToggleBtn.TextSize = 14 ToggleBtn.Active = true ToggleBtn.Draggable = true -- Главная Панель local MainFrame = Instance.new("Frame", UI) MainFrame.Size = UDim2.new(0, 220, 0, 260) MainFrame.Position = UDim2.new(0.5, -110, 0.5, -130) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Visible = true ToggleBtn.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) -- Конструктор Кнопок local function CreateBtn(name, settingKey, posY, customCallback) local btn = Instance.new("TextButton", MainFrame) btn.Size = UDim2.new(0.9, 0, 0, 35) btn.Position = UDim2.new(0.05, 0, 0, posY) btn.Text = name .. ": " .. (Settings[settingKey] and "ON" or "OFF") btn.BackgroundColor3 = Settings[settingKey] and Color3.fromRGB(50, 150, 50) or Color3.fromRGB(150, 50, 50) btn.TextColor3 = Color3.new(1,1,1) btn.Font = Enum.Font.SourceSansBold btn.MouseButton1Click:Connect(function() Settings[settingKey] = not Settings[settingKey] btn.Text = name .. ": " .. (Settings[settingKey] and "ON" or "OFF") btn.BackgroundColor3 = Settings[settingKey] and Color3.fromRGB(50, 150, 50) or Color3.fromRGB(150, 50, 50) if customCallback then customCallback() end end) end CreateBtn("Aimbot", "AimbotEnabled", 10) CreateBtn("WallCheck", "VisibleCheck", 55) CreateBtn("Wallhack (ESP)", "WallhackEnabled", 100, updateAllWH) -- Конструктор Полей Ввода local function CreateTextBox(placeholder, defaultVal, posY, callback) local box = Instance.new("TextBox", MainFrame) box.Size = UDim2.new(0.9, 0, 0, 35) box.Position = UDim2.new(0.05, 0, 0, posY) box.BackgroundColor3 = Color3.fromRGB(45, 45, 45) box.TextColor3 = Color3.new(1,1,1) box.Text = placeholder .. ": " .. tostring(defaultVal) box.Font = Enum.Font.SourceSansBold box.FocusLost:Connect(function() local val = tonumber(box.Text:match("%d+%.?%d*")) if val then callback(val) box.Text = placeholder .. ": " .. tostring(val) else box.Text = placeholder .. ": " .. tostring(defaultVal) end end) end CreateTextBox("FOV Size", Settings.FOV, 150, function(v) Settings.FOV = v FOVFrame.Size = UDim2.new(0, v * 2, 0, v * 2) end) CreateTextBox("Smooth (0-1)", Settings.Smoothness, 195, function(v) Settings.Smoothness = math.clamp(v, 0, 1) end) -- LOOP EXECUTION RunService.RenderStepped:Connect(function() if Settings.AimbotEnabled then local target = getClosestPlayer() if target and target.Character and target.Character:FindFirstChild(Settings.TargetPart) then local targetPos = target.Character[Settings.TargetPart].Position local targetCFrame = CFrame.new(Camera.CFrame.Position, targetPos) Camera.CFrame = Camera.CFrame:Lerp(targetCFrame, 1 - Settings.Smoothness) end end end)