Lolet gui v2
Key RequiredUniversal

Lolet gui v2

Universal ScriptLoletLolet 207 views 1.7K executesUpdated Jul 17, 2026
Unrated
00
Lua Script•471 lines (18467 chars)
-- LOLETCLAN V2
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Mouse = Player:GetMouse()

-- GUI Dimensions
local GUI_WIDTH     = 360 
local GUI_HEIGHT    = 420 
local TITLE_HEIGHT  = 30
local NAV_HEIGHT    = 30
local FOOTER_HEIGHT = 30
local GRID_PADDING  = 4
local GRID_COLUMNS  = 3 

math.randomseed(os.time())
local character_set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
local math_random = math.random

local function generate_string(length)
    local random_string = {}
    for int = 1, length or 10 do
        local random_num = math_random(1, #character_set)
        local character = string.sub(character_set, random_num, random_num)
        random_string[#random_string + 1] = character
    end
    return table.concat(random_string)
end

-- Function manager
local FunctionManager = {
    CategorizedFunctions = { All = {} },
    Categories          = { "All" },
    CurrentCategoryIndex= 1,
    Descriptions        = {},
    ISFE = {},
    OnFunctionAdded     = Instance.new("BindableEvent"),
}

function FunctionManager:register(name, callback, category, description, FE)
    category = category or "Main"
    if not self.CategorizedFunctions[category] then
        self.CategorizedFunctions[category] = {}
        table.insert(self.Categories, category)
    end
    self.CategorizedFunctions[category][name] = callback
    self.CategorizedFunctions.All[name]        = callback
    self.Descriptions[name]                    = description or ""
    self.ISFE[name]                            = FE or "yes"
    
    self.OnFunctionAdded:Fire(category, name, callback)
    self.OnFunctionAdded:Fire("All",      name, callback)
end

function FunctionManager:getCurrentCategory()
    return self.Categories[self.CurrentCategoryIndex]
end

function FunctionManager:cycleCategory()
    self.CurrentCategoryIndex = self.CurrentCategoryIndex % #self.Categories + 1
    return self:getCurrentCategory()
end

local screenGui = Instance.new("ScreenGui")
screenGui.Name        = generate_string(math_random(1, 10))
screenGui.ResetOnSpawn= false
screenGui.Parent      = PlayerGui

-- Toggle Button for Mobile
local toggleBtn = Instance.new("TextButton")
toggleBtn.Name = generate_string(math_random(1, 10))
toggleBtn.Parent = screenGui
toggleBtn.Size = UDim2.new(0, 55, 0, 35)
toggleBtn.Position = UDim2.new(0.05, 0, 0.2, 0)
toggleBtn.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
toggleBtn.BorderSizePixel = 1
toggleBtn.BorderColor3 = Color3.fromRGB(255, 215, 0)
toggleBtn.Font = Enum.Font.SourceSansBold
toggleBtn.Text = "C00L"
toggleBtn.TextColor3 = Color3.fromRGB(255, 215, 0)
toggleBtn.TextSize = 14
toggleBtn.Active = true
toggleBtn.Draggable = true 

-- Notification System
local notificationContainer = Instance.new("Frame")
notificationContainer.Name = "NotificationContainer"
notificationContainer.Size = UDim2.new(1, 0, 1, 0)
notificationContainer.Position = UDim2.new(0, 0, 0, 0)
notificationContainer.BackgroundTransparency = 1
notificationContainer.ZIndex = 100
notificationContainer.Parent = screenGui

local function Notify(text, title, duration)
    duration = duration or 4

    local frame = Instance.new("Frame")
    frame.AnchorPoint = Vector2.new(1, 1)
    frame.Size = UDim2.new(0, 260, 0, 65)
    frame.Position = UDim2.new(1, 320, 1, -10)
    frame.BackgroundColor3 = Color3.fromRGB(20, 20, 5)
    frame.BorderSizePixel = 1
    frame.BorderColor3 = Color3.fromRGB(255, 215, 0)
    frame.ZIndex = 200
    frame.Parent = notificationContainer

    local titleLabel = Instance.new("TextLabel")
    titleLabel.BackgroundTransparency = 1
    titleLabel.Size = UDim2.new(1, -10, 0, 24)
    titleLabel.Position = UDim2.new(0, 5, 0, 4)
    titleLabel.Font = Enum.Font.SourceSansBold
    titleLabel.Text = title or "Notice"
    titleLabel.TextColor3 = Color3.fromRGB(255, 215, 0)
    titleLabel.TextSize = 16
    titleLabel.TextXAlignment = Enum.TextXAlignment.Left
    titleLabel.ZIndex = 201
    titleLabel.Parent = frame

    local bodyLabel = Instance.new("TextLabel")
    bodyLabel.BackgroundTransparency = 1
    bodyLabel.Size = UDim2.new(1, -10, 1, -30)
    bodyLabel.Position = UDim2.new(0, 5, 0, 26)
    bodyLabel.Font = Enum.Font.SourceSans
    bodyLabel.Text = text or ""
    bodyLabel.TextColor3 = Color3.new(1, 1, 1)
    bodyLabel.TextSize = 13
    bodyLabel.TextWrapped = true
    bodyLabel.TextXAlignment = Enum.TextXAlignment.Left
    bodyLabel.ZIndex = 201
    bodyLabel.Parent = frame

    task.defer(function()
        local slideIn = TweenService:Create(frame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
            Position = UDim2.new(1, -10, 1, -10)
        })
        slideIn:Play()
    end)

    task.delay(duration, function()
        local fadeOut = TweenService:Create(frame, TweenInfo.new(0.3), {
            BackgroundTransparency = 1,
            Position = UDim2.new(1, 320, 1, -10)
        })
        local titleFade = TweenService:Create(titleLabel, TweenInfo.new(0.3), {TextTransparency = 1})
        local bodyFade = TweenService:Create(bodyLabel, TweenInfo.new(0.3), {TextTransparency = 1})

        fadeOut:Play()
        titleFade:Play()
        bodyFade:Play()

        fadeOut.Completed:Wait()
        frame:Destroy()
    end)
end

local notificationLayout = Instance.new("UIListLayout")
notificationLayout.SortOrder = Enum.SortOrder.LayoutOrder
notificationLayout.Padding = UDim.new(0, 6)
notificationLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
notificationLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
notificationLayout.Parent = notificationContainer

Notify("Welcome to c00lclan Yellow Edition!", "System Connected", 3)

-- Main Frame (Styled Yellow)
local mainFrame = Instance.new("Frame")
mainFrame.Name            = generate_string(math_random(1, 10))
mainFrame.Size            = UDim2.new(0, GUI_WIDTH, 0, GUI_HEIGHT)
mainFrame.Position        = UDim2.new(0.5, -GUI_WIDTH/2, 0.5, -GUI_HEIGHT/2)
mainFrame.BackgroundColor3= Color3.fromRGB(15, 15, 15)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3    = Color3.fromRGB(255, 215, 0)
mainFrame.Parent          = screenGui
mainFrame.Visible         = true

-- Toggle Connection
toggleBtn.MouseButton1Click:Connect(function()
    mainFrame.Visible = not mainFrame.Visible
end)

-- Tooltip
local tooltip = Instance.new("TextLabel", screenGui)
tooltip.Name               = generate_string(math_random(1, 10))
tooltip.Size               = UDim2.new(0, 180, 0, 35)
tooltip.BackgroundColor3   = Color3.fromRGB(25, 25, 25)
tooltip.BorderSizePixel    = 1
tooltip.BorderColor3       = Color3.fromRGB(255, 215, 0)
tooltip.Visible            = false
tooltip.ZIndex             = 100
tooltip.TextColor3         = Color3.fromRGB(255, 255, 255)
tooltip.TextWrapped        = true

-- Header Image (Transparent Background)
local logo = Instance.new("ImageLabel")
local uiStroke = Instance.new("UIStroke")
logo.Name                 = generate_string(math_random(1, 10))
logo.BackgroundTransparency = 1
logo.BorderSizePixel      = 0
logo.Size                 = UDim2.new(1, 0, 0, 90)
logo.Position             = UDim2.new(0, 0, 0, 0)
logo.Image                = "rbxassetid://77783773187660" 
logo.Parent               = mainFrame

-- Title bar
local titleBar = Instance.new("Frame", mainFrame)
titleBar.Name             = generate_string(math_random(1, 10))
titleBar.Size             = UDim2.new(1, 0, 0, TITLE_HEIGHT)
titleBar.Position         = UDim2.new(0, 0, 0, 90)
titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 10)
titleBar.BorderSizePixel  = 0

local titleLabel = Instance.new("TextLabel", titleBar)
titleLabel.Size           = UDim2.new(1, -60, 1, 0)
titleLabel.Position       = UDim2.new(0, 6, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text           = "lolet gui v2" -- Title Updated
titleLabel.Font           = Enum.Font.SourceSansBold
titleLabel.TextSize       = 16
titleLabel.TextColor3     = Color3.fromRGB(255, 215, 0)
titleLabel.TextXAlignment = Enum.TextXAlignment.Left

local minBtn = Instance.new("TextButton", titleBar)
minBtn.Size               = UDim2.new(0, 30, 1, 0)
minBtn.Position           = UDim2.new(1, -30, 0, 0)
minBtn.Text               = "_"
minBtn.Font               = Enum.Font.SourceSansBold
minBtn.TextSize           = 18
minBtn.TextColor3         = Color3.fromRGB(255, 215, 0)
minBtn.BackgroundColor3   = Color3.fromRGB(45, 45, 15)
minBtn.BorderSizePixel    = 0

-- Mobile & PC Dragging Engine (Draggable TitleBar)
local dragging, dragInput, dragStart, startPos
titleBar.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)

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

UserInputService.InputChanged:Connect(function(input)
    if input == dragInput and dragging then
        local delta = input.Position - dragStart
        mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
end)

-- Keybind hide fallback (V Key)
UserInputService.InputBegan:Connect(function(input, processed)
    if not processed and input.KeyCode == Enum.KeyCode.V then
        mainFrame.Visible = not mainFrame.Visible
    end
end)

-- Category Navigation
local catNav = Instance.new("Frame", mainFrame)
catNav.Size               = UDim2.new(1, 0, 0, NAV_HEIGHT)
catNav.Position           = UDim2.new(0, 0, 0, 90 + TITLE_HEIGHT)
catNav.BackgroundTransparency = 1

local leftCat = Instance.new("TextButton", catNav)
leftCat.Size              = UDim2.new(0, 50, 1, 0)
leftCat.Text              = "<"
leftCat.Font              = Enum.Font.SourceSansBold
leftCat.TextSize          = 20
leftCat.TextColor3        = Color3.fromRGB(255, 215, 0)
leftCat.BackgroundColor3  = Color3.fromRGB(35, 35, 10)
leftCat.BorderSizePixel   = 0

local catLabel = Instance.new("TextLabel", catNav)
catLabel.Size             = UDim2.new(1, -100, 1, 0)
catLabel.Position         = UDim2.new(0, 50, 0, 0)
catLabel.BackgroundTransparency = 1
catLabel.Text             = "All"
catLabel.Font             = Enum.Font.SourceSansBold
catLabel.TextSize         = 16
catLabel.TextColor3       = Color3.new(1, 1, 1)

local rightCat = leftCat:Clone()
rightCat.Parent           = catNav
rightCat.Position         = UDim2.new(1, -50, 0, 0)
rightCat.Text             = ">"

-- Grid Layout System (Scrollable Frame)
local gridFrame = Instance.new("ScrollingFrame", mainFrame)
gridFrame.ClipsDescendants= true
gridFrame.Size            = UDim2.new(1, -2*GRID_PADDING, 0, GUI_HEIGHT - 90 - TITLE_HEIGHT - NAV_HEIGHT - FOOTER_HEIGHT - 2*GRID_PADDING)
gridFrame.Position        = UDim2.new(0, GRID_PADDING, 0, 90 + TITLE_HEIGHT + NAV_HEIGHT + GRID_PADDING)
gridFrame.BackgroundTransparency = 1
gridFrame.ScrollBarThickness = 4
gridFrame.ScrollBarImageColor3 = Color3.fromRGB(255, 215, 0)
gridFrame.CanvasSize = UDim2.new(0, 0, 0, 260)

local gridLayout = Instance.new("UIGridLayout", gridFrame)
gridLayout.CellSize       = UDim2.new(0, (GUI_WIDTH - 2*GRID_PADDING - (GRID_COLUMNS - 1)*GRID_PADDING) / GRID_COLUMNS, 0, 40)
gridLayout.CellPadding = UDim2.new(0, GRID_PADDING, 0, GRID_PADDING)
gridLayout.SortOrder      = Enum.SortOrder.LayoutOrder

-- Footer
local footer = Instance.new("Frame", mainFrame)
footer.Size               = UDim2.new(1, 0, 0, FOOTER_HEIGHT)
footer.Position           = UDim2.new(0, 0, 1, -FOOTER_HEIGHT)
footer.BackgroundTransparency = 1

local closeBtn = Instance.new("TextButton", footer)
closeBtn.Size             = UDim2.new(1, 0, 1, 0)
closeBtn.Text             = "Close Menu"
closeBtn.Font             = Enum.Font.SourceSansBold
closeBtn.TextSize         = 16
closeBtn.TextColor3       = Color3.new(1, 1, 1)
closeBtn.BackgroundColor3 = Color3.fromRGB(40, 10, 10)
closeBtn.BorderSizePixel  = 0

-- Minimize Features
local minimized = false
minBtn.MouseButton1Click:Connect(function()
    minimized = not minimized
    mainFrame.Size = minimized and UDim2.new(0, GUI_WIDTH, 0, 90 + TITLE_HEIGHT) or UDim2.new(0, GUI_WIDTH, 0, GUI_HEIGHT)
    gridFrame.Visible     = not minimized
    catNav.Visible        = not minimized
    footer.Visible        = not minimized
    minBtn.Text           = minimized and "◻" or "_"
end)

-- Dynamic Grid Builder Fixed
local function updateGrid()
    for _, c in ipairs(gridFrame:GetChildren()) do
        if c:IsA("TextButton") then c:Destroy() end
    end
    local cat = FunctionManager:getCurrentCategory()
    catLabel.Text = cat

    for name, cb in pairs(FunctionManager.CategorizedFunctions[cat]) do
        local btn = Instance.new("TextButton")
        local isFE = FunctionManager.ISFE[name]
        btn.Size             = UDim2.new(1, 0, 0, 40)
        btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
        btn.BorderSizePixel  = 1
        btn.BorderColor3     = Color3.fromRGB(100, 85, 0)
        btn.Font             = Enum.Font.SourceSansBold
        btn.TextSize         = 11
        btn.TextColor3       = Color3.fromRGB(255, 215, 0)
        btn.Text             = name
        btn.TextWrapped      = true
        btn.Parent           = gridFrame
        btn.Name             = generate_string(math_random(1, 10))
        
        if isFE == "no" then
            btn.BackgroundColor3 = Color3.fromRGB(35, 50, 40)
        end
        
        btn.MouseEnter:Connect(function()
            btn.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
        end)
        btn.MouseLeave:Connect(function()
            btn.BackgroundColor3 = isFE == "no" and Color3.fromRGB(35, 50, 40) or Color3.fromRGB(30, 30, 30)
            tooltip.Visible = false
        end)

        local desc = FunctionManager.Descriptions[name]
        btn.MouseMoved:Connect(function()
            if desc and desc ~= "" then
                tooltip.Text     = desc
                tooltip.Position = UDim2.new(0, Mouse.X + 12, 0, Mouse.Y - tooltip.Size.Y.Offset - 4)
                tooltip.Visible  = true
            end
        end)

        btn.MouseButton1Click:Connect(function()
            local success, err = pcall(cb)
            if not success then
                Notify("Error running script: " .. tostring(err), "Execution Error", 3)
            end
        end)
    end
end

leftCat.MouseButton1Click:Connect(function()
    FunctionManager.CurrentCategoryIndex = (FunctionManager.CurrentCategoryIndex - 2) % #FunctionManager.Categories + 1
    updateGrid()
end)
rightCat.MouseButton1Click:Connect(function()
    FunctionManager:cycleCategory()
    updateGrid()
end)
closeBtn.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)
FunctionManager.OnFunctionAdded.Event:Connect(updateGrid)

--- ====================================================================
--- THE 13 SCRIPTS LOADED CORRECTLY
--- ====================================================================

FunctionManager:register("John Doe", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Fe-John-doe-46160"))()
end, "Main", "Loads FE John Doe script")

FunctionManager:register("Bluudud GUI", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Bluudud-gui-50126"))()
end, "Main", "Loads Bluudud GUI panel")

FunctionManager:register("Grab Knife V3", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-grab-knife-v3-131636"))()
end, "Main", "Loads Grab Knife V3 weapon system")

FunctionManager:register("Invincible Fly", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-invincible-fly-V2-218724"))()
end, "Main", "Godmode + Fly V2")

FunctionManager:register("Ravenger Claws", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Ravenger-claws-76526"))()
end, "Main", "Loads Ravenger Claws suit")

FunctionManager:register("Fly GUI V3", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Fly-gui-v3-78856"))()
end, "Main", "Loads standalone fly panel")

FunctionManager:register("Infinite Yield", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-infiniteyield-116876"))()
end, "Main", "Loads Infinite Yield admin command system")

FunctionManager:register("MC Steve", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-MC-STEVE-SCRIPT-139114"))()
end, "Main", "Loads Minecraft Steve morph and tools")

FunctionManager:register("c00lkidd Exec", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-C00lkidd-executor-Lua-54464"))()
end, "Main", "Loads c00lkidd executor interface")

FunctionManager:register("Caducus God", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-FE-Caducus-The-fallen-god-REQUIRES-REANIMATION-TO-WORK-47600"))()
end, "Main", "Fallen God script (Requires Reanimation)")

FunctionManager:register("c00lclan V2", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-C00lclan-v2-74713"))()
end, "Main", "Loads c00lclan V2 panel")

FunctionManager:register("FE Script 12", function()
    loadstring(game:HttpGet(('https://raw.githubusercontent.com/0Ben1/fe/main/obf_rf6iQURzu1fqrytcnLBAvW34C9N55kS9g9G3CKz086rC47M6632sEd4ZZYB0AYgV.lua.txt'),true))()
end, "Main", "Loads GitHub FE Script")

FunctionManager:register("Zero Gravity", function()
    loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Zero-Gravity-28484"))()
end, "Main", "Toggles world gravity rules")

FunctionManager:register("r6", function()
    loadstring(game:HttpGet("https://pastebin.com/raw/8Xbw4hze"))()
end, "Main", "roblox r6 skin john doe")

FunctionManager:register("horror", function()
    loadstring(game:HttpGet("https://rscripts.net/raw/horrors-monster_1783821787539_ZXBwEAuOae.txt",true))()
end, "Main", "horrors-monster")

-- Final Load
updateGrid()

Features & Information

Troll people in any game, enjoy! I'd love it if you subscribed to my YouTube channel, luckily it's called @lolet_k1ng. Follow me and thanks for reading!

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts