Lorehub
Key Required

Lorehub

Brookhaven 🏡RPlorenzoantonioblooxlorenzoantoniobloox 585 views 2 executesUpdated Dec 23, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•65 lines (2186 chars)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")

local gui = Instance.new("ScreenGui", Players.LocalPlayer.PlayerGui)

local main = Instance.new("Frame", gui)
main.Size = UDim2.new(0, 500, 0, 320)
main.Position = UDim2.new(0.5, -250, 0.5, -160)
main.BackgroundColor3 = Color3.fromRGB(20,20,22)

Instance.new("UICorner", main).CornerRadius = UDim.new(0, 10)
local stroke = Instance.new("UIStroke", main)
stroke.Thickness = 2
stroke.Color = Color3.fromRGB(90,180,255)

-- Barra de abas
local tabBar = Instance.new("Frame", main)
tabBar.Size = UDim2.new(1,0,0,40)
tabBar.BackgroundColor3 = Color3.fromRGB(28,28,32)
Instance.new("UICorner", tabBar).CornerRadius = UDim.new(0, 10)

local underline = Instance.new("Frame", tabBar)
underline.Size = UDim2.new(0,120,0,3)
underline.Position = UDim2.new(0,0,1,-3)
underline.BackgroundColor3 = Color3.fromRGB(90,180,255)

local tabs = {"Home","Scripts","Config","Info"}
local contents = {}

for i,name in ipairs(tabs) do
    local btn = Instance.new("TextButton", tabBar)
    btn.Size = UDim2.new(0,120,1,0)
    btn.Position = UDim2.new(0,(i-1)*120,0,0)
    btn.BackgroundTransparency = 1
    btn.Text = name
    btn.TextColor3 = Color3.fromRGB(200,210,220)
    btn.Font = Enum.Font.Code
    btn.TextSize = 18

    local content = Instance.new("Frame", main)
    content.Size = UDim2.new(1,0,1,-40)
    content.Position = UDim2.new(0,0,0,40)
    content.BackgroundColor3 = Color3.fromRGB(16,16,18)
    content.Visible = (i==1)

    local label = Instance.new("TextLabel", content)
    label.Size = UDim2.new(1,-20,1,-20)
    label.Position = UDim2.new(0,10,0,10)
    label.BackgroundTransparency = 1
    label.Text = "Aba: "..name
    label.TextColor3 = Color3.fromRGB(235,235,240)
    label.TextScaled = true
    label.Font = Enum.Font.Code

    contents[i] = content

    btn.MouseButton1Click:Connect(function()
        for _,c in ipairs(contents) do c.Visible = false end
        content.Visible = true

        TweenService:Create(underline, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
            Position = UDim2.new(0,(i-1)*120,1,-3)
        }):Play()
    end)
end

Features & Information

Beta versão

Community Comments (1)

NinjastrongNinjastrongDec 23, 2025

THE SCRIPT IS GOOD, BRO, KEEP UP THE WORK

More Scripts for Brookhaven 🏡RP