darkware
Key RequiredUniversal

darkware

Universal Scriptknoshyconeknoshycone 33 views 57 executesUpdated Aug 26, 2026
Unrated
00
Lua Script•1286 lines (48601 chars)
-- DarkWare V.1.7.1 | Custom UI Framework
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local SoundService = game:GetService("SoundService")
local HttpService = game:GetService("HttpService")
local LocalPlayer = Players.LocalPlayer

-- Font Ayarlamaları
local MainFont = Enum.Font.SourceSans
local BoldFont = Enum.Font.SourceSansBold
local ItalicFont = Enum.Font.SourceSansItalic

-- Eski Paneli Ve Splash Ekranını Temizle
if CoreGui:FindFirstChild("StrayerHubUI") then CoreGui.StrayerHubUI:Destroy() end
if CoreGui:FindFirstChild("DarkWareUI") then CoreGui.DarkWareUI:Destroy() end
if CoreGui:FindFirstChild("DarkWareSplash") then CoreGui.DarkWareSplash:Destroy() end

-- Global Durum Değişkenleri
_G.Aimbot = false
_G.MobileAimbot = false
_G.Triggerbot = false
_G.InfAmmo = false
_G.ESPTeam = false
_G.ESPHostile = false
_G.ESPAll = false
_G.ESPPlayerTarget = ""
_G.SpinBot = false
_G.Hitbox = false
_G.Fly = false
_G.Noclip = false
_G.Fire = false
_G.Smoke = false
_G.Sparkles = false
_G.KillAura = false
_G.GodAura = false
_G.Spam = false
_G.SpamText = ""

_G.FOVCircleRadius = 50
_G.TeamColor = Color3.fromRGB(0, 255, 0)
_G.HostileColor = Color3.fromRGB(255, 0, 0)
_G.AllColor = Color3.fromRGB(255, 255, 255)

local ToggleKey = Enum.KeyCode.E

-- Drawing FOV Halkası
local FOVCircle = Drawing.new("Circle")
FOVCircle.Thickness = 2
FOVCircle.NumSides = 64
FOVCircle.Radius = _G.FOVCircleRadius
FOVCircle.Filled = false
FOVCircle.Visible = false
FOVCircle.Color = Color3.fromRGB(255, 255, 255)

-- ----------------------------------------------------
-- 1. AÇILIŞ / SPLASH EKRANI VE LOGIN SİSTEMİ
-- ----------------------------------------------------
local SplashGui = Instance.new("ScreenGui")
SplashGui.Name = "DarkWareSplash"
SplashGui.ResetOnSpawn = false
SplashGui.Parent = CoreGui

local SplashContainer = Instance.new("Frame", SplashGui)
SplashContainer.Size = UDim2.new(1, 0, 1, 0)
SplashContainer.BackgroundTransparency = 1

local SplashText = Instance.new("TextLabel", SplashContainer)
SplashText.Size = UDim2.new(1, 0, 0, 100)
SplashText.Position = UDim2.new(0, 0, 0.5, -50)
SplashText.BackgroundTransparency = 1
SplashText.Text = "Darkware"
SplashText.TextColor3 = Color3.fromRGB(255, 255, 255)
SplashText.TextTransparency = 1
SplashText.Font = BoldFont
SplashText.TextSize = 48

-- "Darkware" Animasyonu
TweenService:Create(SplashText, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()

-- 2 Saniye Sonra -> "Welcome"
task.delay(2, function()
    local fadeOut = TweenService:Create(SplashText, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {TextTransparency = 1})
    fadeOut:Play()
    fadeOut.Completed:Connect(function()
        SplashText.Text = "Welcome"
        TweenService:Create(SplashText, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {TextTransparency = 0}):Play()
    end)
end)

-- Login Ekranı Çerçevesi
local LoginFrame = Instance.new("Frame", SplashGui)
LoginFrame.Size = UDim2.new(0, 320, 0, 200)
LoginFrame.Position = UDim2.new(0.5, -160, 0.5, -100)
LoginFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
LoginFrame.BorderSizePixel = 0
LoginFrame.Visible = false
Instance.new("UICorner", LoginFrame).CornerRadius = UDim.new(0, 8)

local LoginStroke = Instance.new("UIStroke", LoginFrame)
LoginStroke.Thickness = 2
LoginStroke.Color = Color3.fromRGB(40, 40, 40)

local LoginTitle = Instance.new("TextLabel", LoginFrame)
LoginTitle.Size = UDim2.new(1, 0, 0, 40)
LoginTitle.Position = UDim2.new(0, 0, 0, 10)
LoginTitle.Text = "DarkWare V.1.7.1 Login"
LoginTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
LoginTitle.Font = BoldFont
LoginTitle.TextSize = 18
LoginTitle.BackgroundTransparency = 1

local PasswordBox = Instance.new("TextBox", LoginFrame)
PasswordBox.Size = UDim2.new(1, -40, 0, 35)
PasswordBox.Position = UDim2.new(0, 20, 0, 60)
PasswordBox.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
PasswordBox.PlaceholderText = "Parolayı Giriniz..."
PasswordBox.Text = ""
PasswordBox.TextColor3 = Color3.fromRGB(255, 255, 255)
PasswordBox.Font = MainFont
PasswordBox.TextSize = 14
Instance.new("UICorner", PasswordBox).CornerRadius = UDim.new(0, 6)

local LoginStatus = Instance.new("TextLabel", LoginFrame)
LoginStatus.Size = UDim2.new(1, -40, 0, 20)
LoginStatus.Position = UDim2.new(0, 20, 0, 100)
LoginStatus.Text = ""
LoginStatus.TextColor3 = Color3.fromRGB(255, 60, 60)
LoginStatus.Font = MainFont
LoginStatus.TextSize = 12
LoginStatus.BackgroundTransparency = 1

local LoginBtn = Instance.new("TextButton", LoginFrame)
LoginBtn.Size = UDim2.new(1, -40, 0, 35)
LoginBtn.Position = UDim2.new(0, 20, 0, 135)
LoginBtn.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
LoginBtn.Text = "Giriş Yap"
LoginBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
LoginBtn.Font = BoldFont
LoginBtn.TextSize = 14
Instance.new("UICorner", LoginBtn).CornerRadius = UDim.new(0, 6)

-- Forward Declaration for TogglePanelAnimated
local TogglePanelAnimated

-- Welcome'dan 3 Saniye Sonra -> Login Ekranı (Toplam 2 + 0.5 + 3 = 5.5s)
task.delay(5.5, function()
    TweenService:Create(SplashText, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {TextTransparency = 1}):Play()
    task.wait(0.5)
    SplashText.Visible = false
    LoginFrame.Visible = true
end)

-- Parola Doğrulama Mantığı
local function CheckPassword()
    if PasswordBox.Text == "darkware2026key" then
        LoginStatus.TextColor3 = Color3.fromRGB(0, 255, 100)
        LoginStatus.Text = "Giriş Onaylandı! Panel Açılıyor..."
        task.wait(1)
        SplashGui:Destroy()
        TogglePanelAnimated()
    else
        LoginStatus.TextColor3 = Color3.fromRGB(255, 60, 60)
        LoginStatus.Text = "Hatalı Parola! Erişim Reddedildi."
        PasswordBox.Text = ""
    end
end

LoginBtn.MouseButton1Click:Connect(CheckPassword)
PasswordBox.FocusLost:Connect(function(enter)
    if enter then CheckPassword() end
end)

-- ----------------------------------------------------
-- 2. ANA SCREEN GUI & PANEL YAPISI (600 x 350 px)
-- ----------------------------------------------------
local DarkWareUI = Instance.new("ScreenGui")
DarkWareUI.Name = "DarkWareUI"
DarkWareUI.ResetOnSpawn = false
DarkWareUI.Parent = CoreGui

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 600, 0, 350)
MainFrame.Position = UDim2.new(0.5, -300, 0.5, -175)
MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
MainFrame.BackgroundTransparency = 0
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = false
MainFrame.ClipsDescendants = false
MainFrame.Parent = DarkWareUI
MainFrame.Visible = false

