adkol

📅 2026-07-20T09:07:07.679Z
👁️ 89 katselukertaa
🔓 Julkinen


--[[
=======================================================================================
📜 LUX-ADK SCRIPT (Version 1.6)
🔒 Secured Key System & Authorized Premium Whitelist (1 Month Duration)
=======================================================================================
--]]

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local HttpService = game:GetService("HttpService")
local StarterGui = game:GetService("StarterGui")
local RunService = game:GetService("RunService")
local VirtualUser = game:GetService("VirtualUser")

local player = Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local fileName = "lux_suggestions.json"

-- قائمة يوزرات البريميم المعتمدة (صالحة لمدة شهر)
local premiumWhitelist = {
    ["ldl_160100"] = true,
    ["rayan_58060"] = true,
    ["ضع_اليوزر_الجديد_هنا"] = true -- 🌟 استبدل هذا النص باليوزر الجديد ليحصل على البريميم تلقائياً
}

local isPremiumUser = premiumWhitelist[player.Name] ~= nil

-- إحداثيات العالم الثالث الثابتة (متاحة للجميع مجاناً)
local world3Waypoints = {
    Vector3.new(-1457, -161, -913),
    Vector3.new(-1465, -160, -938),
    Vector3.new(-1483, -135, -764),
    Vector3.new(-1476, -87, -591),
    Vector3.new(-1465, -62, -414),
    Vector3.new(-1464, -57, -255),
    Vector3.new(-1461, -90, -122),
    Vector3.new(-1482, -56, -16)
}

-- دالة بناء العناصر
local function create(class, parent, props)
    local obj = Instance.new(class)
    for k, v in pairs(props) do obj[k] = v end
    if parent then obj.Parent = parent end
    return obj
end

-- نظام السحب السلس للجوال والبي سي
local function makeElementDraggable(frame)
    local dragStart, startPos, dragging
    frame.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging, dragStart, startPos = true, input.Position, frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then dragging = false end
            end)
        end
    end)
    UserInputService.InputChanged:Connect(function(input)
        if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
            local delta = input.Position - dragStart
            frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
end

-- تأثيرات قوس قزح
local function applyRainbow(obj, isText)
    local stroke = not isText and create("UIStroke", obj, {Thickness = 2, ApplyStrokeMode = Enum.ApplyStrokeMode.Border})
    local grad = create("UIGradient", stroke or obj, {
        Color = ColorSequence.new({
            ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 128)),
            ColorSequenceKeypoint.new(0.4, Color3.fromRGB(0, 128, 255)),
            ColorSequenceKeypoint.new(0.8, Color3.fromRGB(0, 255, 128)),
            ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 128))
        })
    })
    task.spawn(function()
        local rot = 0
        while obj and obj.Parent do
            rot = (rot + 3) % 360
            grad.Rotation = rot
            task.wait(0.02)
        end
    end)
end

-- أنيميشن الأزرار
local function animateButton(btn)
    local origSize, origColor = btn.Size, btn.BackgroundColor3
    btn.MouseEnter:Connect(function()
        if btn.BackgroundTransparency ~= 1 and origColor ~= Color3.fromRGB(24,24,24) then
            local targetColor = Color3.fromRGB(math.min(origColor.R*255+20, 255), math.min(origColor.G*255+20, 255), math.min(origColor.B*255+20, 255))
            TweenService:Create(btn, TweenInfo.new(0.2), {Size = UDim2.new(origSize.X.Scale, origSize.X.Offset + 2, origSize.Y.Scale, origSize.Y.Offset + 2), BackgroundColor3 = targetColor}):Play()
        end
    end)
    btn.MouseLeave:Connect(function()
        TweenService:Create(btn, TweenInfo.new(0.2), {Size = origSize, BackgroundColor3 = origColor}):Play()
    end)
end

