notepad easy KEY
Key RequiredUniversal

notepad easy KEY

Universal Scriptahngyoahngyo 69 views 92 executesUpdated Aug 25, 2026
Unrated
00
Lua Script•588 lines (24034 chars)
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]

-- Ultimate Logger Notepad + Script Hubs, Admin, Teleport, Discord & Custom Loader
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local HttpService = game:GetService("HttpService")
local LogService = game:GetService("LogService")
local TeleportService = game:GetService("TeleportService")
local LocalPlayer = Players.LocalPlayer

local ScreenGui = Instance.new("ScreenGui")

-- Parent GUI safely
ScreenGui.Name = "RobloxUltimateHubNotepad"
ScreenGui.ResetOnSpawn = false
pcall(function() ScreenGui.Parent = game:GetService("CoreGui") end)
if not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end

-- ==========================================
-- LOGIN SCREEN SETUP
-- ==========================================
local LoginFrame = Instance.new("Frame")
local LoginTopBar = Instance.new("Frame")
local LoginTitle = Instance.new("TextLabel")
local PassBox = Instance.new("TextBox")
local LoginButton = Instance.new("TextButton")
local DiscordHintButton = Instance.new("TextButton")
local ErrorLabel = Instance.new("TextLabel")

LoginFrame.Parent = ScreenGui
LoginFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
LoginFrame.Position = UDim2.new(0.5, -170, 0.5, -110)
LoginFrame.Size = UDim2.new(0, 340, 0, 220)
LoginFrame.Active = true
LoginFrame.Draggable = true
Instance.new("UICorner", LoginFrame).CornerRadius = UDim.new(0, 8)

LoginTopBar.Parent = LoginFrame
LoginTopBar.BackgroundColor3 = Color3.fromRGB(40, 40, 55)
LoginTopBar.Size = UDim2.new(1, 0, 0, 35)
Instance.new("UICorner", LoginTopBar).CornerRadius = UDim.new(0, 8)

-- Fix bottom corners of top bar
local LoginTopCover = Instance.new("Frame", LoginTopBar)
LoginTopCover.BackgroundColor3 = Color3.fromRGB(40, 40, 55)
LoginTopCover.BorderSizePixel = 0
LoginTopCover.Position = UDim2.new(0, 0, 0.5, 0)
LoginTopCover.Size = UDim2.new(1, 0, 0.5, 0)

LoginTitle.Parent = LoginTopBar
LoginTitle.BackgroundTransparency = 1
LoginTitle.Position = UDim2.new(0, 12, 0, 0)
LoginTitle.Size = UDim2.new(1, -12, 1, 0)
LoginTitle.Font = Enum.Font.GothamBold
LoginTitle.Text = "šŸ”’ Authentication Required"
LoginTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
LoginTitle.TextSize = 13
LoginTitle.TextXAlignment = Enum.TextXAlignment.Left

PassBox.Parent = LoginFrame
PassBox.BackgroundColor3 = Color3.fromRGB(15, 15, 22)
PassBox.Position = UDim2.new(0, 20, 0, 55)
PassBox.Size = UDim2.new(1, -40, 0, 36)
PassBox.Font = Enum.Font.Code
PassBox.PlaceholderText = "Enter Password..."
PassBox.PlaceholderColor3 = Color3.fromRGB(100, 100, 120)
PassBox.Text = ""
PassBox.TextColor3 = Color3.fromRGB(255, 255, 255)
PassBox.TextSize = 14
Instance.new("UICorner", PassBox).CornerRadius = UDim.new(0, 6)

LoginButton.Parent = LoginFrame
LoginButton.BackgroundColor3 = Color3.fromRGB(40, 150, 110)
LoginButton.Position = UDim2.new(0, 20, 0, 105)
LoginButton.Size = UDim2.new(1, -40, 0, 32)
LoginButton.Font = Enum.Font.GothamBold
LoginButton.Text = "Login"
LoginButton.TextColor3 = Color3.fromRGB(255, 255, 255)
LoginButton.TextSize = 13
Instance.new("UICorner", LoginButton).CornerRadius = UDim.new(0, 6)

DiscordHintButton.Parent = LoginFrame
DiscordHintButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242)
DiscordHintButton.Position = UDim2.new(0, 20, 0, 147)
DiscordHintButton.Size = UDim2.new(1, -40, 0, 28)
DiscordHintButton.Font = Enum.Font.GothamBold
DiscordHintButton.Text = "šŸ’¬ Get Password on Discord"
DiscordHintButton.TextColor3 = Color3.fromRGB(255, 255, 255)
DiscordHintButton.TextSize = 12
Instance.new("UICorner", DiscordHintButton).CornerRadius = UDim.new(0, 6)

ErrorLabel.Parent = LoginFrame
ErrorLabel.BackgroundTransparency = 1
ErrorLabel.Position = UDim2.new(0, 20, 0, 185)
ErrorLabel.Size = UDim2.new(1, -40, 0, 20)
ErrorLabel.Font = Enum.Font.GothamBold
ErrorLabel.Text = ""
ErrorLabel.TextColor3 = Color3.fromRGB(220, 60, 60)
ErrorLabel.TextSize = 12

DiscordHintButton.MouseButton1Click:Connect(function()
    local inviteUrl = "https://discord.gg/5hE4sjZH4"
    if pcall(function() setclipboard(inviteUrl) end) then
        DiscordHintButton.Text = "Discord Link Copied!"
        task.wait(1.5)
        DiscordHintButton.Text = "šŸ’¬ Get Password on Discord"
    else
        ErrorLabel.Text = "Discord: " + inviteUrl
    end
end)


-- ==========================================
-- MAIN APP SETUP (Hidden until login)
-- ==========================================
local MainFrame = Instance.new("Frame")
local TopBar = Instance.new("Frame")
local TopBarCover = Instance.new("Frame")
local TitleLabel = Instance.new("TextLabel")
local CloseButton = Instance.new("TextButton")
local MinimizeButton = Instance.new("TextButton")

-- Scrolling Frame & Text Box Container
local ScrollingFrame = Instance.new("ScrollingFrame")
local TextBox = Instance.new("TextBox")

-- Bottom Toolbar elements
local BottomBar = Instance.new("Frame")
local ClearButton = Instance.new("TextButton")
local CopyButton = Instance.new("TextButton")
local SaveButton = Instance.new("TextButton")
local EventLogButton = Instance.new("TextButton")
local ConsoleLogButton = Instance.new("TextButton")
local LogServersButton = Instance.new("TextButton")
local UltimateHubButton = Instance.new("TextButton")
local VapeVoidwareButton = Instance.new("TextButton")
local InfYieldButton = Instance.new("TextButton")
local JoinRandomButton = Instance.new("TextButton")
local DiscordButton = Instance.new("TextButton")
local CustomScriptButton = Instance.new("TextButton")

-- Main Frame Setup (Initially Hidden)
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
MainFrame.Position = UDim2.new(0.3, 0, 0.2, 0)
MainFrame.Size = UDim2.new(0, 560, 0, 580)
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Visible = false
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 8)

-- Top Bar Setup
TopBar.Parent = MainFrame
TopBar.BackgroundColor3 = Color3.fromRGB(40, 40, 55)
TopBar.Size = UDim2.new(1, 0, 0, 35)
Instance.new("UICorner", TopBar).CornerRadius = UDim.new(0, 8)

TopBarCover.Parent = TopBar
TopBarCover.BackgroundColor3 = Color3.fromRGB(40, 40, 55)
TopBarCover.BorderSizePixel = 0
TopBarCover.Position = UDim2.new(0, 0, 0.5, 0)
TopBarCover.Size = UDim2.new(1, 0, 0.5, 0)

TitleLabel.Parent = TopBar
TitleLabel.BackgroundTransparency = 1
TitleLabel.Position = UDim2.new(0, 12, 0, 0)
TitleLabel.Size = UDim2.new(0.7, 0, 1, 0)
TitleLabel.Font = Enum.Font.GothamBold
TitleLabel.Text = "šŸ“ Notepad + Hubs, Admin, Teleport & Ultimate Hub"
TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TitleLabel.TextSize = 14
TitleLabel.TextXAlignment = Enum.TextXAlignment.Left

-- Window Controls
CloseButton.Parent = TopBar
CloseButton.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
CloseButton.Position = UDim2.new(1, -30, 0, 6)
CloseButton.Size = UDim2.new(0, 24, 0, 24)
CloseButton.Font = Enum.Font.GothamBold
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.TextSize = 12
Instance.new("UICorner", CloseButton).CornerRadius = UDim.new(0, 4)
CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end)

MinimizeButton.Parent = TopBar
MinimizeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 100)
MinimizeButton.Position = UDim2.new(1, -60, 0, 6)
MinimizeButton.Size = UDim2.new(0, 24, 0, 24)
MinimizeButton.Font = Enum.Font.GothamBold
MinimizeButton.Text = "-"
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButton.TextSize = 14
Instance.new("UICorner", MinimizeButton).CornerRadius = UDim.new(0, 4)

local isMinimized = false
MinimizeButton.MouseButton1Click:Connect(function()
    isMinimized = not isMinimized
    ScrollingFrame.Visible = not isMinimized
    BottomBar.Visible = not isMinimized
    MainFrame.Size = isMinimized and UDim2.new(0, 560, 0, 35) or UDim2.new(0, 560, 0, 580)
end)

-- Text Area Setup
ScrollingFrame.Parent = MainFrame
ScrollingFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
ScrollingFrame.Position = UDim2.new(0, 10, 0, 45)
ScrollingFrame.Size = UDim2.new(1, -20, 1, -265)
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
ScrollingFrame.ScrollBarThickness = 6
Instance.new("UICorner", ScrollingFrame).CornerRadius = UDim.new(0, 6)

TextBox.Parent = ScrollingFrame
TextBox.BackgroundTransparency = 1
TextBox.Size = UDim2.new(1, -10, 1, 0)
TextBox.AutomaticSize = Enum.AutomaticSize.Y
TextBox.ClearTextOnFocus = false
TextBox.MultiLine = true
TextBox.Font = Enum.Font.Code
TextBox.PlaceholderText = "Type notes or use the logging, hub and utility tools below..."
TextBox.PlaceholderColor3 = Color3.fromRGB(100, 100, 120)
TextBox.Text = ""
TextBox.TextColor3 = Color3.fromRGB(230, 230, 250)
TextBox.TextSize = 13
TextBox.TextXAlignment = Enum.TextXAlignment.Left
TextBox.TextYAlignment = Enum.TextYAlignment.Top

-- Toolbar Container
BottomBar.Parent = MainFrame
BottomBar.BackgroundTransparency = 1
BottomBar.Position = UDim2.new(0, 10, 1, -210)
BottomBar.Size = UDim2.new(1, -20, 0, 205)

local function applyButtonStyles(btn, color)
    btn.BackgroundColor3 = color
    btn.Font = Enum.Font.GothamBold
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextSize = 11
    Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
end

-- ROW 1: Clear, Copy, Save File
ClearButton.Parent = BottomBar
ClearButton.Position = UDim2.new(0, 0, 0, 0)
ClearButton.Size = UDim2.new(0.32, 0, 0, 28)
ClearButton.Text = "Clear"
applyButtonStyles(ClearButton, Color3.fromRGB(180, 50, 50))
ClearButton.MouseButton1Click:Connect(function() TextBox.Text = "" end)

