-- === uselessness - Защищённый скрипт с LootLabs Key === local Key = { 117,115,101,108,101,115,115,110,101,115,115, 95,116,111,112,95,50,48,50,54 } local CorrectKey = "" for _,v in ipairs(Key) do CorrectKey = CorrectKey .. string.char(v) end local LootLink = "https://lootdest.org/s?yWCCC9HP" local ScreenGui = Instance.new("ScreenGui") ScreenGui.ResetOnSpawn = false ScreenGui.Parent = game.CoreGui local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 420, 0, 280) Frame.Position = UDim2.new(0.5, -210, 0.5, -140) Frame.BackgroundColor3 = Color3.fromRGB(18, 18, 28) Frame.Parent = ScreenGui Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 20) local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 70) Title.BackgroundTransparency = 1 Title.Text = "uselessness" Title.TextColor3 = Color3.fromRGB(200, 100, 255) Title.Font = Enum.Font.GothamBold Title.TextSize = 32 Title.Parent = Frame local TextBox = Instance.new("TextBox") TextBox.Size = UDim2.new(0.85, 0, 0, 50) TextBox.Position = UDim2.new(0.075, 0, 0.38, 0) TextBox.PlaceholderText = "Вставь ключ сюда..." TextBox.BackgroundColor3 = Color3.fromRGB(30, 30, 45) TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) TextBox.Font = Enum.Font.Gotham TextBox.TextSize = 18 Instance.new("UICorner", TextBox).CornerRadius = UDim.new(0, 12) TextBox.Parent = Frame local GetBtn = Instance.new("TextButton") GetBtn.Size = UDim2.new(0.85, 0, 0, 45) GetBtn.Position = UDim2.new(0.075, 0, 0.58, 0) GetBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 70) GetBtn.Text = "Получить ключ (LootLabs)" GetBtn.TextColor3 = Color3.fromRGB(255, 255, 255) GetBtn.Font = Enum.Font.Gotham GetBtn.TextSize = 17 Instance.new("UICorner", GetBtn).CornerRadius = UDim.new(0, 12) GetBtn.Parent = Frame local SubmitBtn = Instance.new("TextButton") SubmitBtn.Size = UDim2.new(0.85, 0, 0, 50) SubmitBtn.Position = UDim2.new(0.075, 0, 0.78, 0) SubmitBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226) SubmitBtn.Text = "Запустить скрипт" SubmitBtn.TextColor3 = Color3.fromRGB(255, 255, 255) SubmitBtn.Font = Enum.Font.GothamBold SubmitBtn.TextSize = 19 Instance.new("UICorner", SubmitBtn).CornerRadius = UDim.new(0, 12) SubmitBtn.Parent = Frame GetBtn.MouseButton1Click:Connect(function() setclipboard(LootLink) game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Скопировано!", Text = "Ссылка скопирована", Duration = 5}) end) SubmitBtn.MouseButton1Click:Connect(function() if TextBox.Text == CorrectKey then ScreenGui:Destroy() print("✅ Ключ принят! Запуск uselessness...") -- ==================== ТВОЙ СКРИПТ ==================== local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local LP = Players.LocalPlayer _G.Themes = { Purple = {Bg = Color3.fromRGB(15, 12, 22), Main = Color3.fromRGB(24, 18, 36), Accent = Color3.fromRGB(138, 43, 226), Btn = Color3.fromRGB(34, 28, 48), Text = Color3.fromRGB(240, 240, 255)}, Lime = {Bg = Color3.fromRGB(10, 20, 12), Main = Color3.fromRGB(16, 32, 20), Accent = Color3.fromRGB(50, 255, 50), Btn = Color3.fromRGB(26, 48, 32), Text = Color3.fromRGB(230, 255, 230)}, Cyan = {Bg = Color3.fromRGB(10, 16, 20), Main = Color3.fromRGB(16, 26, 32), Accent = Color3.fromRGB(0, 255, 200), Btn = Color3.fromRGB(24, 38, 48), Text = Color3.fromRGB(230, 250, 250)}, Red = {Bg = Color3.fromRGB(18, 10, 10), Main = Color3.fromRGB(28, 16, 16), Accent = Color3.fromRGB(220, 20, 60), Btn = Color3.fromRGB(40, 22, 22), Text = Color3.fromRGB(255, 230, 230)}, Gold = {Bg = Color3.fromRGB(18, 16, 10), Main = Color3.fromRGB(30, 26, 16), Accent = Color3.fromRGB(255, 195, 0), Btn = Color3.fromRGB(46, 40, 26), Text = Color3.fromRGB(255, 245, 220)}, Vanta = {Bg = Color3.fromRGB(12, 12, 12), Main = Color3.fromRGB(20, 20, 20), Accent = Color3.fromRGB(240, 240, 240), Btn = Color3.fromRGB(32, 32, 32), Text = Color3.fromRGB(255, 255, 255)} } _G.Theme = _G.Themes.Purple _G.AllElements = {} _G.MenuConnections = {} _G.CheatStates = { ESP = false, Boxes = false, Names = false, ShowFOV = false, ESPNameSize = 13, Aimbot = false, SilentAim = false, Hitbox = false, HitboxSize = 2, OneTap = false, FOVRadius = 100, AimbotSmooth = 5, SpeedHack = false, SpeedValue = 16, InfJump = false, FlightHack = false, FlightSpeed = 50, CarHack = false, CarSpeed = 50, BrakeForce = 100 } local SG = Instance.new("ScreenGui", LP:WaitForChild("PlayerGui")) SG.Name = "uselessness_Gui" SG.ResetOnSpawn = false local MF = Instance.new("Frame", SG) MF.Size = UDim2.new(0, 600, 0, 420) local Resize = Instance.new("Frame", MF) Resize.Size = UDim2.new(0,20,0,20) Resize.Position = UDim2.new(1,-20,1,-20) Resize.BackgroundColor3 = _G.Theme.Accent local resizing = false local startSize local startMouse Resize.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then resizing = true startSize = MF.AbsoluteSize startMouse = UIS:GetMouseLocation() end end) UIS.InputChanged:Connect(function(input) if resizing and input.UserInputType == Enum.UserInputType.MouseMovement then local mouse = UIS:GetMouseLocation() local delta = mouse - startMouse MF.Size = UDim2.new( 0, startSize.X + delta.X, 0, startSize.Y + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then resizing = false end end) MF.Position = UDim2.new(0.5, -300, 0.5, -210) MF.BackgroundColor3 = _G.Theme.Bg MF.BorderSizePixel = 0 Instance.new("UICorner", MF).CornerRadius = UDim.new(0, 12) local TweenService = game:GetService("TweenService") local Stroke = Instance.new("UIStroke", MF) Stroke.Color = Color3.fromRGB(138,43,226) Stroke.Thickness = 2 Stroke.Transparency = 0.3 local Glow = Instance.new("UIStroke", MF) Glow.Color = _G.Theme.Accent Glow.Thickness = 8 Glow.Transparency = 0.8 local TweenService = game:GetService("TweenService") TweenService:Create( Glow, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { Transparency = 0.4 } ):Play() local Title = Instance.new("TextLabel", MF) Title.Size = UDim2.new(0,130,0,35) Title.Position = UDim2.new(0,20,0,8) Title.BackgroundTransparency = 1 Title.Text = "◆ USELESSNESS" Title.TextColor3 = Color3.fromRGB(210,120,255) Title.Font = Enum.Font.GothamBlack Title.TextSize = 15 Title.TextXAlignment = Enum.TextXAlignment.Left local SubTitle = Instance.new("TextLabel", MF) SubTitle.Size = UDim2.new(0,250,0,20) SubTitle.Position = UDim2.new(0,22,0,35) SubTitle.BackgroundTransparency = 1 SubTitle.Text = "UNIVERSAL" SubTitle.TextColor3 = Color3.fromRGB(140,140,150) SubTitle.Font = Enum.Font.Gotham SubTitle.TextSize = 10 SubTitle.TextXAlignment = Enum.TextXAlignment.Left local Side = Instance.new("Frame", MF) Side.Size = UDim2.new(0, 120, 1, -55) Side.Position = UDim2.new(0, 15, 0, 40) Side.BackgroundColor3 = _G.Theme.Main Side.BorderSizePixel = 0 Instance.new("UICorner", Side).CornerRadius = UDim.new(0, 8) Instance.new("UIListLayout", Side).Padding = UDim.new(0, 5) local SidePad = Instance.new("UIPadding", Side) SidePad.PaddingTop = UDim.new(0, 6) SidePad.PaddingLeft = UDim.new(0, 6) SidePad.PaddingRight = UDim.new(0, 6) local CC = Instance.new("Frame", MF) CC.Size = UDim2.new(1, -165, 1, -25) -- === STATUS BAR === local Status = Instance.new("TextLabel", MF) Status.Size = UDim2.new(1, -20, 0, 25) Status.Position = UDim2.new(0, 10, 1, -30) Status.BackgroundTransparency = 1 Status.Text = "◆ uselessness | Loaded | Ready" Status.TextColor3 = Color3.fromRGB(150,150,160) Status.Font = Enum.Font.Gotham Status.TextSize = 10 Status.TextXAlignment = Enum.TextXAlignment.Left CC.Position = UDim2.new(0, 150, 0, 10) CC.BackgroundColor3 = _G.Theme.Main CC.BorderSizePixel = 0 Instance.new("UICorner", CC).CornerRadius = UDim.new(0, 8) local drag, dInput, dStart, sPos MF.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then drag = true dStart = i.Position sPos = MF.Position i.Changed:Connect(function() if i.UserInputState == Enum.UserInputState.End then drag = false end end) end end) MF.InputChanged:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseMovement then dInput = i end end) UIS.InputChanged:Connect(function(i) if i == dInput and drag then local d = i.Position - dStart MF.Position = UDim2.new(sPos.X.Scale, sPos.X.Offset + d.X, sPos.Y.Scale, sPos.Y.Offset + d.Y) end end) local toggleConn = UIS.InputBegan:Connect(function(input, processed) if not processed and input.KeyCode == Enum.KeyCode.K then MF.Visible = not MF.Visible end end) table.insert(_G.MenuConnections, toggleConn) _G.UIRefs = {MF = MF, Side = Side, CC = CC, Title = Title, SG = SG, TabBtns = {}, TabPages = {}, activeTab = "Visual"} local HighlightFolder = workspace:FindFirstChild("uselessness_Highlight_Folder") or Instance.new("Folder", workspace) HighlightFolder.Name = "uselessness_Highlight_Folder" local FOV_Container = Instance.new("ScreenGui", LP.PlayerGui) FOV_Container.Name = "uselessness_FOV" local FOV_Circle = Instance.new("Frame", FOV_Container) FOV_Circle.AnchorPoint = Vector2.new(0.5, 0.5) FOV_Circle.BackgroundTransparency = 1 local FOV_Stroke = Instance.new("UIStroke", FOV_Circle) FOV_Stroke.Thickness = 1.5 FOV_Stroke.Color = _G.Theme.Accent Instance.new("UICorner", FOV_Circle).CornerRadius = UDim.new(1, 0) local CurrentLockedTarget = nil local function GetClosestPlayerToMouse() local closest, dist = nil, _G.CheatStates.FOVRadius local cam = workspace.CurrentCamera if not cam then return nil end local mousePos = UIS:GetMouseLocation() for _, p in ipairs(Players:GetPlayers()) do if p ~= LP and p.Character and p.Character:FindFirstChild("Head") and p.Character:FindFirstChildOfClass("Humanoid") and p.Character:FindFirstChildOfClass("Humanoid").Health > 0 then local pos, onScreen = cam:WorldToViewportPoint(p.Character.Head.Position) if onScreen then local d = (Vector2.new(pos.X, pos.Y) - mousePos).Magnitude if d < dist then dist = d closest = p end end end end return closest end local function UnhookCheat() _G.CheatStates = {ESP=false, Boxes=false, Names=false, ShowFOV=false, ESPNameSize=13, Aimbot=false, SilentAim=false, Hitbox=false, HitboxSize=2, OneTap=false, FOVRadius=100, AimbotSmooth=5, SpeedHack=false, SpeedValue=16, InfJump=false, FlightHack=false, FlightSpeed=50, CarHack=false, CarSpeed=50, BrakeForce=100} for _, conn in ipairs(_G.MenuConnections) do if conn then conn:Disconnect() end end _G.MenuConnections = {} CurrentLockedTarget = nil if HighlightFolder then HighlightFolder:ClearAllChildren() HighlightFolder:Destroy() end if FOV_Container then FOV_Container:Destroy() end for _, p in ipairs(Players:GetPlayers()) do if p.Character and p.Character:FindFirstChild("Head") then p.Character.Head.Size = Vector3.new(2, 1, 1) p.Character.Head.Transparency = 0 p.Character.Head.CanCollide = true end end if _G.UIRefs and _G.UIRefs.SG then _G.UIRefs.SG:Destroy() end end _G.UnhookCheatFunc = UnhookCheat local fovConn = RunService.RenderStepped:Connect(function() local mousePos = UIS:GetMouseLocation() FOV_Circle.Position = UDim2.new(0, mousePos.X, 0, mousePos.Y) FOV_Circle.Size = UDim2.new(0, _G.CheatStates.FOVRadius * 2, 0, _G.CheatStates.FOVRadius * 2) FOV_Circle.Visible = _G.CheatStates.ShowFOV FOV_Stroke.Color = _G.Theme.Accent end) table.insert(_G.MenuConnections, fovConn) local stepConn = RunService.Stepped:Connect(function() local char = LP.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") local hrp = char:FindFirstChild("HumanoidRootPart") local cam = workspace.CurrentCamera if hum and not _G.CheatStates.FlightHack then hum.WalkSpeed = _G.CheatStates.SpeedHack and _G.CheatStates.SpeedValue or 16 end pcall(function() for _, weapon in ipairs({char, LP.Backpack}) do for _, item in ipairs(weapon:GetChildren()) do if item:IsA("Tool") then for _, param in ipairs(item:GetDescendants()) do if param:IsA("RaycastParams") then local currentFilter = param.FilterDescendantsInstances if not table.find(currentFilter, char) then table.insert(currentFilter, char) param.FilterDescendantsInstances = currentFilter end end end end end end end) if _G.CheatStates.FlightHack and hrp and cam then hrp.AssemblyLinearVelocity, hrp.AssemblyAngularVelocity = Vector3.new(0,0,0), Vector3.new(0,0,0) local moveDirection = Vector3.new(0, 0, 0) if UIS:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - cam.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + cam.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, 1, 0) end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then moveDirection = moveDirection - Vector3.new(0, 1, 0) end if moveDirection.Magnitude > 0 then hrp.CFrame = hrp.CFrame + (moveDirection.Unit * (_G.CheatStates.FlightSpeed / 45)) end end if _G.CheatStates.CarHack and hum and hum.SeatPart and hum.SeatPart:IsA("VehicleSeat") then local seat = hum.SeatPart local carModel = seat.Parent if carModel then seat.MaxSpeed = _G.CheatStates.CarSpeed seat.Torque = 999999 for _, part in ipairs(carModel:GetDescendants()) do if part:IsA("BasePart") then part.CustomPhysicalProperties = PhysicalProperties.new(0.1, 0.3, 0.5, 1, 1) end end if UIS:IsKeyDown(Enum.KeyCode.W) then seat.AssemblyLinearVelocity = seat.CFrame.LookVector * _G.CheatStates.CarSpeed elseif UIS:IsKeyDown(Enum.KeyCode.S) then seat.AssemblyLinearVelocity = seat.AssemblyLinearVelocity * math.clamp(1 - (_G.CheatStates.BrakeForce / 500), 0.01, 0.9) end end end for _, p in ipairs(Players:GetPlayers()) do if p.Character and p.Character:FindFirstChild("Head") and p.Character:FindFirstChildOfClass("Humanoid") then local head = p.Character.Head local pHum = p.Character:FindFirstChildOfClass("Humanoid") local isSitting = pHum.SeatPart ~= nil if p ~= LP then if _G.CheatStates.Hitbox and pHum.Health > 0 then if not isSitting then head.Size = Vector3.new(_G.CheatStates.HitboxSize, _G.CheatStates.HitboxSize, _G.CheatStates.HitboxSize) head.Transparency = 0.5 head.CanCollide = false head.Massless = true else head.Size = Vector3.new(2, 1, 1) head.Transparency = 0 head.CanCollide = true end else head.Size = Vector3.new(2, 1, 1) head.Transparency = 0 head.CanCollide = true end else head.Size = Vector3.new(2, 1, 1) head.Transparency = 0 head.CanCollide = true end end end if not _G.CheatStates.ESP then HighlightFolder:ClearAllChildren() return end for _, p in ipairs(Players:GetPlayers()) do if p ~= LP and p.Character and p.Character:FindFirstChild("HumanoidRootPart") and p.Character:FindFirstChildOfClass("Humanoid") and p.Character:FindFirstChildOfClass("Humanoid").Health > 0 then local name = p.Name .. "_HL" local hl = HighlightFolder:FindFirstChild(name) if _G.CheatStates.Boxes then if not hl then hl = Instance.new("Highlight", HighlightFolder) hl.Name = name hl.FillColor = _G.Theme.Accent hl.FillTransparency = 0.85 hl.OutlineColor = _G.Theme.Accent end hl.Adornee = p.Character else if hl then hl:Destroy() end end local bName = p.Name .. "_Name" local bGui = HighlightFolder:FindFirstChild(bName) if _G.CheatStates.Names then if not bGui then bGui = Instance.new("BillboardGui", HighlightFolder) bGui.Name = bName bGui.AlwaysOnTop = true bGui.Size = UDim2.new(0, 100, 0, 20) Instance.new("TextLabel", bGui).Size = UDim2.new(1, 0, 1, 0) bGui.TextLabel.BackgroundTransparency = 1 bGui.TextLabel.Font = Enum.Font.SourceSansBold end bGui.Adornee = p.Character.Head bGui.TextLabel.Text = p.Name .. " [" .. math.floor(p.Character:FindFirstChildOfClass("Humanoid").Health) .. "]" bGui.TextLabel.TextColor3 = _G.Theme.Text bGui.TextLabel.TextSize = _G.CheatStates.ESPNameSize else if bGui then bGui:Destroy() end end else if HighlightFolder:FindFirstChild(p.Name .. "_HL") then HighlightFolder:FindFirstChild(p.Name .. "_HL"):Destroy() end if HighlightFolder:FindFirstChild(p.Name .. "_Name") then HighlightFolder:FindFirstChild(p.Name .. "_Name"):Destroy() end end end end) table.insert(_G.MenuConnections, stepConn) local aimConn = RunService.RenderStepped:Connect(function() if not _G.CheatStates.Aimbot then CurrentLockedTarget = nil return end if UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then if not CurrentLockedTarget then CurrentLockedTarget = GetClosestPlayerToMouse() end if CurrentLockedTarget and (not CurrentLockedTarget.Character or not CurrentLockedTarget.Character:FindFirstChild("Head") or not CurrentLockedTarget.Character:FindFirstChildOfClass("Humanoid") or CurrentLockedTarget.Character:FindFirstChildOfClass("Humanoid").Health <= 0) then CurrentLockedTarget = nil end if CurrentLockedTarget then local cam = workspace.CurrentCamera if not cam then return end local targetHeadPos = CurrentLockedTarget.Character.Head.Position local smoothValue = math.clamp(_G.CheatStates.AimbotSmooth, 1, 30) local targetLook = CFrame.new(cam.CFrame.Position, targetHeadPos) local targetX, targetY, targetZ = targetLook:ToOrientation() local camX, camY, camZ = cam.CFrame:ToOrientation() cam.CFrame = CFrame.new(cam.CFrame.Position) * CFrame.fromOrientation(camX + (targetX - camX) / smoothValue, camY + (targetY - camY) / smoothValue, 0) end else CurrentLockedTarget = nil end end) table.insert(_G.MenuConnections, aimConn) local jumpConn = UIS.JumpRequest:Connect(function() if _G.CheatStates.InfJump and LP.Character and LP.Character:FindFirstChildOfClass("Humanoid") then LP.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) end end) table.insert(_G.MenuConnections, jumpConn) local Tabs = { {N = "Visual", E = {{T="T", N="Enable ESP", ID="ESP"}, {T="T", N="2D Box", ID="Boxes"}, {T="T", N="Show Names", ID="Names"}, {T="S", N="ESP Name Size", Min=10, Max=25, D=13, ID="ESPNameSize"}, {T="T", N="Show FOV Circle", ID="ShowFOV"}}}, {N = "AimSilent", E = {{T="T", N="Aimbot (Hold RMB)", ID="Aimbot"}, {T="S", N="FOV Radius", Min=10, Max=600, D=100, ID="FOVRadius"}, {T="S", N="Aimbot Smooth", Min=1, Max=20, D=5, ID="AimbotSmooth"}, {T="T", N="Hitbox Expander", ID="Hitbox"}, {T="S", N="Hitbox Size", Min=2, Max=30, D=2, ID="HitboxSize"}}}, {N = "Movement", E = {{T="T", N="Flight Hack (WASD)", ID="FlightHack"}, {T="S", N="Flight Speed", Min=10, Max=250, D=50, ID="FlightSpeed"}, {T="T", N="Speed Hack", ID="SpeedHack"}, {T="S", N="Speed Value", Min=16, Max=250, D=16, ID="SpeedValue"}, {T="T", N="Inf Jump", ID="InfJump"}}}, {N = "Misc", E = {{T="T", N="Car Hack (W / S)", ID="CarHack"}, {T="S", N="Vehicle Speed", Min=30, Max=300, D=50, ID="CarSpeed"}, {T="S", N="Brake Force", Min=10, Max=500, D=100, ID="BrakeForce"}}}, {N = "Settings", E = {{T="C", N="Theme: Purple", K="Purple"}, {T="C", N="Theme: Lime", K="Lime"}, {T="C", N="Theme: Cyan", K="Cyan"}, {T="C", N="Theme: Red", K="Red"}, {T="C", N="Theme: Gold", K="Gold"}, {T="C", N="Theme: Vanta White", K="Vanta"}, {T="U", N="UNHOOK (Unload UI)"}}} } local MF2, Side2, CC2, Title2 = _G.UIRefs.MF, _G.UIRefs.Side, _G.UIRefs.CC, _G.UIRefs.Title local TabBtns, TabPages = _G.UIRefs.TabBtns, _G.UIRefs.TabPages local function ApplyTheme(T) _G.Theme = T Resize.BackgroundColor3 = T.Accent Glow.Color = T.Accent Stroke.Color = T.Accent MF2.BackgroundColor3 = T.Bg Glow.Color = T.Accent Stroke.Color = T.Accent Side2.BackgroundColor3 = T.Main CC2.BackgroundColor3 = T.Main Title2.TextColor3 = T.Accent for _, item in ipairs(_G.AllElements) do if item.X ~= "Crimson" then item.O[item.P] = T[item.X] end end for n, b in pairs(TabBtns) do b.BackgroundColor3 = (n == _G.UIRefs.activeTab) and T.Accent or T.Btn b.TextColor3 = (n == _G.UIRefs.activeTab) and T.Bg or T.Text end end for _, tInfo in ipairs(Tabs) do local Page = Instance.new("ScrollingFrame", CC2) Page.Size = UDim2.new(1, -12, 1, -12) Page.Position = UDim2.new(0, 6, 0, 6) Page.BackgroundTransparency = 1 Page.BorderSizePixel = 0 Page.ScrollBarThickness = 3 Page.Visible = false Instance.new("UIListLayout", Page).Padding = UDim.new(0, 6) TabPages[tInfo.N] = Page for _, e in ipairs(tInfo.E) do local R = Instance.new("Frame", Page) R.Size = UDim2.new(1, -4, 0, 36) R.BorderSizePixel = 0 Instance.new("UICorner", R).CornerRadius = UDim.new(0, 5) local L = Instance.new("TextLabel", R) L.Size = UDim2.new(1, -50, 1, 0) L.Position = UDim2.new(0, 10, 0, 0) L.BackgroundTransparency = 1 L.Text = e.N L.Font = Enum.Font.SourceSansSemibold L.TextSize = 14 L.TextXAlignment = Enum.TextXAlignment.Left if e.T == "U" then R.BackgroundColor3 = Color3.fromRGB(220, 20, 60) L.TextColor3 = Color3.fromRGB(255, 255, 255) L.Font = Enum.Font.SourceSansBold table.insert(_G.AllElements, {O=R, P="BackgroundColor3", X="Crimson"}) else R.BackgroundColor3 = _G.Theme.Btn L.TextColor3 = _G.Theme.Text table.insert(_G.AllElements, {O=R, P="BackgroundColor3", X="Btn"}) table.insert(_G.AllElements, {O=L, P="TextColor3", X="Text"}) end if e.T == "T" then local Ind = Instance.new("Frame", R) Ind.Size = UDim2.new(0,42,0,22) Ind.Position = UDim2.new(1,-55,0.5,-11) Ind.BackgroundColor3 = Color3.fromRGB(45,45,55) Ind.BorderSizePixel = 0 local IndCorner = Instance.new("UICorner", Ind) IndCorner.CornerRadius = UDim.new(1,0) local Dot = Instance.new("Frame", Ind) Dot.Size = UDim2.new(0,16,0,16) Dot.Position = UDim2.new(0,3,0.5,-8) Dot.BackgroundColor3 = Color3.fromRGB(180,180,190) Dot.BorderSizePixel = 0 local DotCorner = Instance.new("UICorner", Dot) DotCorner.CornerRadius = UDim.new(1,0) local B = Instance.new("TextButton", R) B.Size = UDim2.new(1,0,1,0) B.BackgroundTransparency = 1 B.Text = "" B.MouseButton1Click:Connect(function() _G.CheatStates[e.ID] = not _G.CheatStates[e.ID] local enabled = _G.CheatStates[e.ID] TweenService:Create( Ind, TweenInfo.new(0.25), { BackgroundColor3 = enabled and _G.Theme.Accent or Color3.fromRGB(45,45,55) } ):Play() TweenService:Create( Dot, TweenInfo.new(0.25), { Position = enabled and UDim2.new(1,-19,0.5,-8) or UDim2.new(0,3,0.5,-8), BackgroundColor3 = enabled and Color3.fromRGB(255,255,255) or Color3.fromRGB(180,180,190) } ):Play() end) elseif e.T == "S" then R.Size = UDim2.new(1, -4, 0, 44) L.Size = UDim2.new(0.6, 0, 0, 20) L.Position = UDim2.new(0, 10, 0, 2) local VL = Instance.new("TextLabel", R) VL.Size = UDim2.new(0.3, 0, 0, 20) VL.Position = UDim2.new(0.7, -10, 0, 2) VL.BackgroundTransparency = 1 VL.Text = tostring(e.D) VL.TextColor3 = _G.Theme.Accent VL.Font = Enum.Font.SourceSansBold VL.TextSize = 13 VL.TextXAlignment = Enum.TextXAlignment.Right table.insert(_G.AllElements, {O=VL, P="TextColor3", X="Accent"}) local TR = Instance.new("Frame", R) TR.Size = UDim2.new(1, -20, 0, 4) TR.Position = UDim2.new(0, 10, 0, 28) TR.BackgroundColor3 = Color3.fromRGB(50, 50, 60) Instance.new("UICorner", TR) local FI = Instance.new("Frame", TR) FI.Size = UDim2.new((e.D - e.Min)/(e.Max - e.Min), 0, 1, 0) FI.BackgroundColor3 = _G.Theme.Accent Instance.new("UICorner", FI) table.insert(_G.AllElements, {O=FI, P="BackgroundColor3", X="Accent"}) local SB = Instance.new("TextButton", TR) SB.Size = UDim2.new(1, 0, 1, 0) SB.BackgroundTransparency = 1 SB.Text = "" local sliding = false local function upd() local p = math.clamp((UIS:GetMouseLocation().X - TR.AbsolutePosition.X) / TR.AbsoluteSize.X, 0, 1) FI.Size = UDim2.new(p, 0, 1, 0) local val = math.floor(e.Min + (p * (e.Max - e.Min))) VL.Text = tostring(val) _G.CheatStates[e.ID] = val end SB.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then sliding = true upd() end end) UIS.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then sliding = false end end) UIS.InputChanged:Connect(function(i) if sliding and i.UserInputType == Enum.UserInputType.MouseMovement then upd() end end) elseif e.T == "C" or e.T == "U" then local B = Instance.new("TextButton", R) B.Size = UDim2.new(1, 0, 1, 0) B.BackgroundTransparency = 1 B.Text = "" B.MouseButton1Click:Connect(function() if e.T == "U" then _G.UnhookCheatFunc() elseif e.T == "C" then ApplyTheme(_G.Themes[e.K]) end end) end end local TB = Instance.new("TextButton", Side) TB.Size = UDim2.new(1,0,0,42) TB.BackgroundColor3 = Color3.fromRGB(25,18,40) TB.Text = "◈ "..tInfo.N TB.TextColor3 = Color3.fromRGB(220,220,230) TB.Font = Enum.Font.GothamBold TB.TextSize = 15 TB.BorderSizePixel = 0 TB.AutoButtonColor = false local TabCorner = Instance.new("UICorner", TB) TabCorner.CornerRadius = UDim.new(0,10) TB.MouseEnter:Connect(function() TweenService:Create( TB, TweenInfo.new(0.2), { BackgroundColor3 = _G.Theme.Accent } ):Play() end) TB.MouseLeave:Connect(function() if _G.UIRefs.activeTab ~= tInfo.N then TweenService:Create( TB, TweenInfo.new(0.2), { BackgroundColor3 = _G.Theme.Btn } ):Play() end end) TB.MouseButton1Click:Connect(function() if _G.UIRefs.activeTab then TabPages[_G.UIRefs.activeTab].Visible = false TabBtns[_G.UIRefs.activeTab].BackgroundColor3 = _G.Theme.Btn TabBtns[_G.UIRefs.activeTab].TextColor3 = _G.Theme.Text end _G.UIRefs.activeTab = tInfo.N Page.Visible = true TweenService:Create( TB, TweenInfo.new(0.25), { BackgroundColor3 = _G.Theme.Accent } ):Play() TB.TextColor3 = _G.Theme.Bg end) TabBtns[tInfo.N] = TB end TabPages["Visual"].Visible = true TabBtns["Visual"].BackgroundColor3 = _G.Theme.Accent TabBtns["Visual"].TextColor3 = _G.Theme.Bg print("uselessness загружен! Нажми K") else game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Ошибка", Text = "Неверный ключ!", Duration = 4}) end end)