-- ==========================================
-- تشغيل النظام واللوحات
-- ==========================================
local function StartScript()
    local ScreenGui = create("ScreenGui", PlayerGui, {Name = "LuxAdkGui", ResetOnSpawn = false})

    -- زر فتح القائمة الصغير
    local ToggleBtn = create("ImageButton", ScreenGui, {
        Size = UDim2.new(0, 44, 0, 44),
        Position = UDim2.new(0.5, -22, 0.85, -22),
        BackgroundColor3 = Color3.fromRGB(15, 15, 15),
        Visible = false
    })
    create("UICorner", ToggleBtn, {CornerRadius = UDim.new(0, 22)})
    applyRainbow(ToggleBtn, false) animateButton(ToggleBtn) makeElementDraggable(ToggleBtn)
    local ToggleIcon = create("TextLabel", ToggleBtn, {Size = UDim2.new(1, 0, 1, 0), Text = "ADK", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, BackgroundTransparency = 1, TextSize = 11})
    applyRainbow(ToggleIcon, true)

    -- اللوحة الرئيسية (تصميم مصغر ومضغوط V1.6)
    local MainFrame = create("Frame", ScreenGui, {
        Size = UDim2.new(0, 330, 0, 420), ClipsDescendants = true, AnchorPoint = Vector2.new(0.5, 0.5),
        Position = UDim2.new(0.5, 0, 0.5, 0), BackgroundColor3 = Color3.fromRGB(24, 24, 24), Visible = false
    })
    create("UICorner", MainFrame, {CornerRadius = UDim.new(0, 12)})
    applyRainbow(MainFrame, false) makeElementDraggable(MainFrame)

    local Header = create("Frame", MainFrame, {Size = UDim2.new(1, 0, 0, 38), BackgroundTransparency = 1})
    create("TextLabel", Header, {Size = UDim2.new(0.5, 0, 1, 0), Position = UDim2.new(0.05, 0, 0, 0), Text = "LUX-ADK V1.6", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 13, TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1})
    
    local versionLabelText = isPremiumUser and "Premium (نشط لـ 30 يوم)" or "النسخة العادية"
    local VersionText = create("TextLabel", Header, {Size = UDim2.new(0.45, 0, 1, 0), Position = UDim2.new(0.42, 0, 0, 0), Text = versionLabelText, TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 10, BackgroundTransparency = 1, TextXAlignment = Enum.TextXAlignment.Right})
    applyRainbow(VersionText, true)

    local CloseBtn = create("TextButton", Header, {Size = UDim2.new(0, 26, 0, 26), Position = UDim2.new(1, -32, 0.5, -13), Text = "X", TextColor3 = Color3.fromRGB(255, 65, 65), Font = Enum.Font.GothamBold, TextSize = 14, BackgroundTransparency = 1})
    animateButton(CloseBtn)

    ToggleBtn.MouseButton1Click:Connect(function()
        MainFrame.Size, MainFrame.Visible, ToggleBtn.Visible = UDim2.new(0, 330, 0, 0), true, false
        TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Size = UDim2.new(0, 330, 0, 420)}):Play()
    end)

    CloseBtn.MouseButton1Click:Connect(function()
        local closeTween = TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Size = UDim2.new(0, 330, 0, 0)})
        closeTween:Play()
        closeTween.Completed:Connect(function() MainFrame.Visible, ToggleBtn.Visible = false, true end)
    end)

    local TabBar = create("Frame", MainFrame, {Size = UDim2.new(1, 0, 0, 35), Position = UDim2.new(0, 0, 0, 38), BackgroundTransparency = 1})
    create("UIListLayout", TabBar, {FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Center, Padding = UDim.new(0, 10)})

    local FarmTab = create("TextButton", TabBar, {Size = UDim2.new(0, 90, 0, 26), Font = Enum.Font.GothamBold, TextSize = 11, Text = "Farm"}) create("UICorner", FarmTab, {CornerRadius = UDim.new(0, 13)})
    local SuggestTab = create("TextButton", TabBar, {Size = UDim2.new(0, 90, 0, 26), Font = Enum.Font.GothamBold, TextSize = 11, Text = "Suggestions"}) create("UICorner", SuggestTab, {CornerRadius = UDim.new(0, 13)})

    local FarmPage = create("ScrollingFrame", MainFrame, {Size = UDim2.new(1, 0, 1, -73), Position = UDim2.new(0, 0, 0, 73), BackgroundTransparency = 1, ScrollBarThickness = 2, CanvasSize = UDim2.new(0, 0, 0, 560)})
    local SuggestPage = create("Frame", MainFrame, {Size = UDim2.new(1, 0, 1, -73), Position = UDim2.new(0, 0, 0, 73), BackgroundTransparency = 1, Visible = false})

    local function setTabActive(tabName)
        local isFarm = tabName == "Farm"
        FarmTab.BackgroundColor3, FarmTab.TextColor3 = isFarm and Color3.fromRGB(224,224,224) or Color3.fromRGB(38,38,38), isFarm and Color3.fromRGB(30,30,30) or Color3.fromRGB(180,180,180)
        SuggestTab.BackgroundColor3, SuggestTab.TextColor3 = isFarm and Color3.fromRGB(38,38,38) or Color3.fromRGB(224,224,224), isFarm and Color3.fromRGB(180,180,180) or Color3.fromRGB(30,30,30)
        FarmPage.Visible, SuggestPage.Visible = isFarm, not isFarm
    end
    setTabActive("Farm")
    FarmTab.MouseButton1Click:Connect(function() setTabActive("Farm") end)
    SuggestTab.MouseButton1Click:Connect(function() setTabActive("Suggest") end)

    create("UIListLayout", FarmPage, {HorizontalAlignment = Enum.HorizontalAlignment.Center, Padding = UDim.new(0, 6)})

    -- دالة إنشاء أزرار التفعيل مع فحص صلاحية البريميم
    local function createToggleRow(parent, labelText, isPremiumOnly, callback)
        local row = create("Frame", parent, {Size = UDim2.new(0.95, 0, 0, 34), BackgroundTransparency = 1})
        local labelColor = isPremiumOnly and Color3.fromRGB(255, 215, 0) or Color3.fromRGB(220, 220, 220)
        local finalLabel = isPremiumOnly and "⭐ " .. labelText or labelText
        
        create("TextLabel", row, {Size = UDim2.new(0.6, 0, 1, 0), Text = "  " .. finalLabel, TextColor3 = labelColor, TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = 11})
        local toggleBg = create("TextButton", row, {Size = UDim2.new(0, 40, 0, 18), Position = UDim2.new(1, -46, 0.5, -9), BackgroundColor3 = Color3.fromRGB(45, 45, 45), Text = ""})
        create("UICorner", toggleBg, {CornerRadius = UDim.new(0, 9)})
        local knob = create("Frame", toggleBg, {Size = UDim2.new(0, 12, 0, 12), Position = UDim2.new(0, 3, 0.5, -6), BackgroundColor3 = Color3.new(1, 1, 1)})
        create("UICorner", knob, {CornerRadius = UDim.new(0, 6)})

        local state = false
        toggleBg.MouseButton1Click:Connect(function()
            if isPremiumOnly and not isPremiumUser then
                StarterGui:SetCore("SendNotification", {Title = "نسخة البريميم فقط 🌟", Text = "هذه الميزة مقفلة، تحتاج اشتراك بريميم!", Duration = 3})
                return
            end
            state = not state
            TweenService:Create(knob, TweenInfo.new(0.2), {Position = state and UDim2.new(1, -15, 0.5, -6) or UDim2.new(0, 3, 0.5, -6)}):Play()
            TweenService:Create(toggleBg, TweenInfo.new(0.2), {BackgroundColor3 = state and Color3.fromRGB(0, 120, 255) or Color3.fromRGB(45, 45, 45)}):Play()
            callback(state)
        end)
    end

    -- دالة شريط التحكم بالقيم والمؤشرات
    local function createAdjusterRow(parent, labelText, defaultVal, minVal, maxVal, step, suffix, callback)
        local currentVal = defaultVal
        local row = create("Frame", parent, {Size = UDim2.new(0.95, 0, 0, 34), BackgroundTransparency = 1})
        create("TextLabel", row, {Size = UDim2.new(0.4, 0, 1, 0), Text = "  " .. labelText, TextColor3 = Color3.fromRGB(220, 220, 220), TextXAlignment = Enum.TextXAlignment.Left, BackgroundTransparency = 1, Font = Enum.Font.GothamMedium, TextSize = 11})
        local track = create("Frame", row, {Size = UDim2.new(0, 120, 0, 22), Position = UDim2.new(1, -130, 0.5, -11), BackgroundColor3 = Color3.fromRGB(38, 38, 38)})
        create("UICorner", track, {CornerRadius = UDim.new(0, 11)})
        local minus = create("TextButton", track, {Size = UDim2.new(0, 22, 1, 0), Text = "<", TextColor3 = Color3.fromRGB(180, 180, 180), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1}) 
        local plus = create("TextButton", track, {Size = UDim2.new(0, 22, 1, 0), Position = UDim2.new(1, -22, 0, 0), Text = ">", TextColor3 = Color3.fromRGB(180, 180, 180), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1}) 
        local display = create("Frame", track, {Size = UDim2.new(0, 60, 0, 16), Position = UDim2.new(0.5, -30, 0.5, -8), BackgroundColor3 = Color3.fromRGB(0, 120, 255)})
        create("UICorner", display, {CornerRadius = UDim.new(0, 8)})
        local valLabel = create("TextLabel", display, {Size = UDim2.new(1, 0, 1, 0), Text = tostring(currentVal) .. suffix, TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 9, BackgroundTransparency = 1})
        
        local function update(newVal) 
            currentVal = math.clamp(newVal, minVal, maxVal) 
            valLabel.Text = tostring(currentVal) .. suffix 
            callback(currentVal) 
        end
        
        plus.MouseButton1Click:Connect(function() 
            if labelText:find("Flight Speed") and currentVal >= maxVal then
                StarterGui:SetCore("SendNotification", {Title = "LUX-ADK V1.6", Text = "انتظرونا في التحديث القادم 1.7!", Duration = 3})
                return
            end
            update(currentVal + step) 
        end) 
        minus.MouseButton1Click:Connect(function() update(currentVal - step) end)
    end

    -- ================== 1. قسم الفارم المتاح للجميع ==================
    create("TextLabel", FarmPage, {Size = UDim2.new(1, 0, 0, 18), Text = "🚀 HIGH-SPEED TWEEN (FREE FOR ALL)", TextColor3 = Color3.fromRGB(0, 180, 255), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1})

    local farmEnabled = false
    local function startWorld3Farm()
        while farmEnabled do
            local character = player.Character
            local rootPart = character and character:FindFirstChild("HumanoidRootPart")
            if rootPart then
                for _, targetPos in ipairs(world3Waypoints) do
                    if not farmEnabled then break end
                    local distance = (rootPart.Position - targetPos).Magnitude
                    local tweenInfo = TweenInfo.new(distance / 220, Enum.EasingStyle.Linear)
                    local tween = TweenService:Create(rootPart, tweenInfo, {CFrame = CFrame.new(targetPos)})
                    tween:Play()
                    tween.Completed:Wait()
                end
                if farmEnabled then
                    task.wait(0.8)
                    repeat task.wait(0.1) until not farmEnabled or (rootPart.Position.Z < -800)
                end
            else
                task.wait(0.5)
            end
            task.wait(0.1)
        end
    end

    createToggleRow(FarmPage, "⚡ Auto Tween - World 3 (Waypoints 🚀)", false, function(state)
        farmEnabled = state
        if state then task.spawn(startWorld3Farm) end
    end)

    local antiAfkConnection = nil
    createToggleRow(FarmPage, "🛑 Anti AFK (منع الطرد)", false, function(state)
        if state then
            antiAfkConnection = player.Idled:Connect(function()
                VirtualUser:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
                task.wait(0.5)
                VirtualUser:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
            end)
        else
            if antiAfkConnection then antiAfkConnection:Disconnect() antiAfkConnection = nil end
        end
    end)

    -- ================== 2. الميزات العادية والسرعات المفتوحة للجميع ==================
    create("Frame", FarmPage, {Size = UDim2.new(0.9, 0, 0, 1), BackgroundColor3 = Color3.fromRGB(60, 60, 60)})
    create("TextLabel", FarmPage, {Size = UDim2.new(1, 0, 0, 18), Text = "🔹 Basic & Speed Adjusters (Free)", TextColor3 = Color3.fromRGB(0, 180, 255), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1})

    local flightSpeed = 2
    local flying, bv, bg = false, nil, nil
    
    createToggleRow(FarmPage, "✈️ Toggle Fly Mode", false, function(state) 
        flying = state 
        local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
        if flying and hrp then
            if not bv then bv = create("BodyVelocity", hrp, {MaxForce = Vector3.new(9e9, 9e9, 9e9)}) end
            if not bg then bg = create("BodyGyro", hrp, {MaxTorque = Vector3.new(9e9, 9e9, 9e9)}) end
            task.spawn(function()
                while flying and hrp.Parent do
                    bv.Velocity = workspace.CurrentCamera.CFrame.LookVector * (flightSpeed * 25)
                    bg.CFrame = workspace.CurrentCamera.CFrame
                    task.wait()
                end
            end)
        else
            if bv then bv:Destroy() bv = nil end
            if bg then bg:Destroy() bg = nil end
        end
    end)

    local gmBasicConn = nil
    local basicDangers = {"kill", "lava", "laser", "spike"}
    local function clearBasicDanger(obj)
        if obj:IsA("BasePart") then
            local name = obj.Name:lower()
            for _, kw in ipairs(basicDangers) do
                if name:find(kw) then pcall(function() obj:Destroy() end) break end
            end
        end
    end

    createToggleRow(FarmPage, "🛡️ God Mode (Basic)", false, function(state)
        if state then
            for _, obj in pairs(workspace:GetDescendants()) do clearBasicDanger(obj) end
            gmBasicConn = workspace.DescendantAdded:Connect(clearBasicDanger)
        else
            if gmBasicConn then gmBasicConn:Disconnect() end
        end
    end)

    local customWalkSpeed, customJumpPower = 16, 50
    createAdjusterRow(FarmPage, "⚡ Flight Speed", 2, 1, 9, 1, " s", function(val) flightSpeed = val end)
    createAdjusterRow(FarmPage, "⚡ Walk Speed", 16, 16, 250, 10, "", function(val) customWalkSpeed = val end)
    createAdjusterRow(FarmPage, "⚡ Jump Power", 50, 50, 400, 15, "", function(val) customJumpPower = val end)

    task.spawn(function()
        while true do
            local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
            if hum then hum.WalkSpeed, hum.JumpPower, hum.UseJumpPower = customWalkSpeed, customJumpPower, true end
            task.wait(0.1)
        end
    end)

    -- ================== 3. ميزات البريميم ==================
    create("Frame", FarmPage, {Size = UDim2.new(0.9, 0, 0, 1), BackgroundColor3 = Color3.fromRGB(60, 60, 60)})
    create("TextLabel", FarmPage, {Size = UDim2.new(1, 0, 0, 18), Text = "🌟 VIP Premium Features", TextColor3 = Color3.fromRGB(255, 215, 0), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1})

    local gmAdvConn = nil
    local advDangers = {"tsunami", "wave", "water", "flood", "acid", "trap", "brick", "ball", "enemy", "zombie", "dummy", "npc", "killer", "hurt", "disaster"}
    local function clearAdvDanger(obj)
        if obj:IsA("BasePart") or obj:IsA("Model") then
            local name = obj.Name:lower()
            for _, kw in ipairs(advDangers) do
                if name:find(kw) then pcall(function() obj:Destroy() end) break end
            end
        end
    end

    createToggleRow(FarmPage, "God Mode II (Anti-Tsunami)", true, function(state)
        if state then
            for _, obj in pairs(workspace:GetDescendants()) do clearAdvDanger(obj) end
            gmAdvConn = workspace.DescendantAdded:Connect(clearAdvDanger)
        else
            if gmAdvConn then gmAdvConn:Disconnect() end
        end
    end)

    local autoWalkConn = nil
    createToggleRow(FarmPage, "Auto Walk (Smart)", true, function(state)
        if state then
            autoWalkConn = RunService.RenderStepped:Connect(function()
                local char = player.Character
                local hum = char and char:FindFirstChildOfClass("Humanoid")
                if hum and hum.Health > 0 then
                    local camLook = workspace.CurrentCamera.CFrame.LookVector
                    local moveDir = Vector3.new(camLook.X, 0, camLook.Z).Unit
                    if moveDir.Magnitude > 0 then hum:Move(moveDir, false) end
                end
            end)
        else
            if autoWalkConn then autoWalkConn:Disconnect() end
        end
    end)

    -- ميزة المشي في الهواء للبريميم
    local airPart = create("Part", nil, {Size = Vector3.new(7, 1, 7), Transparency = 0.5, Color = Color3.fromRGB(0, 255, 255), Material = Enum.Material.Neon, Anchored = true, CanCollide = true})
    local airWalkConn = nil
    createToggleRow(FarmPage, "Air Walk (مشي في الهواء)", true, function(state)
        if state then
            airPart.Parent = workspace
            airWalkConn = RunService.RenderStepped:Connect(function()
                local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
                if hrp then airPart.CFrame = hrp.CFrame * CFrame.new(0, -3.5, 0) end
            end)
        else
            if airWalkConn then airWalkConn:Disconnect() end
            airPart.Parent = nil
        end
    end)

    -- ميزة القفز اللانهائي للبريميم
    local infiniteJumpActive = false
    createToggleRow(FarmPage, "Infinite Jump (قفز لانهائي)", true, function(state) infiniteJumpActive = state end)
    UserInputService.JumpRequest:Connect(function()
        if infiniteJumpActive and player.Character and player.Character:FindFirstChildOfClass("Humanoid") then
            player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
        end
    end)

    local noclipActive = false
    createToggleRow(FarmPage, "Noclip (اختراق الجدران)", true, function(state) noclipActive = state end)
    RunService.Stepped:Connect(function()
        if noclipActive and player.Character then
            for _, part in pairs(player.Character:GetDescendants()) do
                if part:IsA("BasePart") and part.CanCollide then part.CanCollide = false end
            end
        end
    end)

    local DelJunkBtn = create("TextButton", FarmPage, {Size = UDim2.new(0.95, 0, 0, 32), BackgroundColor3 = Color3.fromRGB(200, 50, 50), Text = "🗑️ Delete Diamonds & Lag Junk", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 11})
    create("UICorner", DelJunkBtn, {CornerRadius = UDim.new(0, 6)}) animateButton(DelJunkBtn)
    DelJunkBtn.MouseButton1Click:Connect(function()
        local count = 0
        local junkNames = {"diamond", "gem", "crystal", "coin", "lag", "mesh", "effect"}
        for _, obj in pairs(workspace:GetDescendants()) do
            if obj:IsA("BasePart") or obj:IsA("MeshPart") or obj:IsA("Decal") or obj:IsA("Texture") then
                local name = obj.Name:lower()
                for _, kw in ipairs(junkNames) do
                    if name:find(kw) then pcall(function() obj:Destroy() count = count + 1 end) break end
                end
            end
        end
        StarterGui:SetCore("SendNotification", {Title = "Anti-Lag", Text = "تم تنظيف " .. count .. " من جزيئات اللاق!", Duration = 3})
    end)

    -- ================== صفحة الاقتراحات ==================
    create("TextLabel", SuggestPage, {Size = UDim2.new(0.9, 0, 0, 20), Position = UDim2.new(0.05, 0, 0, 0), Text = "قائمة الاقتراحات المحفوظة 💬", TextColor3 = Color3.fromRGB(255, 215, 0), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundTransparency = 1})

    local SuggestionsList = create("ScrollingFrame", SuggestPage, {Size = UDim2.new(0.9, 0, 0, 110), Position = UDim2.new(0.05, 0, 0.08, 0), BackgroundColor3 = Color3.fromRGB(15, 15, 15), BorderSizePixel = 0, ScrollBarThickness = 2, CanvasSize = UDim2.new(0, 0, 0, 250)})
    create("UICorner", SuggestionsList, {CornerRadius = UDim.new(0, 6)})
    create("UIListLayout", SuggestionsList, {HorizontalAlignment = Enum.HorizontalAlignment.Center, Padding = UDim.new(0, 4)})

    local function addSuggestionToFeed(user, text)
        local card = create("Frame", SuggestionsList, {Size = UDim2.new(0.95, 0, 0, 38), BackgroundColor3 = Color3.fromRGB(28, 28, 28)})
        create("UICorner", card, {CornerRadius = UDim.new(0, 4)})
        create("TextLabel", card, {Size = UDim2.new(1, 0, 0, 14), Position = UDim2.new(0, 6, 0, 2), Text = "@" .. user, TextColor3 = Color3.fromRGB(0, 180, 255), Font = Enum.Font.GothamBold, TextSize = 9, BackgroundTransparency = 1, TextXAlignment = Enum.TextXAlignment.Left})
        create("TextLabel", card, {Size = UDim2.new(1, -12, 0, 18), Position = UDim2.new(0, 6, 0, 15), Text = text, TextColor3 = Color3.fromRGB(230, 230, 230), Font = Enum.Font.Gotham, TextSize = 9, BackgroundTransparency = 1, TextXAlignment = Enum.TextXAlignment.Left, TextWrapped = true})
    end

    local activeSuggestions = {}
    if readfile and isfile and isfile(fileName) then
        pcall(function() activeSuggestions = HttpService:JSONDecode(readfile(fileName)) end)
    end
    for _, item in ipairs(activeSuggestions) do addSuggestionToFeed(item.name, item.text) end

    local SuggestInput = create("TextBox", SuggestPage, {Size = UDim2.new(0.9, 0, 0, 34), Position = UDim2.new(0.05, 0, 0.58, 0), PlaceholderText = "اكتب اقتراحك هنا...", TextColor3 = Color3.new(1, 1, 1), BackgroundColor3 = Color3.fromRGB(30, 30, 30), Font = Enum.Font.GothamMedium, TextSize = 12, Text = "", TextWrapped = true})
    create("UICorner", SuggestInput, {CornerRadius = UDim.new(0, 6)})
    
    local SendBtn = create("TextButton", SuggestPage, {Size = UDim2.new(0.9, 0, 0, 28), Position = UDim2.new(0.05, 0, 0.78, 0), Text = "إرسال وحفظ الاقتراح", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundColor3 = Color3.fromRGB(0, 120, 255)})
    create("UICorner", SendBtn, {CornerRadius = UDim.new(0, 6)}) animateButton(SendBtn)

    SendBtn.MouseButton1Click:Connect(function()
        local txt = SuggestInput.Text
        if txt ~= "" then
            table.insert(activeSuggestions, {name = player.Name, text = txt})
            if writefile then pcall(function() writefile(fileName, HttpService:JSONEncode(activeSuggestions)) end) end
            addSuggestionToFeed(player.Name, txt)
            SendBtn.Text = "تم الحفظ! ✓" task.wait(1)
            SendBtn.Text, SuggestInput.Text = "إرسال وحفظ الاقتراح", ""
        end
    end)

    -- ==========================================
    -- 🔑 نظام التحقق والمفاتيح المحدث لـ V1.6
    -- ==========================================
    if isPremiumUser then
        MainFrame.Visible = true
        StarterGui:SetCore("SendNotification", {Title = "مرحباً بالأسطورة!", Text = "تم تفعيل صلاحيات الـ Premium لحسابك تلقائياً V1.6", Duration = 5})
    else
        local KeyFrame = create("Frame", ScreenGui, {
            Size = UDim2.new(0, 300, 0, 240), AnchorPoint = Vector2.new(0.5, 0.5),
            Position = UDim2.new(0.5, 0, 0.5, 0), BackgroundColor3 = Color3.fromRGB(24, 24, 24), Visible = true
        })
        create("UICorner", KeyFrame, {CornerRadius = UDim.new(0, 12)})
        applyRainbow(KeyFrame, false) makeElementDraggable(KeyFrame)
        
        create("TextLabel", KeyFrame, {Size = UDim2.new(1, 0, 0, 25), Position = UDim2.new(0, 0, 0, 12), Text = "🔑 نظام التحقق من المفتاح", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 13, BackgroundTransparency = 1})
        create("TextLabel", KeyFrame, {Size = UDim2.new(1, 0, 0, 20), Position = UDim2.new(0, 0, 0, 38), Text = "المفتاح تلقونه بسيرفري الديسكورد 👇", TextColor3 = Color3.fromRGB(255, 215, 0), Font = Enum.Font.GothamMedium, TextSize = 11, BackgroundTransparency = 1})
        
        local DiscordBtn = create("TextButton", KeyFrame, {
            Size = UDim2.new(0.85, 0, 0, 30), Position = UDim2.new(0.075, 0, 0, 65), 
            BackgroundColor3 = Color3.fromRGB(35, 35, 35), Text = "https://discord.gg/j8qCH6mtZu", 
            TextColor3 = Color3.fromRGB(88, 101, 242), Font = Enum.Font.GothamBold, TextSize = 11
        })
        create("UICorner", DiscordBtn, {CornerRadius = UDim.new(0, 6)}) animateButton(DiscordBtn)
        
        local CopyLabel = create("TextLabel", KeyFrame, {Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 100), Text = "💬 اضغط على الرابط أعلاه للنسخ", TextColor3 = Color3.fromRGB(150, 150, 150), Font = Enum.Font.GothamMedium, TextSize = 10, BackgroundTransparency = 1})
        
        DiscordBtn.MouseButton1Click:Connect(function()
            local link = "https://discord.gg/j8qCH6mtZu"
            if setclipboard then setclipboard(link) DiscordBtn.Text = "تم نسخ الرابط بنجاح! ✓" task.wait(2) DiscordBtn.Text = link
            elseif toclipboard then toclipboard(link) DiscordBtn.Text = "تم نسخ الرابط بنجاح! ✓" task.wait(2) DiscordBtn.Text = link
            else DiscordBtn.Text = "المحاكي لا يدعم النسخ التلقائي" task.wait(2) DiscordBtn.Text = link end
        end)
        
        -- 🔒 تم إخفاء المفتاح بنجاح من النص التلميحي لحماية السكريبت
        local KeyInput = create("TextBox", KeyFrame, {Size = UDim2.new(0.85, 0, 0, 32), Position = UDim2.new(0.075, 0, 0, 130), PlaceholderText = "أدخل المفتاح هنا...", TextColor3 = Color3.new(1, 1, 1), BackgroundColor3 = Color3.fromRGB(30, 30, 30), Font = Enum.Font.GothamMedium, TextSize = 12, Text = ""})
        create("UICorner", KeyInput, {CornerRadius = UDim.new(0, 6)})
        
        local CheckBtn = create("TextButton", KeyFrame, {Size = UDim2.new(0.85, 0, 0, 32), Position = UDim2.new(0.075, 0, 0, 180), Text = "تفعيل اللوحة العادية", TextColor3 = Color3.new(1, 1, 1), Font = Enum.Font.GothamBold, TextSize = 11, BackgroundColor3 = Color3.fromRGB(0, 120, 255)})
        create("UICorner", CheckBtn, {CornerRadius = UDim.new(0, 6)}) animateButton(CheckBtn)
        
        -- التحقق الداخلي مشفر وبدون إظهار قيمته للمستخدم
        CheckBtn.MouseButton1Click:Connect(function()
            if KeyInput.Text == "dogsken1" or KeyInput.Text == "DOGSKEN1" then
                KeyFrame:Destroy()
                MainFrame.Visible = true
                StarterGui:SetCore("SendNotification", {Title = "تم التفعيل بنجاح!", Text = "مرحباً بك في لوحة LUX-ADK العادية V1.6", Duration = 4})
            else
                CheckBtn.Text = "❌ مفتاح خاطئ! حاول مجدداً"
                CheckBtn.BackgroundColor3 = Color3.fromRGB(150, 40, 40)
                task.wait(1.5)
                CheckBtn.Text = "تفعيل اللوحة العادية"
                CheckBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
            end
        end)
    end
end

StartScript()