CopyButton.Parent = BottomBar
CopyButton.Position = UDim2.new(0.34, 0, 0, 0)
CopyButton.Size = UDim2.new(0.32, 0, 0, 28)
CopyButton.Text = "Copy All"
applyButtonStyles(CopyButton, Color3.fromRGB(50, 120, 200))
CopyButton.MouseButton1Click:Connect(function()
    if pcall(function() setclipboard(TextBox.Text) end) then
        CopyButton.Text = "Copied!"
        task.wait(1.5)
        CopyButton.Text = "Copy All"
    else
        TextBox.Text = TextBox.Text .. "\nāš ļø Clipboard error: Executor unsupported.\n"
    end
end)

SaveButton.Parent = BottomBar
SaveButton.Position = UDim2.new(0.68, 0, 0, 0)
SaveButton.Size = UDim2.new(0.32, 0, 0, 28)
SaveButton.Text = "Save to File"
applyButtonStyles(SaveButton, Color3.fromRGB(120, 60, 180))
SaveButton.MouseButton1Click:Connect(function()
    local filename = "NotepadLog_" .. math.floor(os.time()) .. ".txt"
    if type(writefile) == "function" then
        local success, err = pcall(function() writefile(filename, TextBox.Text) end)
        if success then
            TextBox.Text = TextBox.Text .. "\nāœ… Saved to workspace as: " .. filename .. "\n"
        else
            TextBox.Text = TextBox.Text .. "\nāŒ Failed to save file: " .. tostring(err) .. "\n"
        end
    else
        TextBox.Text = TextBox.Text .. "\nāš ļø writefile() not supported by your executor.\n"
    end
end)

-- ROW 2: Event Log, Console Log
EventLogButton.Parent = BottomBar
EventLogButton.Position = UDim2.new(0, 0, 0, 34)
EventLogButton.Size = UDim2.new(0.48, 0, 0, 28)
EventLogButton.Text = "Event Log (Chat/Whisper): OFF"
applyButtonStyles(EventLogButton, Color3.fromRGB(80, 80, 95))

local isLoggingEvents = false
local eventConnections = {}

EventLogButton.MouseButton1Click:Connect(function()
    isLoggingEvents = not isLoggingEvents
    if isLoggingEvents then
        EventLogButton.BackgroundColor3 = Color3.fromRGB(50, 160, 80)
        EventLogButton.Text = "Event Log: ON"
        TextBox.Text = TextBox.Text .. "\n--- [ Chat, Whisper & Join Logs Started ] ---\n"
        
        local function hookPlayerChat(player)
            if eventConnections[player] then return end
            eventConnections[player] = player.Chatted:Connect(function(message)
                if isLoggingEvents then
                    TextBox.Text = TextBox.Text .. "[" .. os.date("%H:%M:%S") .. "] šŸ’¬ " .. player.Name .. ": " .. message .. "\n"
                end
            end)
        end
        
        for _, p in ipairs(Players:GetPlayers()) do hookPlayerChat(p) end
        
        eventConnections["PlayerAdded"] = Players.PlayerAdded:Connect(function(player)
            TextBox.Text = TextBox.Text .. "[" .. os.date("%H:%M:%S") .. "] 🟢 JOINED: " .. player.Name .. "\n"
            hookPlayerChat(player)
        end)
        
        eventConnections["PlayerRemoving"] = Players.PlayerRemoving:Connect(function(player)
            TextBox.Text = TextBox.Text .. "[" .. os.date("%H:%M:%S") .. "] šŸ”“ LEFT: " .. player.Name .. "\n"
            if eventConnections[player] then eventConnections[player]:Disconnect(); eventConnections[player] = nil end
        end)
        
        if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
            eventConnections["TextChatMsg"] = TextChatService.MessageReceived:Connect(function(msg)
                if isLoggingEvents and msg.TextSource then
                    local speaker = Players:GetPlayerByUserId(msg.TextSource.UserId)
                    local sName = speaker and speaker.Name or "Unknown"
                    local cName = msg.TextChannel.Name
                    if cName:lower():find("whisper") or cName:lower():find("dm") or msg.PrefixText:lower():find("whisper") then
                        TextBox.Text = TextBox.Text .. "[" .. os.date("%H:%M:%S") .. "] šŸ”’ WHISPER from " .. sName .. ": " .. msg.Text .. "\n"
                    end
                end
            end)
        end
    else
        EventLogButton.BackgroundColor3 = Color3.fromRGB(80, 80, 95)
        EventLogButton.Text = "Event Log (Chat/Whisper): OFF"
        TextBox.Text = TextBox.Text .. "\n--- [ Event Logging Stopped ] ---\n"
        for _, conn in pairs(eventConnections) do if typeof(conn) == "RBXScriptConnection" then conn:Disconnect() end end
        eventConnections = {}
    end
end)

ConsoleLogButton.Parent = BottomBar
ConsoleLogButton.Position = UDim2.new(0.52, 0, 0, 34)
ConsoleLogButton.Size = UDim2.new(0.48, 0, 0, 28)
ConsoleLogButton.Text = "Console Log: OFF"
applyButtonStyles(ConsoleLogButton, Color3.fromRGB(80, 80, 95))

local isLoggingConsole = false
local consoleConnection = nil

ConsoleLogButton.MouseButton1Click:Connect(function()
    isLoggingConsole = not isLoggingConsole
    if isLoggingConsole then
        ConsoleLogButton.BackgroundColor3 = Color3.fromRGB(50, 160, 80)
        ConsoleLogButton.Text = "Console Log: ON"
        TextBox.Text = TextBox.Text .. "\n--- [ Developer Console Logging Started ] ---\n"
        
        consoleConnection = LogService.MessageOut:Connect(function(message, messageType)
            local prefix = "ā„¹ļø [INFO]"
            if messageType == Enum.MessageType.MessageWarning then prefix = "āš ļø [WARN]"
            elseif messageType == Enum.MessageType.MessageError then prefix = "āŒ [ERROR]" end
            TextBox.Text = TextBox.Text .. prefix .. " " .. message .. "\n"
        end)
    else
        ConsoleLogButton.BackgroundColor3 = Color3.fromRGB(80, 80, 95)
        ConsoleLogButton.Text = "Console Log: OFF"
        TextBox.Text = TextBox.Text .. "\n--- [ Console Logging Stopped ] ---\n"
        if consoleConnection then consoleConnection:Disconnect(); consoleConnection = nil end
    end
end)

-- ROW 3: Log All Servers, Ultimate Hub
LogServersButton.Parent = BottomBar
LogServersButton.Position = UDim2.new(0, 0, 0, 68)
LogServersButton.Size = UDim2.new(0.48, 0, 0, 28)
LogServersButton.Text = "Log All Servers"
applyButtonStyles(LogServersButton, Color3.fromRGB(150, 100, 40))

local function Fetch(url)
    if type(request) == "function" then return request({Url = url, Method = "GET"}).Body
    elseif type(http_request) == "function" then return http_request({Url = url, Method = "GET"}).Body
    elseif type(game.HttpGet) == "function" then return game:HttpGet(url)
    else error("Executor HTTP not supported.") end
end

local isScanning = false
LogServersButton.MouseButton1Click:Connect(function()
    if isScanning then return end
    isScanning = true
    LogServersButton.Text = "Logging..."
    TextBox.Text = TextBox.Text .. "\n--- [ Logging All Available Servers... ] ---\n"
    
    task.spawn(function()
        local cursor, totalLogged, pagesFetched = "", 0, 0
        repeat
            local success, result = pcall(function()
                local url = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/public?sortOrder=Asc&limit=100"
                if cursor ~= "" then url = url .. "&cursor=" .. cursor end
                return HttpService:JSONDecode(Fetch(url))
            end)
            
            if success and result and result.data then
                local batch = ""
                for _, s in ipairs(result.data) do
                    batch = batch .. string.format("ID: %s | (%s/%s)\n", tostring(s.id), tostring(s.playing), tostring(s.maxPlayers))
                    totalLogged = totalLogged + 1
                end
                TextBox.Text = TextBox.Text .. batch
                cursor = result.nextPageCursor
                pagesFetched = pagesFetched + 1
            else
                break
            end
            task.wait(0.5)
        until not cursor or cursor == "" or pagesFetched >= 20
        TextBox.Text = TextBox.Text .. string.format("--- [ Finished: Logged %d Servers ] ---\n\n", totalLogged)
        LogServersButton.Text = "Log All Servers"
        isScanning = false
    end)
end)

UltimateHubButton.Parent = BottomBar
UltimateHubButton.Position = UDim2.new(0.52, 0, 0, 68)
UltimateHubButton.Size = UDim2.new(0.48, 0, 0, 28)
UltimateHubButton.Text = "Load Ultimate Hub"
applyButtonStyles(UltimateHubButton, Color3.fromRGB(200, 100, 50))

UltimateHubButton.MouseButton1Click:Connect(function()
    UltimateHubButton.Text = "Loading Hub..."
    local success, err = pcall(function()
        loadstring(game:HttpGet("https://ksmscript.lovable.app/s/e4227c5d"))()
    end)
    if success then
        TextBox.Text = TextBox.Text .. "\nāœ… Ultimate Hub executed successfully!\n"
    else
        TextBox.Text = TextBox.Text .. "\nāŒ Failed to load Ultimate Hub: " .. tostring(err) .. "\n"
    end
    UltimateHubButton.Text = "Load Ultimate Hub"
end)

-- ROW 4: VapeVoidware & Infinite Yield Loaders
VapeVoidwareButton.Parent = BottomBar
VapeVoidwareButton.Position = UDim2.new(0, 0, 0, 102)
VapeVoidwareButton.Size = UDim2.new(0.48, 0, 0, 28)
VapeVoidwareButton.Text = "Load VapeVoidware"
applyButtonStyles(VapeVoidwareButton, Color3.fromRGB(90, 60, 160))

VapeVoidwareButton.MouseButton1Click:Connect(function()
    VapeVoidwareButton.Text = "Loading Vape..."
    local success, err = pcall(function()
        loadstring(game:HttpGet("https://files.vapevoidware.xyz/VapeVoidware/VW-Add/main/loader.lua", true))()
    end)
    if success then
        TextBox.Text = TextBox.Text .. "\nāœ… VapeVoidware loaded successfully!\n"
    else
        TextBox.Text = TextBox.Text .. "\nāŒ Failed to load VapeVoidware: " .. tostring(err) .. "\n"
    end
    VapeVoidwareButton.Text = "Load VapeVoidware"
end)

InfYieldButton.Parent = BottomBar
InfYieldButton.Position = UDim2.new(0.52, 0, 0, 102)
InfYieldButton.Size = UDim2.new(0.48, 0, 0, 28)
InfYieldButton.Text = "Load Infinite Yield"
applyButtonStyles(InfYieldButton, Color3.fromRGB(50, 130, 180))

InfYieldButton.MouseButton1Click:Connect(function()
    InfYieldButton.Text = "Loading IY..."
    local success, err = pcall(function()
        loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
    end)
    if success then
        TextBox.Text = TextBox.Text .. "\nāœ… Infinite Yield loaded successfully!\n"
    else
        TextBox.Text = TextBox.Text .. "\nāŒ Failed to load Infinite Yield: " .. tostring(err) .. "\n"
    end
    InfYieldButton.Text = "Load Infinite Yield"
end)

-- ROW 5: Join Random Server & Discord Link
JoinRandomButton.Parent = BottomBar
JoinRandomButton.Position = UDim2.new(0, 0, 0, 136)
JoinRandomButton.Size = UDim2.new(0.48, 0, 0, 28)
JoinRandomButton.Text = "šŸš€ Join Random Server"
applyButtonStyles(JoinRandomButton, Color3.fromRGB(40, 150, 110))

JoinRandomButton.MouseButton1Click:Connect(function()
    JoinRandomButton.Text = "Searching Server..."
    task.spawn(function()
        local success, result = pcall(function()
            local url = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/public?sortOrder=Asc&limit=100"
            return HttpService:JSONDecode(Fetch(url))
        end)
        
        if success and result and result.data then
            local availableServers = {}
            for _, s in ipairs(result.data) do
                if s.id ~= game.JobId and s.playing < s.maxPlayers then
                    table.insert(availableServers, s.id)
                end
            end
            
            if #availableServers > 0 then
                local randomId = availableServers[math.random(1, #availableServers)]
                TextBox.Text = TextBox.Text .. "\nšŸš€ Teleporting to random server: " .. randomId .. "\n"
                JoinRandomButton.Text = "Teleporting..."
                pcall(function()
                    TeleportService:TeleportToPlaceInstance(game.PlaceId, randomId, LocalPlayer)
                end)
            else
                TextBox.Text = TextBox.Text .. "\nāš ļø No alternative servers found to join.\n"
                JoinRandomButton.Text = "šŸš€ Join Random Server"
            end
        else
            TextBox.Text = TextBox.Text .. "\nāŒ Failed to fetch server list for teleporting.\n"
            JoinRandomButton.Text = "šŸš€ Join Random Server"
        end
    end)
end)

DiscordButton.Parent = BottomBar
DiscordButton.Position = UDim2.new(0.52, 0, 0, 136)
DiscordButton.Size = UDim2.new(0.48, 0, 0, 28)
DiscordButton.Text = "šŸ’¬ Copy Discord"
applyButtonStyles(DiscordButton, Color3.fromRGB(88, 101, 242))

DiscordButton.MouseButton1Click:Connect(function()
    local inviteUrl = "https://discord.gg/5hE4sjZH4"
    if pcall(function() setclipboard(inviteUrl) end) then
        DiscordButton.Text = "Discord Copied!"
        TextBox.Text = TextBox.Text .. "\nāœ… Discord invite copied to clipboard: " .. inviteUrl .. "\n"
        task.wait(1.5)
        DiscordButton.Text = "šŸ’¬ Copy Discord"
    else
        TextBox.Text = TextBox.Text .. "\nāš ļø Clipboard error: Executor unsupported. Discord: " .. inviteUrl .. "\n"
    end
end)

-- ROW 6: Ultimate Hub (Pastebin Loader)
CustomScriptButton.Parent = BottomBar
CustomScriptButton.Position = UDim2.new(0, 0, 0, 170)
CustomScriptButton.Size = UDim2.new(1, 0, 0, 28)
CustomScriptButton.Text = "⚔ Ultimate Hub"
applyButtonStyles(CustomScriptButton, Color3.fromRGB(180, 120, 30))

CustomScriptButton.MouseButton1Click:Connect(function()
    CustomScriptButton.Text = "Loading Script..."
    local success, err = pcall(function()
        loadstring(game:HttpGet("https://pastebin.com/raw/HqsrUjdk"))()
    end)
    if success then
        TextBox.Text = TextBox.Text .. "\nāœ… Ultimate Hub executed successfully!\n"
    else
        TextBox.Text = TextBox.Text .. "\nāŒ Failed to load Ultimate Hub: " .. tostring(err) .. "\n"
    end
    CustomScriptButton.Text = "⚔ Ultimate Hub"
end)

-- ==========================================
-- LOGIN VERIFICATION EVENT LOGIC
-- ==========================================
LoginButton.MouseButton1Click:Connect(function()
    if PassBox.Text == "adminbug" then
        LoginFrame:Destroy()
        MainFrame.Visible = true
    else
        ErrorLabel.Text = "āŒ Incorrect Password!"
        task.wait(1.5)
        ErrorLabel.Text = ""
    end
end)

PassBox.FocusLost:Connect(function(enterPressed)
    if enterPressed then
        if PassBox.Text == "adminbug" then
            LoginFrame:Destroy()
            MainFrame.Visible = true
        else
            ErrorLabel.Text = "āŒ Incorrect Password!"
            task.wait(1.5)
            ErrorLabel.Text = ""
        end
    end
end)

Features & Information

Logs notepad

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts