Logo Pastebin.fr
Pastebin

Retrouvez, créez et partagez vos snippets en temps réel.

Nlzzz auto joiner

--[[ 
    NLZZHUB V5 - SETTINGS PANEL
    - Configuration des seuils de Brainrot (50M, 100M, 500M)
    - Toggle pour l'Auto-Join et les Notifications
    - Design fidèle au XenHub
--]]

-- --- CRÉATION DE LA FENÊTRE SETTINGS ---
-- On utilise la même fonction createWindow définie précédemment
local SettC, SettF = createWindow("NlzzHub V5\nSettings", UDim2.new(0, 180, 0, 250), UDim2.new(0.4, 0, 0.4, 0))

-- --- VARIABLES DE CONFIGURATION ---
local minBrainrotThreshold = 50 -- Valeur par défaut
local notificationsEnabled = true

-- --- CONTENU DES PARAMÈTRES ---

-- Sélection du seuil minimum pour le Scanner
local function createSettingButton(text, value)
    local btn = Instance.new("TextButton")
    btn.Text = text
    btn.Size = UDim2.new(1, 0, 0, 25)
    btn.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
    btn.TextColor3 = Color3.fromRGB(200, 200, 200)
    btn.Font = Enum.Font.Gotham
    btn.TextSize = 10
    btn.Parent = SettC
    Instance.new("UICorner", btn)

    btn.MouseButton1Click:Connect(function()
        minBrainrotThreshold = value
        -- Feedback visuel : on fait briller le bouton sélectionné
        for _, child in pairs(SettC:GetChildren()) do
            if child:IsA("TextButton") then child.TextColor3 = Color3.fromRGB(200, 200, 200) end
        end
        btn.TextColor3 = Color3.fromRGB(255, 0, 0)
        print("Seuil réglé sur : " .. value .. "M")
    end)
end

-- Titre interne
local label = Instance.new("TextLabel")
label.Text = "MINIMUM BRAINROT"
label.Size = UDim2.new(1, 0, 0, 20)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(150, 150, 150)
label.Font = Enum.Font.GothamBold
label.TextSize = 9
label.Parent = SettC

-- Options de seuils
createSettingButton("50M+ Brainrot", 50)
createSettingButton("100M+ Brainrot", 100)
createSettingButton("500M+ Brainrot", 500)
createSettingButton("1B+ Brainrot (Extreme)", 1000)

-- Toggles de confort
createToggle(SettC, "Global Notifications", true, function(s)
    notificationsEnabled = s
end)

createToggle(SettC, "Anti-AFK System", true, function(s)
    -- Logique Anti-AFK simple
    local VirtualUser = game:GetService("VirtualUser")
    lp.Idled:Connect(function()
        if s then
            VirtualUser:CaptureController()
            VirtualUser:ClickButton2(Vector2.new())
        end
    end)
end)

-- Bouton de sauvegarde (visuel)
createButton(SettC, "SAVE CONFIG", Color3.fromRGB(50, 50, 60), function()
    print("Configurations sauvegardées pour NlzzHub")
end)

-- --- LOGIQUE D'AFFICHAGE ---
-- On ajoute SettF à la liste des fenêtres à masquer avec CTRL
UserInputService.InputBegan:Connect(function(input, gpe)
    if not gpe and input.KeyCode == Enum.KeyCode.LeftControl then
        SettF.Visible = menuVisible -- Suit l'état du menu principal
    end
end)

Créé il y a 3 semaines.

Rechercher un Pastebin

Aucun paste trouvé.