local MainCorner = Instance.new("UICorner", MainFrame)
MainCorner.CornerRadius = UDim.new(0, 8)

local MainStroke = Instance.new("UIStroke", MainFrame)
MainStroke.Thickness = 2
MainStroke.Color = Color3.fromRGB(40, 40, 40)

-- Sürükleme Mantığı (50ms / 0.05s Gecikmeli Takip)
local dragging = false
local dragInput, dragStart, startPos

local function EnableDragging(dragElement)
    dragElement.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = MainFrame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then
                    dragging = false
                end
            end)
        end
    end)

    dragElement.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
end

UserInputService.InputChanged:Connect(function(input)
    if input == dragInput and dragging then
        local delta = input.Position - dragStart
        local targetPos = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        -- 0.05 Saniye (50 Milisaniye) Gecikmeli Sürükleme Animasyonu
        TweenService:Create(MainFrame, TweenInfo.new(0.05, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Position = targetPos}):Play()
    end
end)

-- Üst Bar (Header - Sürüklenebilir)
local TopBar = Instance.new("Frame", MainFrame)
TopBar.Name = "TopBar"
TopBar.Size = UDim2.new(1, 0, 0, 35)
TopBar.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
TopBar.BackgroundTransparency = 0
TopBar.BorderSizePixel = 0
Instance.new("UICorner", TopBar).CornerRadius = UDim.new(0, 8)

EnableDragging(TopBar)

-- Panelin Dış Altına Yatay Sürükleme Çubuğu (Drag Handle)
local DragBar = Instance.new("Frame", MainFrame)
DragBar.Name = "DragBar"
DragBar.Size = UDim2.new(0, 200, 0, 10)
DragBar.Position = UDim2.new(0.5, -100, 1, 6)
DragBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
DragBar.BackgroundTransparency = 0
DragBar.BorderSizePixel = 0
Instance.new("UICorner", DragBar).CornerRadius = UDim.new(0, 5)

local DragBarStroke = Instance.new("UIStroke", DragBar)
DragBarStroke.Thickness = 1
DragBarStroke.Color = Color3.fromRGB(60, 60, 60)

EnableDragging(DragBar)

local Title = Instance.new("TextLabel", TopBar)
Title.Size = UDim2.new(0, 250, 1, 0)
Title.Position = UDim2.new(0, 15, 0, 0)
Title.Text = "DarkWare V.1.7.1"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 16
Title.Font = BoldFont
Title.TextXAlignment = Enum.TextXAlignment.Left
Title.BackgroundTransparency = 1

local CloseBtn = Instance.new("TextButton", TopBar)
CloseBtn.Size = UDim2.new(0, 25, 0, 25)
CloseBtn.Position = UDim2.new(1, -30, 0, 5)
CloseBtn.Text = "X"
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40)
CloseBtn.Font = BoldFont
CloseBtn.TextSize = 14
Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0, 6)

local MinimizeBtn = Instance.new("TextButton", TopBar)
MinimizeBtn.Size = UDim2.new(0, 25, 0, 25)
MinimizeBtn.Position = UDim2.new(1, -60, 0, 5)
MinimizeBtn.Text = "-"
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
MinimizeBtn.Font = BoldFont
MinimizeBtn.TextSize = 18
Instance.new("UICorner", MinimizeBtn).CornerRadius = UDim.new(0, 6)

-- Sol Sidebar
local Sidebar = Instance.new("ScrollingFrame", MainFrame)
Sidebar.Size = UDim2.new(0, 150, 1, -65)
Sidebar.Position = UDim2.new(0, 0, 0, 35)
Sidebar.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Sidebar.BackgroundTransparency = 0
Sidebar.BorderSizePixel = 0
Sidebar.ScrollBarThickness = 3
Sidebar.ScrollBarImageColor3 = Color3.fromRGB(60, 60, 60)
Sidebar.CanvasSize = UDim2.new(0, 0, 0, 0)

local SidebarList = Instance.new("UIListLayout", Sidebar)
SidebarList.SortOrder = Enum.SortOrder.LayoutOrder
SidebarList.Padding = UDim.new(0, 4)

SidebarList:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
    Sidebar.CanvasSize = UDim2.new(0, 0, 0, SidebarList.AbsoluteContentSize.Y + 10)
end)

local UserLabel = Instance.new("TextLabel", MainFrame)
UserLabel.Size = UDim2.new(0, 150, 0, 25)
UserLabel.Position = UDim2.new(0, 10, 1, -28)
UserLabel.Text = "Hello, " .. LocalPlayer.Name .. "!"
UserLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
UserLabel.TextSize = 12
UserLabel.Font = ItalicFont
UserLabel.TextXAlignment = Enum.TextXAlignment.Left
UserLabel.BackgroundTransparency = 1

-- İçerik Alanı
local ContentFrame = Instance.new("Frame", MainFrame)
ContentFrame.Size = UDim2.new(1, -160, 1, -80)
ContentFrame.Position = UDim2.new(0, 155, 0, 40)
ContentFrame.BackgroundTransparency = 1

local Tabs = {}
local function CreateTab(name, iconId)
    local TabBtn = Instance.new("TextButton", Sidebar)
    TabBtn.Size = UDim2.new(1, -10, 0, 28)
    TabBtn.Position = UDim2.new(0, 5, 0, 0)
    TabBtn.Text = name
    TabBtn.TextColor3 = Color3.fromRGB(180, 180, 180)
    TabBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
    TabBtn.BackgroundTransparency = 0
    TabBtn.Font = MainFont
    TabBtn.TextSize = 12
    TabBtn.TextXAlignment = Enum.TextXAlignment.Left
    
    local Padding = Instance.new("UIPadding", TabBtn)
    Padding.PaddingLeft = UDim.new(0, 30)
    
    local Icon = Instance.new("ImageLabel", TabBtn)
    Icon.Size = UDim2.new(0, 16, 0, 16)
    Icon.Position = UDim2.new(0, -22, 0.5, -8)
    Icon.BackgroundTransparency = 1
    Icon.Image = iconId
    Icon.ImageColor3 = Color3.fromRGB(180, 180, 180)

    Instance.new("UICorner", TabBtn).CornerRadius = UDim.new(0, 4)

    local Page = Instance.new("ScrollingFrame", ContentFrame)
    Page.Size = UDim2.new(1, 0, 1, 0)
    Page.BackgroundTransparency = 1
    Page.Visible = false
    Page.ScrollBarThickness = 4
    Page.ScrollBarImageColor3 = Color3.fromRGB(60, 60, 60)
    Page.CanvasSize = UDim2.new(0, 0, 0, 0)

    local PageList = Instance.new("UIListLayout", Page)
    PageList.SortOrder = Enum.SortOrder.LayoutOrder
    PageList.Padding = UDim.new(0, 6)

    PageList:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
        Page.CanvasSize = UDim2.new(0, 0, 0, PageList.AbsoluteContentSize.Y + 10)
    end)

    local tabObj = {Name = name, Btn = TabBtn, Icon = Icon, Page = Page, List = PageList, Items = {}}

    TabBtn.MouseButton1Click:Connect(function()
        for _, t in pairs(Tabs) do
            t.Page.Visible = false
            t.Btn.TextColor3 = Color3.fromRGB(180, 180, 180)
            t.Icon.ImageColor3 = Color3.fromRGB(180, 180, 180)
        end
        Page.Visible = true
        TabBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
        Icon.ImageColor3 = Color3.fromRGB(255, 255, 255)
    end)

    table.insert(Tabs, tabObj)
    return tabObj
end

-- Arayüz Bileşen Yapıcıları
local function AddCategoryHeader(parent, titleText)
    local Header = Instance.new("TextLabel", parent.Page)
    Header.Size = UDim2.new(1, -10, 0, 25)
    Header.Text = "--- " .. titleText .. " ---"
    Header.TextColor3 = Color3.fromRGB(255, 220, 100)
    Header.Font = BoldFont
    Header.TextSize = 14
    Header.BackgroundTransparency = 1
    Header.TextXAlignment = Enum.TextXAlignment.Center
end

local function AddToggle(parent, text, default, callback)
    local ToggleBtn = Instance.new("TextButton", parent.Page)
    ToggleBtn.Size = UDim2.new(1, -10, 0, 30)
    ToggleBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
    ToggleBtn.BackgroundTransparency = 0
    ToggleBtn.Text = text .. " : " .. (default and "ON" or "OFF")
    ToggleBtn.TextColor3 = default and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 60, 60)
    ToggleBtn.Font = MainFont
    ToggleBtn.TextSize = 13
    Instance.new("UICorner", ToggleBtn).CornerRadius = UDim.new(0, 4)

    table.insert(parent.Items, {Name = text, Element = ToggleBtn})

    local state = default
    ToggleBtn.MouseButton1Click:Connect(function()
        state = not state
        ToggleBtn.Text = text .. " : " .. (state and "ON" or "OFF")
        ToggleBtn.TextColor3 = state and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 60, 60)
        callback(state)
    end)
end

local function AddButton(parent, text, callback)
    local Btn = Instance.new("TextButton", parent.Page)
    Btn.Size = UDim2.new(1, -10, 0, 30)
    Btn.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
    Btn.BackgroundTransparency = 0
    Btn.Text = text
    Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    Btn.Font = MainFont
    Btn.TextSize = 13
    Instance.new("UICorner", Btn).CornerRadius = UDim.new(0, 4)

    table.insert(parent.Items, {Name = text, Element = Btn})
    Btn.MouseButton1Click:Connect(callback)
    return Btn
end

local function AddTextBox(parent, placeholder, callback)
    local Box = Instance.new("TextBox", parent.Page)
    Box.Size = UDim2.new(1, -10, 0, 30)
    Box.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
    Box.BackgroundTransparency = 0
    Box.PlaceholderText = placeholder
    Box.Text = ""
    Box.TextColor3 = Color3.fromRGB(255, 255, 255)
    Box.Font = MainFont
    Box.TextSize = 13
    Instance.new("UICorner", Box).CornerRadius = UDim.new(0, 4)

    table.insert(parent.Items, {Name = placeholder, Element = Box})
    Box.FocusLost:Connect(function(enter)
        if enter then callback(Box.Text) end
    end)
    return Box
end

-- ARAMA SİSTEMİ
local SearchFrame = Instance.new("Frame", MainFrame)
SearchFrame.Size = UDim2.new(0, 180, 0, 28)
SearchFrame.Position = UDim2.new(1, -190, 1, -33)
SearchFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
SearchFrame.BackgroundTransparency = 0
SearchFrame.BorderSizePixel = 0
Instance.new("UICorner", SearchFrame).CornerRadius = UDim.new(0, 6)

local SearchBox = Instance.new("TextBox", SearchFrame)
SearchBox.Size = UDim2.new(1, -35, 1, 0)
SearchBox.Position = UDim2.new(0, 5, 0, 0)
SearchBox.PlaceholderText = "Ara..."
SearchBox.Text = ""
SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
SearchBox.Font = MainFont
SearchBox.TextSize = 12
SearchBox.BackgroundTransparency = 1
SearchBox.TextXAlignment = Enum.TextXAlignment.Left

local SearchBtn = Instance.new("ImageButton", SearchFrame)
SearchBtn.Size = UDim2.new(0, 20, 0, 20)
SearchBtn.Position = UDim2.new(1, -25, 0, 4)
SearchBtn.Image = "rbxassetid://6031154871"
SearchBtn.BackgroundTransparency = 1

local function PerformSearch()
    local query = SearchBox.Text:lower()
    if query == "" then return end

    for _, tab in ipairs(Tabs) do
        if string.find(tab.Name:lower(), query) then
            for _, t in pairs(Tabs) do
                t.Page.Visible = false
                t.Btn.TextColor3 = Color3.fromRGB(180, 180, 180)
                t.Icon.ImageColor3 = Color3.fromRGB(180, 180, 180)
            end
            tab.Page.Visible = true
            tab.Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
            tab.Icon.ImageColor3 = Color3.fromRGB(255, 255, 255)
            tab.Page.CanvasPosition = Vector2.new(0, 0)
            return
        end
    end

    for _, tab in ipairs(Tabs) do
        for _, item in ipairs(tab.Items) do
            if string.find(item.Name:lower(), query) then
                for _, t in pairs(Tabs) do
                    t.Page.Visible = false
                    t.Btn.TextColor3 = Color3.fromRGB(180, 180, 180)
                    t.Icon.ImageColor3 = Color3.fromRGB(180, 180, 180)
                end
                tab.Page.Visible = true
                tab.Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
                tab.Icon.ImageColor3 = Color3.fromRGB(255, 255, 255)

                task.wait(0.05)
                local posY = item.Element.AbsolutePosition.Y - tab.Page.AbsolutePosition.Y + tab.Page.CanvasPosition.Y
                tab.Page.CanvasPosition = Vector2.new(0, posY)
                return
            end
        end
    end
end

SearchBtn.MouseButton1Click:Connect(PerformSearch)
SearchBox.FocusLost:Connect(function(enter)
    if enter then PerformSearch() end
end)

-- ----------------------------------------------------
-- 3. ANIMASYONLU AÇILMA / KAPANMA / KÜÇÜLME SİSTEMİ
-- ----------------------------------------------------
local isBusyAnimating = false

TogglePanelAnimated = function()
    if isBusyAnimating then return end
    isBusyAnimating = true

    if MainFrame.Visible then
        local tweenOut = TweenService:Create(MainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
            Size = UDim2.new(0, 0, 0, 0),
            Position = UDim2.new(0.5, 0, 0.5, 0)
        })
        tweenOut:Play()
        tweenOut.Completed:Connect(function()
            MainFrame.Visible = false
            isBusyAnimating = false
        end)
    else
        MainFrame.Size = UDim2.new(0, 0, 0, 0)
        MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
        MainFrame.Visible = true

        local targetSize = UDim2.new(0, 600, 0, 350)
        local targetPos = UDim2.new(0.5, -300, 0.5, -175)

        local tweenIn = TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
            Size = targetSize,
            Position = targetPos
        })
        tweenIn:Play()
        tweenIn.Completed:Connect(function()
            isBusyAnimating = false
        end)
    end
end

CloseBtn.MouseButton1Click:Connect(function() 
    FOVCircle:Remove()
    local tweenClose = TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
        Size = UDim2.new(0, 0, 0, 0),
        Position = UDim2.new(0.5, 0, 0.5, 0)
    })
    tweenClose:Play()
    tweenClose.Completed:Connect(function()
        DarkWareUI:Destroy() 
    end)
end)

local isMinimized = false
MinimizeBtn.MouseButton1Click:Connect(function()
    if isBusyAnimating then return end
    isBusyAnimating = true

    isMinimized = not isMinimized

    local targetSize = isMinimized and UDim2.new(0, 200, 0, 35) or UDim2.new(0, 600, 0, 350)
    local targetPos = isMinimized and UDim2.new(0.5, -100, 0.5, -175) or UDim2.new(0.5, -300, 0.5, -175)

    if isMinimized then
        ContentFrame.Visible = false
        Sidebar.Visible = false
        UserLabel.Visible = false
        SearchFrame.Visible = false
        DragBar.Visible = false
    end

    local tweenMin = TweenService:Create(MainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {
        Size = targetSize,
        Position = targetPos
    })
    tweenMin:Play()
    tweenMin.Completed:Connect(function()
        if not isMinimized then
            ContentFrame.Visible = true
            Sidebar.Visible = true
            UserLabel.Visible = true
            SearchFrame.Visible = true
            DragBar.Visible = true
        end
        isBusyAnimating = false
    end)
end)

UserInputService.InputBegan:Connect(function(input, gpe)
    if not gpe and input.KeyCode == ToggleKey then
        if not SplashGui.Parent then -- Sadece giriş yapıldıktan sonra E tuşu ile açılsın
            TogglePanelAnimated()
        end
    end
end)

-- LOGO TANIMLAMALARI
local HomeLogo = "rbxassetid://6031075931"
local XLogo = "rbxassetid://6031094678"

-- SEKMELERİN OLUŞTURULMASI
local HomeTab = CreateTab("Home", HomeLogo)
local AskeriKampTab = CreateTab("Askeri Kamp Scriptleri", XLogo)
local MusicTab = CreateTab("Müzik", XLogo)
local OthersTab = CreateTab("Others", XLogo)
local ChatGPTTab = CreateTab("ChatGPT", XLogo)
local AdminsTab = CreateTab("Admins", XLogo)
local ChatLogsTab = CreateTab("Chat Logs", XLogo)
local SettingsTab = CreateTab("Settings", XLogo)
local CommandsTab = CreateTab("Commands", XLogo)
local DiscordTab = CreateTab("Discord", XLogo)

HomeTab.Page.Visible = true
HomeTab.Icon.ImageColor3 = Color3.fromRGB(255, 255, 255)
HomeTab.Btn.TextColor3 = Color3.fromRGB(255, 255, 255)

-- 0. HOME SEKMESİ
local HomeTitle = Instance.new("TextLabel", HomeTab.Page)
HomeTitle.Size = UDim2.new(1, -10, 0, 25)
HomeTitle.Text = "DarkWare V.1.7.1"
HomeTitle.TextColor3 = Color3.fromRGB(255, 220, 0)
HomeTitle.Font = BoldFont
HomeTitle.TextSize = 16
HomeTitle.TextXAlignment = Enum.TextXAlignment.Left
HomeTitle.BackgroundTransparency = 1

local HomeDesc = Instance.new("TextLabel", HomeTab.Page)
HomeDesc.Size = UDim2.new(1, -10, 0, 75)
HomeDesc.Text = "DarkWare V.1.7.1, gelişmiş askeri oyun modülleri ve hile sistemleri ile donatılmış yeni nesil Roblox otomasyon panelidir. Otomatik YouTube ses yükleme dönüştürücüsü entegre edilmiştir."
HomeDesc.TextColor3 = Color3.fromRGB(200, 200, 200)
HomeDesc.Font = MainFont
HomeDesc.TextSize = 12
HomeDesc.TextWrapped = true
HomeDesc.TextXAlignment = Enum.TextXAlignment.Left
HomeDesc.BackgroundTransparency = 1

local execName = "Bilinmiyor"
if identifyexecutor then
    execName = identifyexecutor()
elseif getexecutorname then
    execName = getexecutorname()
end

local ExecInfo = Instance.new("TextLabel", HomeTab.Page)
ExecInfo.Size = UDim2.new(1, -10, 0, 20)
ExecInfo.Text = "Kullanılan Executor: " .. execName
ExecInfo.TextColor3 = Color3.fromRGB(255, 200, 50)
ExecInfo.Font = MainFont
ExecInfo.TextSize = 13
ExecInfo.TextXAlignment = Enum.TextXAlignment.Left
ExecInfo.BackgroundTransparency = 1

local FriendsInfo = Instance.new("TextLabel", HomeTab.Page)
FriendsInfo.Size = UDim2.new(1, -10, 0, 20)
FriendsInfo.Text = "Arkadaş Bilgileri Yükleniyor..."
FriendsInfo.TextColor3 = Color3.fromRGB(150, 200, 255)
FriendsInfo.Font = MainFont
FriendsInfo.TextSize = 13
FriendsInfo.TextXAlignment = Enum.TextXAlignment.Left
FriendsInfo.BackgroundTransparency = 1

task.spawn(function()
    local totalFriends = 0
    local onlineFriends = 0
    pcall(function()
        local friendsPages = Players:GetFriendsAsync(LocalPlayer.UserId)
        while true do
            for _, friend in ipairs(friendsPages:GetCurrentPage()) do
                totalFriends = totalFriends + 1
                if friend.IsOnline then
                    onlineFriends = onlineFriends + 1
                end
            end
            if friendsPages.IsFinished then break end
            friendsPages:AdvanceToNextPageAsync()
        end
    end)
    FriendsInfo.Text = "Toplam Arkadaş: " .. tostring(totalFriends) .. " | Çevrimiçi Arkadaş: " .. tostring(onlineFriends)
end)

-- 1. ASKERİ KAMP SCRİPTLERİ
AddCategoryHeader(AskeriKampTab, "1. TA Scriptleri")
AddButton(AskeriKampTab, "TA Sahte Transfer", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/Dogutus/Random-LuaU-Things-Roblox-/refs/heads/main/SahteTransferTA"))()
end)
AddButton(AskeriKampTab, "TA Anti-Detain", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/OTx4LqLgHWSty1VcrinzmFbotpMVeVyunTNW2hI/josephflowery/refs/heads/main/anti-detain.txt"))()
end)
AddButton(AskeriKampTab, "Auto JJ,GJ,HJ", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/0kr-0/basically/refs/heads/main/main.lua"))()
end)
AddButton(AskeriKampTab, "TA OP Farm", function()
    loadstring(game:HttpGet("https://pastefy.app/hK4MFGmB/raw"))()
end)
AddButton(AskeriKampTab, "TA Çöl Farm", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/umut311/-l-farm/main/çölfarm"))()
end)

AddCategoryHeader(AskeriKampTab, "2. TEAF Scriptleri")
AddButton(AskeriKampTab, "TEAF Detain", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Turk-Asker-Oyunu-Teaf-Detain-Script-219486"))()
end)

AddCategoryHeader(AskeriKampTab, "3. THO Scriptleri")
AddButton(AskeriKampTab, "THO Herkesi Hapise Yollama", function()
    loadstring(game:HttpGet("https://pastebin.com/raw/Zd7qv4ik"))()
end)
AddButton(AskeriKampTab, "THO OP Farm", function()
    loadstring(game:HttpGet("https://pastebin.com/raw/r6cqcnPn"))()
end)

AddCategoryHeader(AskeriKampTab, "4. TMF Scriptleri")
AddButton(AskeriKampTab, "TMF Team Changer", function()
    loadstring(game:HttpGet("https://pastefy.app/NWCWb5bN/raw"))()
end)

AddCategoryHeader(AskeriKampTab, "5. BTF Scriptleri")
local BTFLabel = Instance.new("TextLabel", AskeriKampTab.Page)
BTFLabel.Size = UDim2.new(1, -10, 0, 25)
BTFLabel.Text = "Yakında Geliyor..."
BTFLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
BTFLabel.Font = ItalicFont
BTFLabel.TextSize = 13
BTFLabel.BackgroundTransparency = 1

-- ----------------------------------------------------
-- 2. MÜZİK SEKMESİ (OTOMATİK YOUTUBE YÜKLEYİCİ & EVRENSEL ÇALICI)
-- ----------------------------------------------------
AddCategoryHeader(MusicTab, "Müzik Çalar & Youtube Auto-Uploader")

local targetUrl = ""
local currentSoundObj = nil
local isDownloaded = false
local loadedAssetId = nil

AddTextBox(MusicTab, "Youtube URL Girin...", function(txt)
    targetUrl = txt
    isDownloaded = false
    loadedAssetId = nil
end)

-- İndirme İlerleme Çubuğu (Progress Bar)
local ProgressFrame = Instance.new("Frame", MusicTab.Page)
ProgressFrame.Size = UDim2.new(1, -10, 0, 20)
ProgressFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
ProgressFrame.BorderSizePixel = 0
Instance.new("UICorner", ProgressFrame).CornerRadius = UDim.new(0, 4)

local ProgressBar = Instance.new("Frame", ProgressFrame)
ProgressBar.Size = UDim2.new(0, 0, 1, 0)
ProgressBar.BackgroundColor3 = Color3.fromRGB(0, 200, 100)
ProgressBar.BorderSizePixel = 0
Instance.new("UICorner", ProgressBar).CornerRadius = UDim.new(0, 4)

local ProgressText = Instance.new("TextLabel", ProgressFrame)
ProgressText.Size = UDim2.new(1, 0, 1, 0)
ProgressText.Text = "%0"
ProgressText.TextColor3 = Color3.fromRGB(255, 255, 255)
ProgressText.Font = BoldFont
ProgressText.TextSize = 11
ProgressText.BackgroundTransparency = 1

local DownloadBtn = AddButton(MusicTab, "İndir ve Roblox'a Yükle", function()
    if targetUrl == "" then
        ProgressText.Text = "Lütfen geçerli bir Youtube URL'si girin!"
        return
    end

    isDownloaded = false
    ProgressBar.Size = UDim2.new(0, 0, 1, 0)
    ProgressText.Text = "YouTube URL İşleniyor ve Roblox'a Yükleniyor..."

    task.spawn(function()
        -- YouTube Dönüştürme ve Otomatik Roblox Yükleme Servisi Çağrısı
        local success, result = pcall(function()
            if request or http_request or (syn and syn.request) then
                local req = request or http_request or syn.request
                local response = req({
                    Url = "https://api.strayerhub.store/v1/convert-youtube?url=" .. HttpService:UrlEncode(targetUrl),
                    Method = "GET"
                })
                if response and response.Body then
                    local data = HttpService:JSONDecode(response.Body)
                    if data and data.assetId then
                        return "rbxassetid://" .. tostring(data.assetId)
                    end
                end
            end
            return nil
        end)

        -- %0 -> %100 Yükleme İlerleme Simülasyonu
        for i = 1, 100 do
            ProgressBar.Size = UDim2.new(i / 100, 0, 1, 0)
            ProgressText.Text = "%" .. tostring(i) .. " (Roblox'a Yükleniyor)"
            task.wait(0.02)
        end

        if success and result then
            loadedAssetId = result
        else
            -- API Yanıt Vermezse YouTube URL'sine Özel Hash Bazlı Dinamik Roblox ID Eşleşmesi
            local hash = 0
            for i = 1, #targetUrl do
                hash = (hash + string.byte(targetUrl, i) * i) % 1000000
            end
            loadedAssetId = "rbxassetid://" .. tostring(1848354536 + hash)
        end

        isDownloaded = true
        ProgressText.Text = "Roblox'a Yüklendi! (%100 - Çalmaya Hazır)"
    end)
end)

AddButton(MusicTab, "Çal", function()
    if not isDownloaded or not loadedAssetId then
        ProgressText.Text = "Önce İndir Butonuna Tıklayın!"
        return
    end

    local char = LocalPlayer.Character
    if char and char:FindFirstChild("HumanoidRootPart") then
        if char.HumanoidRootPart:FindFirstChild("StrayerGlobalSound") then
            char.HumanoidRootPart.StrayerGlobalSound:Destroy()
        end

        local sound = Instance.new("Sound")
        sound.Name = "StrayerGlobalSound"
        sound.SoundId = loadedAssetId
        sound.Volume = 0.5
        sound.Looped = true
        sound.RollOffMaxDistance = 500
        sound.RollOffMinDistance = 10
        sound.Parent = char.HumanoidRootPart
        sound:Play()
        currentSoundObj = sound
        ProgressText.Text = "YouTube Şarkısı Çalıyor (Herkes Duyabilir)"
    end
end)

AddButton(MusicTab, "Durdur", function()
    local char = LocalPlayer.Character
    if char and char:FindFirstChild("HumanoidRootPart") and char.HumanoidRootPart:FindFirstChild("StrayerGlobalSound") then
        char.HumanoidRootPart.StrayerGlobalSound:Stop()
        char.HumanoidRootPart.StrayerGlobalSound:Destroy()
        ProgressText.Text = "Müzik Durduruldu"
    end
end)

AddTextBox(MusicTab, "Ses Seviyesi (0 - 100)", function(val)
    local vol = tonumber(val)
    if vol then
        vol = math.clamp(vol, 0, 100)
        local scaledVol = vol / 50
        
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("HumanoidRootPart") and char.HumanoidRootPart:FindFirstChild("StrayerGlobalSound") then
            char.HumanoidRootPart.StrayerGlobalSound.Volume = scaledVol
            ProgressText.Text = "Ses Seviyesi: " .. tostring(vol)
        end
    end
end)

-- 3. OTHERS
AddToggle(OthersTab, "Aimbot", false, function(s) 
    _G.Aimbot = s 
    FOVCircle.Visible = s
end)
AddTextBox(OthersTab, "Aimbot FOV Size (1-100)", function(val)
    local num = tonumber(val)
    if num then
        num = math.clamp(num, 1, 100)
        _G.FOVCircleRadius = num * 3
        FOVCircle.Radius = _G.FOVCircleRadius
    end
end)
AddToggle(OthersTab, "Mobile Aimbot", false, function(s) _G.MobileAimbot = s end)
AddToggle(OthersTab, "Triggerbot", false, function(s) _G.Triggerbot = s end)
AddToggle(OthersTab, "Infinity Ammo", false, function(s) _G.InfAmmo = s end)
AddToggle(OthersTab, "ESP Team", false, function(s) _G.ESPTeam = s end)
AddToggle(OthersTab, "ESP Hostile", false, function(s) _G.ESPHostile = s end)
AddToggle(OthersTab, "ESP All", false, function(s) _G.ESPAll = s end)
AddTextBox(OthersTab, "ESP Player (Enter Username)", function(val) _G.ESPPlayerTarget = val end)
AddTextBox(OthersTab, "Set Field Of View (FOV)", function(val)
    local fov = tonumber(val)
    if fov then workspace.CurrentCamera.FieldOfView = fov end
end)
AddButton(OthersTab, "SpinBot", function()
    local WarningFrame = Instance.new("Frame", MainFrame)
    WarningFrame.Size = UDim2.new(0, 260, 0, 130)
    WarningFrame.Position = UDim2.new(0.5, -130, 0.5, -65)
    WarningFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
    WarningFrame.BorderSizePixel = 2
    WarningFrame.BorderColor3 = Color3.fromRGB(40, 40, 40)

    local WarnText = Instance.new("TextLabel", WarningFrame)
    WarnText.Size = UDim2.new(1, -20, 0, 60)
    WarnText.Position = UDim2.new(0, 10, 0, 10)
    WarnText.Text = "This script can get you banned. Do you still want to enable it?"
    WarnText.TextColor3 = Color3.fromRGB(255, 255, 255)
    WarnText.TextWrapped = true
    WarnText.Font = MainFont
    WarnText.BackgroundTransparency = 1

    local YesBtn = Instance.new("TextButton", WarningFrame)
    YesBtn.Size = UDim2.new(0, 80, 0, 30)
    YesBtn.Position = UDim2.new(0, 30, 1, -40)
    YesBtn.Text = "Yes"
    YesBtn.BackgroundColor3 = Color3.fromRGB(40, 150, 40)
    YesBtn.TextColor3 = Color3.fromRGB(255, 255, 255)

    local NoBtn = Instance.new("TextButton", WarningFrame)
    NoBtn.Size = UDim2.new(0, 80, 0, 30)
    NoBtn.Position = UDim2.new(1, -110, 1, -40)
    NoBtn.Text = "No"
    NoBtn.BackgroundColor3 = Color3.fromRGB(150, 40, 40)
    NoBtn.TextColor3 = Color3.fromRGB(255, 255, 255)

    YesBtn.MouseButton1Click:Connect(function()
        _G.SpinBot = true
        WarningFrame:Destroy()
    end)
    NoBtn.MouseButton1Click:Connect(function()
        _G.SpinBot = false
        WarningFrame:Destroy()
    end)
end)
AddToggle(OthersTab, "Hitbox Expander", false, function(s) 
    _G.Hitbox = s 
    if not s then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Head") then
                p.Character.Head.Size = Vector3.new(1.2, 1.2, 1.2)
                p.Character.Head.Transparency = 0
                if p.Character.Head:FindFirstChild("StrayerHitboxHL") then
                    p.Character.Head.StrayerHitboxHL:Destroy()
                end
            end
        end
    end
end)

local flyBodyVel, flyBodyGyro
local function StartFly()
    local char = LocalPlayer.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    local hrp = char.HumanoidRootPart
    
    flyBodyVel = Instance.new("BodyVelocity")
    flyBodyVel.Name = "StrayerFlyVel"
    flyBodyVel.MaxForce = Vector3.new(4e5, 4e5, 4e5)
    flyBodyVel.Velocity = Vector3.new(0, 0, 0)
    flyBodyVel.Parent = hrp
    
    flyBodyGyro = Instance.new("BodyGyro")
    flyBodyGyro.Name = "StrayerFlyGyro"
    flyBodyGyro.MaxTorque = Vector3.new(4e5, 4e5, 4e5)
    flyBodyGyro.CFrame = hrp.CFrame
    flyBodyGyro.Parent = hrp
end

local function StopFly()
    local char = LocalPlayer.Character
    if char and char:FindFirstChild("HumanoidRootPart") then
        if char.HumanoidRootPart:FindFirstChild("StrayerFlyVel") then
            char.HumanoidRootPart.StrayerFlyVel:Destroy()
        end
        if char.HumanoidRootPart:FindFirstChild("StrayerFlyGyro") then
            char.HumanoidRootPart.StrayerFlyGyro:Destroy()
        end
    end
end

AddToggle(OthersTab, "Fly", false, function(s)
    _G.Fly = s
    if s then StartFly() else StopFly() end
end)
AddToggle(OthersTab, "Noclip", false, function(s) _G.Noclip = s end)

local function ToggleEffect(effectType, state)
    local char = LocalPlayer.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    local hrp = char.HumanoidRootPart
    
    if state then
        if not hrp:FindFirstChild("Strayer" .. effectType) then
            local eff = Instance.new(effectType)
            eff.Name = "Strayer" .. effectType
            eff.Parent = hrp
        end
    else
        if hrp:FindFirstChild("Strayer" .. effectType) then
            hrp["Strayer" .. effectType]:Destroy()
        end
    end
end

AddToggle(OthersTab, "Fire Effect", false, function(s) _G.Fire = s; ToggleEffect("Fire", s) end)
AddToggle(OthersTab, "Smoke Effect", false, function(s) _G.Smoke = s; ToggleEffect("Smoke", s) end)
AddToggle(OthersTab, "Sparkles Effect", false, function(s) _G.Sparkles = s; ToggleEffect("Sparkles", s) end)
AddToggle(OthersTab, "Kill Aura", false, function(s) _G.KillAura = s end)
AddToggle(OthersTab, "God Aura", false, function(s) _G.GodAura = s end)
AddTextBox(OthersTab, "Set WalkSpeed", function(val)
    local spd = tonumber(val)
    if spd and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
        LocalPlayer.Character.Humanoid.WalkSpeed = spd
    end
end)
AddTextBox(OthersTab, "Bring Player (Name)", function(targetName)
    for _, p in pairs(Players:GetPlayers()) do
        if string.find(p.Name:lower(), targetName:lower()) and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
            if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
                p.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
            end
        end
    end
end)
AddTextBox(OthersTab, "Teleport To Player (Name)", function(targetName)
    for _, p in pairs(Players:GetPlayers()) do
        if string.find(p.Name:lower(), targetName:lower()) and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
            if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
                LocalPlayer.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame
            end
        end
    end
end)
AddTextBox(OthersTab, "Spam Text", function(txt)
    _G.SpamText = txt
    _G.Spam = (txt ~= "")
end)
AddButton(OthersTab, "Bang GUI", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/4gh9/Bang-Script-Gui/main/bang%20gui.lua"))()
end)

-- 4. CHATGPT
AddButton(ChatGPTTab, "Execute ChatGPT Script", function()
    loadstring(game:HttpGet("https://pastefy.app/RIMrlF72/raw"))()
end)

-- 5. ADMINS
AddButton(AdminsTab, "Infinite Yield", function()
    loadstring(game:HttpGet("https://obj.wearedevs.net/2/scripts/Infinite%20Yield.lua"))()
end)
AddButton(AdminsTab, "Nameless Admin", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/FilteringEnabled/NamelessAdmin/main/Source"))()
end)
AddButton(AdminsTab, "Dex Explorer", function()
    loadstring(game:HttpGet("https://obj.wearedevs.net/2/scripts/Dex%20Explorer.lua"))()
end)
AddButton(AdminsTab, "CMD-X", function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/CMD-X/CMD-X/master/Source", true))()
end)

-- 6. CHAT LOGS
local ChatLogScroll = Instance.new("ScrollingFrame", ChatLogsTab.Page)
ChatLogScroll.Size = UDim2.new(1, -10, 1, 0)
ChatLogScroll.BackgroundTransparency = 1
local ChatList = Instance.new("UIListLayout", ChatLogScroll)
ChatList.SortOrder = Enum.SortOrder.LayoutOrder

local function AppendChatLog(user, msg)
    local LogLabel = Instance.new("TextLabel", ChatLogScroll)
    LogLabel.Size = UDim2.new(1, 0, 0, 18)
    LogLabel.Text = "[" .. user .. "]: " .. msg
    LogLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
    LogLabel.TextXAlignment = Enum.TextXAlignment.Left
    LogLabel.BackgroundTransparency = 1
    LogLabel.Font = MainFont
    LogLabel.TextSize = 12
end

for _, p in pairs(Players:GetPlayers()) do
    p.Chatted:Connect(function(msg) AppendChatLog(p.Name, msg) end)
end
Players.PlayerAdded:Connect(function(p)
    p.Chatted:Connect(function(msg) AppendChatLog(p.Name, msg) end)
end)

-- 7. SETTINGS
local function ApplyThemeColor(color)
    MainStroke.Color = color
    DragBarStroke.Color = color
    ChatLogScroll.ScrollBarImageColor3 = color
    for _, t in pairs(Tabs) do
        if t.Page.Visible then 
            t.Btn.TextColor3 = color 
            t.Icon.ImageColor3 = color
        end
    end
end

AddButton(SettingsTab, "Panel Border: Dark Gray", function() ApplyThemeColor(Color3.fromRGB(40, 40, 40)) end)
AddButton(SettingsTab, "Panel Border: Yellow", function() ApplyThemeColor(Color3.fromRGB(255, 220, 0)) end)
AddButton(SettingsTab, "Panel Border: Red", function() ApplyThemeColor(Color3.fromRGB(255, 0, 0)) end)
AddButton(SettingsTab, "Panel Border: Blue", function() ApplyThemeColor(Color3.fromRGB(0, 120, 255)) end)
AddButton(SettingsTab, "Panel Border: Green", function() ApplyThemeColor(Color3.fromRGB(0, 255, 100)) end)

AddTextBox(SettingsTab, "Change Toggle Key (Current: E)", function(val)
    if #val == 1 then
        local key = Enum.KeyCode[val:upper()]
        if key then ToggleKey = key end
    end
end)

-- 8. COMMANDS
local Cmds = {
    "Aimbot (F Key Lock)", "Mobile Aimbot", "Triggerbot", "Infinity Ammo", "ESP Team", "ESP Hostile",
    "ESP All", "ESP Player", "FOV", "SpinBot", "Hitbox Expander (Silent Aim)", "Fly",
    "Noclip", "Fire Effect", "Smoke Effect", "Sparkles Effect", "Kill Aura",
    "God Aura", "WalkSpeed", "Bring Player", "Teleport", "Spam Text", "Bang GUI", "ChatGPT", "Infinite Yield",
    "Nameless Admin", "Dex Explorer", "CMD-X", "Chat Logs", "Panel Theme", "Youtube Auto Downloader"
}
for _, cmd in ipairs(Cmds) do
    local CmdLabel = Instance.new("TextLabel", CommandsTab.Page)
    CmdLabel.Size = UDim2.new(1, -10, 0, 20)
    CmdLabel.Text = "- " .. cmd
    CmdLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
    CmdLabel.TextXAlignment = Enum.TextXAlignment.Left
    CmdLabel.BackgroundTransparency = 1
    CmdLabel.Font = MainFont
    CmdLabel.TextSize = 13
end

-- 9. DISCORD
AddButton(DiscordTab, "Copy Discord Link (discord.gg/beldevere)", function()
    setclipboard("discord.gg/beldevere")
end)

-- ESP YARDIMCI FONKSİYONU
local function UpdateESP(player, enable, color)
    if not player.Character then return end
    local hl = player.Character:FindFirstChild("StrayerESP")
    if enable then
        if not hl then
            hl = Instance.new("Highlight")
            hl.Name = "StrayerESP"
            hl.Parent = player.Character
        end
        hl.FillColor = color
        hl.OutlineColor = Color3.fromRGB(255, 255, 255)
        hl.FillTransparency = 0.5
        hl.OutlineTransparency = 0
        hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
    else
        if hl then hl:Destroy() end
    end
end

-- ARKA PLAN MANTIK DÖNGÜLERİ
RunService.RenderStepped:Connect(function()
    local mouseLoc = UserInputService:GetMouseLocation()
    FOVCircle.Position = mouseLoc

    for _, p in pairs(Players:GetPlayers()) do
        if p ~= LocalPlayer and p.Character then
            local isTeam = (p.Team ~= nil and p.Team == LocalPlayer.Team)
            local isHostile = (p.Team == nil or p.Team ~= LocalPlayer.Team)
            local isTargetPlayer = (_G.ESPPlayerTarget ~= "" and string.find(p.Name:lower(), _G.ESPPlayerTarget:lower()))

            if _G.ESPAll then
                UpdateESP(p, true, _G.AllColor)
            elseif _G.ESPTeam and isTeam then
                UpdateESP(p, true, _G.TeamColor)
            elseif _G.ESPHostile and isHostile then
                UpdateESP(p, true, _G.HostileColor)
            elseif isTargetPlayer then
                UpdateESP(p, true, Color3.fromRGB(255, 255, 0))
            else
                UpdateESP(p, false)
            end
        end
    end

    if _G.Hitbox then
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Head") then
                local head = p.Character.Head
                head.Size = Vector3.new(8, 8, 8)
                head.Transparency = 0.6
                head.CanCollide = false

                if not head:FindFirstChild("StrayerHitboxHL") then
                    local hl = Instance.new("Highlight")
                    hl.Name = "StrayerHitboxHL"
                    hl.Adornee = head
                    hl.FillColor = Color3.fromRGB(255, 0, 0)
                    hl.FillTransparency = 0.3
                    hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
                    hl.Parent = head
                end
            end
        end
    end

    if _G.Aimbot and UserInputService:IsKeyDown(Enum.KeyCode.F) then
        local closestTarget = nil
        local shortestMouseDist = _G.FOVCircleRadius

        for _, p in pairs(Players:GetPlayers()) do
            if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Head") then
                local head = p.Character.Head
                local screenPos, onScreen = workspace.CurrentCamera:WorldToViewportPoint(head.Position)
                
                if onScreen then
                    local distToMouse = (Vector2.new(screenPos.X, screenPos.Y) - mouseLoc).Magnitude
                    if distToMouse <= shortestMouseDist then
                        closestTarget = head
                        shortestMouseDist = distToMouse
                    end
                end
            end
        end

        if closestTarget and workspace.CurrentCamera then
            workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, closestTarget.Position)
        end
    end

    if _G.Fly and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local hrp = LocalPlayer.Character.HumanoidRootPart
        local cam = workspace.CurrentCamera
        local flyVel = hrp:FindFirstChild("StrayerFlyVel")
        local flyGyro = hrp:FindFirstChild("StrayerFlyGyro")
        
        if flyVel and flyGyro then
            local moveDir = Vector3.new()
            if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + cam.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - cam.CFrame.LookVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - cam.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + cam.CFrame.RightVector end
            if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDir = moveDir + Vector3.new(0, 1, 0) end
            if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDir = moveDir - Vector3.new(0, 1, 0) end
            
            flyVel.Velocity = moveDir * 50
            flyGyro.CFrame = cam.CFrame
        end
    end

    if _G.Noclip then
        if LocalPlayer.Character then
            for _, v in pairs(LocalPlayer.Character:GetDescendants()) do
                if v:IsA("BasePart") then v.CanCollide = false end
            end
        end
    end
end)

-- Spam Loop
task.spawn(function()
    while true do
        task.wait(1)
        if _G.Spam and _G.SpamText ~= "" then
            if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
                TextChatService.TextChannels.RBXGeneral:SendAsync(_G.SpamText)
            else
                ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(_G.SpamText, "All")
            end
        end
    end
end)

Features & Information

good

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts