Role Playing on the San Diego Border
Key RequiredUniversal

Role Playing on the San Diego Border

Universal ScriptGojoscriptGojoscript 280 views 1.7K executesUpdated Jul 31, 2026
Unrated
00
Lua Script•990 lines (37569 chars)
-- ============================================
-- DELTA HUB PRO - РАСШИРЕННАЯ ВЕРСИЯ
-- ============================================

local Config = {
    Version = "3.0",
    Key = "DELTA2024",
    MoneyLocations = {
        Vector3.new(6819.95, 17.60, 19.65),
        Vector3.new(-82.62, 49.30, 431.27),
        Vector3.new(6805.51, 17.49, -34.27)
    }
}

-- ============================================
-- СИСТЕМА ЛОГИНА
-- ============================================
local LoginGui = Instance.new("ScreenGui")
LoginGui.Name = "LoginScreen"
LoginGui.ResetOnSpawn = false
LoginGui.Parent = game.CoreGui

local LoginFrame = Instance.new("Frame")
LoginFrame.Size = UDim2.new(0, 350, 0, 250)
LoginFrame.Position = UDim2.new(0.5, -175, 0.5, -125)
LoginFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 35)
LoginFrame.BackgroundTransparency = 0.1
LoginFrame.BorderSizePixel = 0
LoginFrame.Active = true
LoginFrame.Draggable = true
LoginFrame.Parent = LoginGui

local LoginCorner = Instance.new("UICorner")
LoginCorner.CornerRadius = UDim.new(0, 15)
LoginCorner.Parent = LoginFrame

local LoginTitle = Instance.new("TextLabel")
LoginTitle.Size = UDim2.new(1, 0, 0, 40)
LoginTitle.Position = UDim2.new(0, 0, 0, 10)
LoginTitle.BackgroundTransparency = 1
LoginTitle.Text = "🔐 DELTA HUB PRO"
LoginTitle.TextColor3 = Color3.fromRGB(0, 200, 255)
LoginTitle.TextSize = 24
LoginTitle.Font = Enum.Font.GothamBold
LoginTitle.Parent = LoginFrame

local KeyBox = Instance.new("TextBox")
KeyBox.Size = UDim2.new(0.8, 0, 0, 40)
KeyBox.Position = UDim2.new(0.1, 0, 0, 70)
KeyBox.BackgroundColor3 = Color3.fromRGB(40, 40, 55)
KeyBox.PlaceholderText = "Введите ключ..."
KeyBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150)
KeyBox.Text = ""
KeyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
KeyBox.TextSize = 16
KeyBox.Font = Enum.Font.GothamMedium
KeyBox.Parent = LoginFrame

local KeyCorner = Instance.new("UICorner")
KeyCorner.CornerRadius = UDim.new(0, 8)
KeyCorner.Parent = KeyBox

local LoginButton = Instance.new("TextButton")
LoginButton.Size = UDim2.new(0.8, 0, 0, 40)
LoginButton.Position = UDim2.new(0.1, 0, 0, 130)
LoginButton.BackgroundColor3 = Color3.fromRGB(0, 200, 100)
LoginButton.Text = "ВОЙТИ"
LoginButton.TextColor3 = Color3.fromRGB(255, 255, 255)
LoginButton.TextSize = 16
LoginButton.Font = Enum.Font.GothamBold
LoginButton.Parent = LoginFrame

local LoginButtonCorner = Instance.new("UICorner")
LoginButtonCorner.CornerRadius = UDim.new(0, 8)
LoginButtonCorner.Parent = LoginButton

local LoginStatus = Instance.new("TextLabel")
LoginStatus.Size = UDim2.new(1, 0, 0, 30)
LoginStatus.Position = UDim2.new(0, 0, 0, 185)
LoginStatus.BackgroundTransparency = 1
LoginStatus.Text = ""
LoginStatus.TextColor3 = Color3.fromRGB(255, 100, 100)
LoginStatus.TextSize = 14
LoginStatus.Font = Enum.Font.GothamMedium
LoginStatus.Parent = LoginFrame

local function CheckKey()
    local enteredKey = KeyBox.Text
    if enteredKey == Config.Key then
        LoginStatus.Text = "✅ Доступ разрешен!"
        LoginStatus.TextColor3 = Color3.fromRGB(0, 255, 100)
        task.wait(0.5)
        LoginGui:Destroy()
        InitializeMainMenu()
    else
        LoginStatus.Text = "❌ Неверный ключ!"
        LoginStatus.TextColor3 = Color3.fromRGB(255, 50, 50)
        KeyBox.Text = ""
    end
end

LoginButton.MouseButton1Click:Connect(CheckKey)
KeyBox.FocusLost:Connect(function(enterPressed)
    if enterPressed then
        CheckKey()
    end
end)

-- ============================================
-- ОСНОВНОЕ МЕНЮ
-- ============================================
function InitializeMainMenu()
    -- Оптимизация FPS
    local function OptimizeFPS()
        local lighting = game:GetService("Lighting")
        lighting.GlobalShadows = false
        lighting.FogEnd = 1000
        lighting.FogStart = 500
        settings():GetService("RenderSettings").QualityLevel = 1
        settings():GetService("RenderSettings").TextureQuality = "Low"
        
        for _, child in ipairs(workspace:GetDescendants()) do
            if child:IsA("BasePart") then
                child.CastShadow = false
            end
        end
    end
    
    -- ИИ Бот
    local Bot = {
        Enabled = false,
        CurrentTarget = 1,
        Connection = nil
    }
    
    local function StartBot()
        Bot.Enabled = true
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        local function TeleportToMoney()
            local character = LocalPlayer.Character
            if not character then return end
            local rootPart = character:FindFirstChild("HumanoidRootPart")
            if not rootPart then return end
            rootPart.CFrame = CFrame.new(Config.MoneyLocations[Bot.CurrentTarget])
        end
        
        local function CollectMoney()
            local character = LocalPlayer.Character
            if not character then return end
            local rootPart = character:FindFirstChild("HumanoidRootPart")
            if not rootPart then return end
            
            for _, object in ipairs(workspace:GetDescendants()) do
                if object:IsA("BasePart") then
                    local name = object.Name:lower()
                    if name:find("money") or name:find("coin") or name:find("cash") then
                        local distance = (object.Position - rootPart.Position).Magnitude
                        if distance < 10 then
                            if object:FindFirstChild("ClickDetector") then
                                fireclickdetector(object.ClickDetector)
                            end
                        end
                    end
                end
            end
        end
        
        Bot.Connection = game:GetService("RunService").Heartbeat:Connect(function()
            if not Bot.Enabled then return end
            local character = LocalPlayer.Character
            if not character then return end
            local rootPart = character:FindFirstChild("HumanoidRootPart")
            if not rootPart then return end
            
            local target = Config.MoneyLocations[Bot.CurrentTarget]
            local distance = (rootPart.Position - target).Magnitude
            
            if distance < 5 then
                CollectMoney()
                task.wait(1)
                Bot.CurrentTarget = Bot.CurrentTarget + 1
                if Bot.CurrentTarget > #Config.MoneyLocations then
                    Bot.CurrentTarget = 1
                end
                TeleportToMoney()
            end
        end)
        
        TeleportToMoney()
    end
    
    local function StopBot()
        Bot.Enabled = false
        if Bot.Connection then
            Bot.Connection:Disconnect()
            Bot.Connection = nil
        end
    end
    
    -- Создание GUI
    local ScreenGui = Instance.new("ScreenGui")
    ScreenGui.Name = "DeltaHubPro"
    ScreenGui.ResetOnSpawn = false
    ScreenGui.Parent = game.CoreGui
    
    local MainFrame = Instance.new("Frame")
    MainFrame.Size = UDim2.new(0, 500, 0, 600)
    MainFrame.Position = UDim2.new(0.5, -250, 0.5, -300)
    MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
    MainFrame.BackgroundTransparency = 0.05
    MainFrame.BorderSizePixel = 0
    MainFrame.Active = true
    MainFrame.Draggable = true
    MainFrame.Parent = ScreenGui
    
    local UICorner = Instance.new("UICorner")
    UICorner.CornerRadius = UDim.new(0, 20)
    UICorner.Parent = MainFrame
    
    -- Верхняя панель
    local TitleBar = Instance.new("Frame")
    TitleBar.Size = UDim2.new(1, 0, 0, 50)
    TitleBar.BackgroundColor3 = Color3.fromRGB(35, 35, 50)
    TitleBar.BorderSizePixel = 0
    TitleBar.Parent = MainFrame
    
    local TitleCorner = Instance.new("UICorner")
    TitleCorner.CornerRadius = UDim.new(0, 20)
    TitleCorner.Parent = TitleBar
    
    local Title = Instance.new("TextLabel")
    Title.Size = UDim2.new(1, -100, 1, 0)
    Title.BackgroundTransparency = 1
    Title.Text = "⚡ DELTA HUB PRO"
    Title.TextColor3 = Color3.fromRGB(0, 200, 255)
    Title.TextSize = 22
    Title.Font = Enum.Font.GothamBold
    Title.Parent = TitleBar
    
    -- Кнопки
    local MinimizeButton = Instance.new("TextButton")
    MinimizeButton.Size = UDim2.new(0, 35, 0, 35)
    MinimizeButton.Position = UDim2.new(1, -80, 0, 7.5)
    MinimizeButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
    MinimizeButton.Text = "—"
    MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    MinimizeButton.TextSize = 20
    MinimizeButton.Font = Enum.Font.GothamBold
    MinimizeButton.Parent = TitleBar
    
    local MinCorner = Instance.new("UICorner")
    MinCorner.CornerRadius = UDim.new(0, 8)
    MinCorner.Parent = MinimizeButton
    
    local CloseButton = Instance.new("TextButton")
    CloseButton.Size = UDim2.new(0, 35, 0, 35)
    CloseButton.Position = UDim2.new(1, -40, 0, 7.5)
    CloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
    CloseButton.Text = "✕"
    CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    CloseButton.TextSize = 16
    CloseButton.Font = Enum.Font.GothamBold
    CloseButton.Parent = TitleBar
    
    local CloseCorner = Instance.new("UICorner")
    CloseCorner.CornerRadius = UDim.new(0, 8)
    CloseCorner.Parent = CloseButton
    
    -- Вкладки
    local TabFrame = Instance.new("Frame")
    TabFrame.Size = UDim2.new(1, 0, 0, 45)
    TabFrame.Position = UDim2.new(0, 0, 0, 50)
    TabFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 45)
    TabFrame.BorderSizePixel = 0
    TabFrame.Parent = MainFrame
    
    local ContentFrame = Instance.new("Frame")
    ContentFrame.Size = UDim2.new(1, -20, 1, -115)
    ContentFrame.Position = UDim2.new(0, 10, 0, 105)
    ContentFrame.BackgroundTransparency = 1
    ContentFrame.Parent = MainFrame
    
    -- Создание вкладок
    local MainTab = Instance.new("Frame")
    MainTab.Size = UDim2.new(1, 0, 1, 0)
    MainTab.BackgroundTransparency = 1
    MainTab.Visible = true
    MainTab.Parent = ContentFrame
    
    local CombatTab = Instance.new("Frame")
    CombatTab.Size = UDim2.new(1, 0, 1, 0)
    CombatTab.BackgroundTransparency = 1
    CombatTab.Visible = false
    CombatTab.Parent = ContentFrame
    
    local ESPTab = Instance.new("Frame")
    ESPTab.Size = UDim2.new(1, 0, 1, 0)
    ESPTab.BackgroundTransparency = 1
    ESPTab.Visible = false
    ESPTab.Parent = ContentFrame
    
    local FPSTab = Instance.new("Frame")
    FPSTab.Size = UDim2.new(1, 0, 1, 0)
    FPSTab.BackgroundTransparency = 1
    FPSTab.Visible = false
    FPSTab.Parent = ContentFrame
    
    local BotTab = Instance.new("Frame")
    BotTab.Size = UDim2.new(1, 0, 1, 0)
    BotTab.BackgroundTransparency = 1
    BotTab.Visible = false
    BotTab.Parent = ContentFrame
    
    local SettingsTab = Instance.new("Frame")
    SettingsTab.Size = UDim2.new(1, 0, 1, 0)
    SettingsTab.BackgroundTransparency = 1
    SettingsTab.Visible = false
    SettingsTab.Parent = ContentFrame
    
    -- Функция создания переключателя
    local function CreateToggle(parent, name, default, callback, yPos)
        local ToggleFrame = Instance.new("Frame")
        ToggleFrame.Size = UDim2.new(1, 0, 0, 40)
        ToggleFrame.Position = UDim2.new(0, 0, 0, yPos)
        ToggleFrame.BackgroundTransparency = 1
        ToggleFrame.Parent = parent
        
        local ToggleButton = Instance.new("TextButton")
        ToggleButton.Size = UDim2.new(0, 60, 0, 30)
        ToggleButton.Position = UDim2.new(0, 0, 0, 5)
        ToggleButton.BackgroundColor3 = default and Color3.fromRGB(0, 200, 100) or Color3.fromRGB(200, 50, 50)
        ToggleButton.Text = default and "ВКЛ" or "ВЫКЛ"
        ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
        ToggleButton.TextSize = 12
        ToggleButton.Font = Enum.Font.GothamBold
        ToggleButton.Parent = ToggleFrame
        
        local ToggleCorner = Instance.new("UICorner")
        ToggleCorner.CornerRadius = UDim.new(0, 8)
        ToggleCorner.Parent = ToggleButton
        
        local ToggleLabel = Instance.new("TextLabel")
        ToggleLabel.Size = UDim2.new(1, -70, 1, 0)
        ToggleLabel.Position = UDim2.new(0, 70, 0, 0)
        ToggleLabel.BackgroundTransparency = 1
        ToggleLabel.Text = name
        ToggleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
        ToggleLabel.TextSize = 14
        ToggleLabel.Font = Enum.Font.GothamMedium
        ToggleLabel.TextXAlignment = Enum.TextXAlignment.Left
        ToggleLabel.Parent = ToggleFrame
        
        local enabled = default
        ToggleButton.MouseButton1Click:Connect(function()
            enabled = not enabled
            ToggleButton.BackgroundColor3 = enabled and Color3.fromRGB(0, 200, 100) or Color3.fromRGB(200, 50, 50)
            ToggleButton.Text = enabled and "ВКЛ" or "ВЫКЛ"
            callback(enabled)
        end)
        
        return ToggleButton
    end
    
    -- Функция создания слайдера
    local function CreateSlider(parent, name, min, max, default, callback, yPos)
        local SliderFrame = Instance.new("Frame")
        SliderFrame.Size = UDim2.new(1, 0, 0, 55)
        SliderFrame.Position = UDim2.new(0, 0, 0, yPos)
        SliderFrame.BackgroundTransparency = 1
        SliderFrame.Parent = parent
        
        local SliderLabel = Instance.new("TextLabel")
        SliderLabel.Size = UDim2.new(1, 0, 0, 20)
        SliderLabel.BackgroundTransparency = 1
        SliderLabel.Text = name .. ": " .. default
        SliderLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
        SliderLabel.TextSize = 14
        SliderLabel.Font = Enum.Font.GothamMedium
        SliderLabel.TextXAlignment = Enum.TextXAlignment.Left
        SliderLabel.Parent = SliderFrame
        
        local SliderBg = Instance.new("Frame")
        SliderBg.Size = UDim2.new(1, 0, 0, 12)
        SliderBg.Position = UDim2.new(0, 0, 0, 30)
        SliderBg.BackgroundColor3 = Color3.fromRGB(60, 60, 75)
        SliderBg.BorderSizePixel = 0
        SliderBg.Parent = SliderFrame
        
        local SliderBgCorner = Instance.new("UICorner")
        SliderBgCorner.CornerRadius = UDim.new(0, 6)
        SliderBgCorner.Parent = SliderBg
        
        local SliderFill = Instance.new("Frame")
        SliderFill.Size = UDim2.new((default - min) / (max - min), 0, 1, 0)
        SliderFill.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
        SliderFill.BorderSizePixel = 0
        SliderFill.Parent = SliderBg
        
        local SliderFillCorner = Instance.new("UICorner")
        SliderFillCorner.CornerRadius = UDim.new(0, 6)
        SliderFillCorner.Parent = SliderFill
        
        local dragging = false
        local currentValue = default
        
        SliderBg.InputBegan:Connect(function(input)
            if input.UserInputType == Enum.UserInputType.MouseButton1 then
                dragging = true
                local pos = input.Position.X - SliderBg.AbsolutePosition.X
                local percent = math.clamp(pos / SliderBg.AbsoluteSize.X, 0, 1)
                currentValue = math.floor(min + (max - min) * percent)
                SliderFill.Size = UDim2.new(percent, 0, 1, 0)
                SliderLabel.Text = name .. ": " .. currentValue
                callback(currentValue)
            end
        end)
        
        SliderBg.InputEnded:Connect(function(input)
            if input.UserInputType == Enum.UserInputType.MouseButton1 then
                dragging = false
            end
        end)
        
        SliderBg.InputChanged:Connect(function(input)
            if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
                local pos = input.Position.X - SliderBg.AbsolutePosition.X
                local percent = math.clamp(pos / SliderBg.AbsoluteSize.X, 0, 1)
                currentValue = math.floor(min + (max - min) * percent)
                SliderFill.Size = UDim2.new(percent, 0, 1, 0)
                SliderLabel.Text = name .. ": " .. currentValue
                callback(currentValue)
            end
        end)
        
        return SliderFrame
    end
    
    -- Функция создания кнопки
    local function CreateButton(parent, name, callback, yPos, color)
        local Button = Instance.new("TextButton")
        Button.Size = UDim2.new(1, 0, 0, 35)
        Button.Position = UDim2.new(0, 0, 0, yPos)
        Button.BackgroundColor3 = color or Color3.fromRGB(0, 150, 255)
        Button.Text = name
        Button.TextColor3 = Color3.fromRGB(255, 255, 255)
        Button.TextSize = 13
        Button.Font = Enum.Font.GothamMedium
        Button.Parent = parent
        
        local ButtonCorner = Instance.new("UICorner")
        ButtonCorner.CornerRadius = UDim.new(0, 8)
        ButtonCorner.Parent = Button
        
        Button.MouseButton1Click:Connect(callback)
        
        return Button
    end
    
    -- ============ ВКЛАДКА MAIN ============
    -- ИИ Бот
    CreateToggle(MainTab, "🤖 ИИ Бот (Фарм денег)", false, function(enabled)
        if enabled then
            StartBot()
        else
            StopBot()
        end
    end, 10)
    
    -- Флай
    CreateToggle(MainTab, "🕊️ Полет", false, function(enabled)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        local character = LocalPlayer.Character
        if not character then return end
        
        local humanoid = character:FindFirstChildOfClass("Humanoid")
        local rootPart = character:FindFirstChild("HumanoidRootPart")
        if not humanoid or not rootPart then return end
        
        if enabled then
            humanoid:ChangeState(Enum.HumanoidStateType.Flying)
            humanoid.Flying = true
            humanoid.WalkSpeed = 50
        else
            humanoid:ChangeState(Enum.HumanoidStateType.Landed)
            humanoid.Flying = false
            humanoid.WalkSpeed = 16
        end
    end, 55)
    
    -- Ноклип
    CreateToggle(MainTab, "🧱 Ноклип", false, function(enabled)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        
        if enabled then
            game:GetService("RunService").Stepped:Connect(function()
                if not LocalPlayer.Character then return end
                for _, part in ipairs(LocalPlayer.Character:GetDescendants()) do
                    if part:IsA("BasePart") then
                        part.CanCollide = false
                    end
                end
            end)
        end
    end, 100)
    
    -- Скорость
    CreateSlider(MainTab, "🏃 Скорость", 16, 500, 16, function(value)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        local character = LocalPlayer.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then
                humanoid.WalkSpeed = value
            end
        end
    end, 145)
    
    -- Прыжок
    CreateSlider(MainTab, "🦘 Прыжок", 50, 500, 50, function(value)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        local character = LocalPlayer.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then
                humanoid.JumpPower = value
            end
        end
    end, 205)
    
    -- Бесконечный прыжок
    CreateToggle(MainTab, "∞ Бесконечный прыжок", false, function(enabled)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        local UserInputService = game:GetService("UserInputService")
        
        if enabled then
            UserInputService.JumpRequest:Connect(function()
                local character = LocalPlayer.Character
                if character then
                    local humanoid = character:FindFirstChildOfClass("Humanoid")
                    if humanoid then
                        humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
                    end
                end
            end)
        end
    end, 265)
    
    -- ============ ВКЛАДКА COMBAT ============
    -- Аимбот
    CreateToggle(CombatTab, "🎯 Аимбот", false, function(enabled)
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        if enabled then
            game:GetService("RunService").RenderStepped:Connect(function()
                if not enabled then return end
                local closestTarget = nil
                local closestDistance = math.huge
                
                for _, player in ipairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer then
                        local character = player.Character
                        if character then
                            local rootPart = character:FindFirstChild("HumanoidRootPart")
                            if rootPart then
                                local distance = (rootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
                                if distance < closestDistance then
                                    closestDistance = distance
                                    closestTarget = rootPart
                                end
                            end
                        end
                    end
                end
                
                if closestTarget then
                    local camera = workspace.CurrentCamera
                    camera.CFrame = CFrame.new(camera.CFrame.Position, closestTarget.Position)
                end
            end)
        end
    end, 10)
    
    -- Триггербот
    CreateToggle(CombatTab, "🔫 Триггербот", false, function(enabled)
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        if enabled then
            game:GetService("RunService").RenderStepped:Connect(function()
                if not enabled then return end
                local mouse = LocalPlayer:GetMouse()
                local target = mouse.Target
                
                if target then
                    local character = target.Parent
                    if character then
                        local humanoid = character:FindFirstChildOfClass("Humanoid")
                        if humanoid and character ~= LocalPlayer.Character then
                            local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
                            if tool then
                                tool:Activate()
                            end
                        end
                    end
                end
            end)
        end
    end, 55)
    
    -- Увеличение хитбоксов
    CreateToggle(CombatTab, "📦 Увеличение хитбоксов", false, function(enabled)
        local Players = game:GetService("Players")
        
        if enabled then
            for _, player in ipairs(Players:GetPlayers()) do
                local character = player.Character
                if character then
                    for _, part in ipairs(character:GetDescendants()) do
                        if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
                            part.Size = part.Size * 2
                        end
                    end
                end
            end
        end
    end, 100)
    
    -- Быстрая атака
    CreateToggle(CombatTab, "⚡ Быстрая атака", false, function(enabled)
        local LocalPlayer = game:GetService("Players").LocalPlayer
        
        if enabled then
            game:GetService("RunService").Heartbeat:Connect(function()
                if not enabled then return end
                local character = LocalPlayer.Character
                if character then
                    local tool = character:FindFirstChildOfClass("Tool")
                    if tool then
                        tool:Activate()
                        task.wait(0.1)
                    end
                end
            end)
        end
    end, 145)
    
    -- Урон x2
    CreateToggle(CombatTab, "💥 Урон x2", false, function(enabled)
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        if enabled then
            local oldDamage = nil
            for _, tool in ipairs(LocalPlayer.Backpack:GetChildren()) do
                if tool:IsA("Tool") then
                    for _, child in ipairs(tool:GetDescendants()) do
                        if child:IsA("NumberValue") and child.Name:lower():find("damage") then
                            oldDamage = child.Value
                            child.Value = child.Value * 2
                        end
                    end
                end
            end
        end
    end, 190)
    
    -- ============ ВКЛАДКА ESP ============
    -- ESP Игроков
    CreateToggle(ESPTab, "👤 ESP Игроков", false, function(enabled)
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        if enabled then
            for _, player in ipairs(Players:GetPlayers()) do
                if player ~= LocalPlayer then
                    local character = player.Character
                    if character then
                        local rootPart = character:FindFirstChild("HumanoidRootPart")
                        if rootPart then
                            local espBox = Instance.new("BoxHandleAdornment")
                            espBox.Size = rootPart.Size * 3
                            espBox.Adornee = rootPart
                            espBox.Color3 = player.TeamColor.Color
                            espBox.Transparency = 0.5
                            espBox.AlwaysOnTop = true
                            espBox.Parent = rootPart
                        end
                    end
                end
            end
        else
            for _, player in ipairs(Players:GetPlayers()) do
                local character = player.Character
                if character then
                    for _, child in ipairs(character:GetDescendants()) do
                        if child:IsA("BoxHandleAdornment") then
                            child:Destroy()
                        end
                    end
                end
            end
        end
    end, 10)
    
    -- ESP Денег
    CreateToggle(ESPTab, "💰 ESP Денег", false, function(enabled)
        if enabled then
            for _, object in ipairs(workspace:GetDescendants()) do
                if object:IsA("BasePart") then
                    local name = object.Name:lower()
                    if name:find("money") or name:find("coin") or name:find("cash") then
                        local espBox = Instance.new("BoxHandleAdornment")
                        espBox.Size = Vector3.new(5, 5, 5)
                        espBox.Adornee = object
                        espBox.Color3 = Color3.fromRGB(0, 255, 0)
                        espBox.Transparency = 0.3
                        espBox.AlwaysOnTop = true
                        espBox.Parent = object
                    end
                end
            end
        else
            for _, object in ipairs(workspace:GetDescendants()) do
                if object:IsA("BasePart") then
                    for _, child in ipairs(object:GetChildren()) do
                        if child:IsA("BoxHandleAdornment") then
                            child:Destroy()
                        end
                    end
                end
            end
        end
    end, 55)
    
    -- ESP Через стены
    CreateToggle(ESPTab, "👁️ ESP Через стены", false, function(enabled)
        local Players = game:GetService("Players")
        
        if enabled then
            for _, player in ipairs(Players:GetPlayers()) do
                local character = player.Character
                if character then
                    for _, part in ipairs(character:GetDescendants()) do
                        if part:IsA("BasePart") then
                            part.LocalTransparencyModifier = 0.5
                        end
                    end
                end
            end
        else
            for _, player in ipairs(Players:GetPlayers()) do
                local character = player.Character
                if character then
                    for _, part in ipairs(character:GetDescendants()) do
                        if part:IsA("BasePart") then
                            part.LocalTransparencyModifier = 0
                        end
                    end
                end
            end
        end
    end, 100)
    
    -- Показать расстояния
    CreateToggle(ESPTab, "📏 Показать расстояния", false, function(enabled)
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer
        
        if enabled then
            game:GetService("RunService").RenderStepped:Connect(function()
                if not enabled then return end
                for _, player in ipairs(Players:GetPlayers()) do
                    if player ~= LocalPlayer then
                        local character = player.Character
                        if character then
                            local rootPart = character:FindFirstChild("HumanoidRootPart")
                            if rootPart then
                                local distance = (rootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
                                local billboard = rootPart:FindFirstChild("DistanceLabel")
                                if not billboard then
                                    billboard = Instance.new("BillboardGui")
                                    billboard.Name = "DistanceLabel"
                                    billboard.Size = UDim2.new(0, 100, 0, 20)
                                    billboard.AlwaysOnTop = true
                                    billboard.Parent = rootPart
                                    
                                    local label = Instance.new("TextLabel")
                                    label.Size = UDim2.new(1, 0, 1, 0)
                                    label.BackgroundTransparency = 1
                                    label.TextColor3 = Color3.fromRGB(255, 255, 255)
                                    label.TextSize = 14
                                    label.Font = Enum.Font.GothamBold
                                    label.Parent = billboard
                                end
                                billboard.TextLabel.Text = math.floor(distance) .. "м"
                            end
                        end
                    end
                end
            end)
        end
    end, 145)
    
    -- ============ ВКЛАДКА FPS ============
    -- Буст FPS
    CreateToggle(FPSTab, "⚡ Буст FPS", true, function(enabled)
        if enabled then
            OptimizeFPS()
        end
    end, 10)
    
    -- Качество
    CreateSlider(FPSTab, "📊 Качество", 1, 10, 1, function(value)
        settings():GetService("RenderSettings").QualityLevel = value
    end, 55)
    
    -- Без теней
    CreateToggle(FPSTab, "🌑 Без теней", true, function(enabled)
        game:GetService("Lighting").GlobalShadows = not enabled
    end, 100)
    
    -- FPS Счетчик
    local FPSCounter = Instance.new("TextLabel")
    FPSCounter.Size = UDim2.new(1, 0, 0, 30)
    FPSCounter.Position = UDim2.new(0, 0, 0, 145)
    FPSCounter.BackgroundTransparency = 1
    FPSCounter.Text = "FPS: 60"
    FPSCounter.TextColor3 = Color3.fromRGB(0, 255, 100)
    FPSCounter.TextSize = 18
    FPSCounter.Font = Enum.Font.GothamBold
    FPSCounter.Parent = FPSTab
    
    local lastTime = os.clock()
    game:GetService("RunService").RenderStepped:Connect(function()
        local currentTime = os.clock()
        local delta = currentTime - lastTime
        lastTime = currentTime
        local fps = math.floor(1 / delta)
        FPSCounter.Text = "FPS: " .. fps
        FPSCounter.TextColor3 = fps >= 60 and Color3.fromRGB(0, 255, 100) or 
                               fps >= 30 and Color3.fromRGB(255, 255, 0) or 
                               Color3.fromRGB(255, 0, 0)
    end)
    
    -- ============ ВКЛАДКА BOT ============
    local BotInfo = Instance.new("TextLabel")
    BotInfo.Size = UDim2.new(1, 0, 0, 40)
    BotInfo.Position = UDim2.new(0, 0, 0, 10)
    BotInfo.BackgroundTransparency = 1
    BotInfo.Text = "🤖 ИИ Бот для фарма денег"
    BotInfo.TextColor3 = Color3.fromRGB(255, 255, 255)
    BotInfo.TextSize = 16
    BotInfo.Font = Enum.Font.GothamBold
    BotInfo.Parent = BotTab
    
    local BotStatus = Instance.new("TextLabel")
    BotStatus.Size = UDim2.new(1, 0, 0, 30)
    BotStatus.Position = UDim2.new(0, 0, 0, 55)
    BotStatus.BackgroundTransparency = 1
    BotStatus.Text = "Статус: Остановлен"
    BotStatus.TextColor3 = Color3.fromRGB(255, 100, 100)
    BotStatus.TextSize = 14
    BotStatus.Font = Enum.Font.GothamMedium
    BotStatus.Parent = BotTab
    
    CreateButton(BotTab, "▶ ЗАПУСТИТЬ БОТА", function()
        StartBot()
        BotStatus.Text = "Статус: Работает"
        BotStatus.TextColor3 = Color3.fromRGB(0, 255, 100)
    end, 100, Color3.fromRGB(0, 200, 100))
    
    CreateButton(BotTab, "⏹ ОСТАНОВИТЬ БОТА", function()
        StopBot()
        BotStatus.Text = "Статус: Остановлен"
        BotStatus.TextColor3 = Color3.fromRGB(255, 100, 100)
    end, 145, Color3.fromRGB(255, 50, 50))
    
    -- Кнопки телепортации
    local locations = {
        {"📍 Точка 1 (6819, 17, 19)", 1},
        {"📍 Точка 2 (-82, 49, 431)", 2},
        {"📍 Точка 3 (6805, 17, -34)", 3}
    }
    
    for i, loc in ipairs(locations) do
        CreateButton(BotTab, loc[1], function()
            local LocalPlayer = game:GetService("Players").LocalPlayer
            local character = LocalPlayer.Character
            if character then
                local rootPart = character:FindFirstChild("HumanoidRootPart")
                if rootPart then
                    rootPart.CFrame = CFrame.new(Config.MoneyLocations[loc[2]])
                end
            end
        end, 190 + (i-1) * 45, Color3.fromRGB(0, 150, 255))
    end
    
    -- ============ ВКЛАДКА SETTINGS ============
    CreateSlider(SettingsTab, "🎨 Прозрачность", 0, 100, 95, function(value)
        MainFrame.BackgroundTransparency = value / 100
    end, 10)
    
    CreateSlider(SettingsTab, "📏 Размер", 350, 700, 500, function(value)
        MainFrame.Size = UDim2.new(0, value, 0, value * 1.2)
    end, 70)
    
    CreateButton(SettingsTab, "🔄 СБРОСИТЬ НАСТРОЙКИ", function()
        StopBot()
        local LocalPlayer = game:GetService("Players").LocalPlayer
        local character = LocalPlayer.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then
                humanoid.WalkSpeed = 16
                humanoid.JumpPower = 50
            end
        end
    end, 130, Color3.fromRGB(255, 100, 0))
    
    -- Создание вкладок
    local function CreateTab(name, icon, tabIndex)
        local TabButton = Instance.new("TextButton")
        TabButton.Size = UDim2.new(0.16, 0, 1, 0)
        TabButton.Position = UDim2.new((tabIndex - 1) * 0.16, 0, 0, 0)
        TabButton.BackgroundColor3 = tabIndex == 1 and Color3.fromRGB(0, 150, 255) or Color3.fromRGB(45, 45, 60)
        TabButton.Text = icon .. " " .. name
        TabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
        TabButton.TextSize = 11
        TabButton.Font = Enum.Font.GothamMedium
        TabButton.BorderSizePixel = 0
        TabButton.Parent = TabFrame
        
        TabButton.MouseButton1Click:Connect(function()
            for _, child in ipairs(TabFrame:GetChildren()) do
                if child:IsA("TextButton") then
                    child.BackgroundColor3 = Color3.fromRGB(45, 45, 60)
                end
            end
            TabButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
            
            MainTab.Visible = (tabIndex == 1)
            CombatTab.Visible = (tabIndex == 2)
            ESPTab.Visible = (tabIndex == 3)
            FPSTab.Visible = (tabIndex == 4)
            BotTab.Visible = (tabIndex == 5)
            SettingsTab.Visible = (tabIndex == 6)
        end)
    end
    
    CreateTab("Главная", "🏠", 1)
    CreateTab("Бой", "⚔️", 2)
    CreateTab("ESP", "👁️", 3)
    CreateTab("FPS", "⚡", 4)
    CreateTab("Бот", "🤖", 5)
    CreateTab("Настройки", "⚙️", 6)
    
    -- Сворачивание
    local isMinimized = false
    MinimizeButton.MouseButton1Click:Connect(function()
        isMinimized = not isMinimized
        local targetSize = isMinimized and UDim2.new(0, 500, 0, 50) or UDim2.new(0, 500, 0, 600)
        MainFrame:TweenSize(targetSize, "Out", "Quad", 0.3, false, nil)
        ContentFrame.Visible = not isMinimized
        TabFrame.Visible = not isMinimized
    end)
    
    -- Закрытие
    CloseButton.MouseButton1Click:Connect(function()
        MainFrame:Destroy()
    end)
    
    -- Клавиша M
    game:GetService("UserInputService").InputBegan:Connect(function(input)
        if input.KeyCode == Enum.KeyCode.M then
            MainFrame.Visible = not MainFrame.Visible
        end
    end)
    
    -- Уведомление
    game:GetService("StarterGui"):SetCore("SendNotification", {
        Title = "⚡ DELTA HUB PRO",
        Text = "Загружен! Нажми M для меню",
        Duration = 3
    })
end

print("✅ Скрипт загружен! Ключ: DELTA2024")

Features & Information

⚡ Функции меню: Вкладка "Главная": 🤖 ИИ Бот - автоматический фарм денег 🕊️ Полет 🧱 Ноклип 🏃 Скорость (16-500) 🦘 Прыжок (50-500) Вкладка "FPS": ⚡ Буст FPS - оптимизация графики 📊 Качество графики (1-10) 🌑 Без теней 📊 Счетчик FPS в реальном времени Вкладка "Бот": ▶️ Запуск бота ⏹️ Остановка бота 📍 Телепорт на 3 точки фарма: Точка 1: (6819, 17, 19) Точка 2: (-82, 49, 431) Точка 3: (6805, 17, -34) Вкладка "Настройки": 🎨 Прозрачность меню 📏 Размер меню 🔄 Сброс настроек 🎮 Управление: M - открыть/закрыть меню — - свернуть меню (анимация) ✕ - закрыть меню 🤖 ИИ Бот: Бот автоматически: Телепортируется на первую точку Собирает деньги вокруг себя Перемещается на вторую точку Собирает деньги Перемещается на третью точку Повторяет цикл Бот ищет объекты с названиями "money", "coin", "cash" и собирает их автоматически!

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts