Pepsi hub V3 original
Key Required

Pepsi hub V3 original

Brookhaven 🏡RPPepsi_manscriptetPepsi_manscriptet 965 views 46 executesUpdated Nov 22, 2025
Unrated
00
Lua Script•284 lines (9698 chars)
-- Pepsi Hub Mobile — Completo e funcional entre usuários do Hub
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Workspace = game:GetService("Workspace")
local HUB_VISIBLE = false
local MUSIC_ID = "rbxassetid://103409297553965"
local CLICK_ID = "rbxassetid://12221976"

-- Marca o usuário como usando o Hub
_G.PEPSIHUB_USER = true

-- Função tocar som
local function playSound(id)
    local s = Instance.new("Sound", Workspace)
    s.SoundId = id
    s.Volume = 0.5
    s:Play()
    s.Ended:Connect(function() s:Destroy() end)
end

-- GUI principal
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "PepsiHubGUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = Player:WaitForChild("PlayerGui")

local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 500, 0, 500)
MainFrame.Position = UDim2.new(0.5, -250, 0.5, -250)
MainFrame.BackgroundColor3 = Color3.fromRGB(20,20,20)
MainFrame.Visible = HUB_VISIBLE
MainFrame.Parent = ScreenGui

local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1,0,0,40)
Title.BackgroundColor3 = Color3.fromRGB(0,0,0)
Title.TextColor3 = Color3.fromRGB(0,255,255)
Title.TextScaled = true
Title.Text = "Pepsi Hub - "..Player.Name
Title.Parent = MainFrame

local InfoLabel = Instance.new("TextLabel")
InfoLabel.Size = UDim2.new(0,250,0,50)
InfoLabel.Position = UDim2.new(0,200,0,0)
InfoLabel.BackgroundColor3 = Color3.fromRGB(10,10,10)
InfoLabel.TextColor3 = Color3.fromRGB(0,255,255)
InfoLabel.TextScaled = true
InfoLabel.Text = "Nick: "..Player.Name.."\nServer: "..game.PlaceId
InfoLabel.TextWrapped = true
InfoLabel.Parent = MainFrame

-- Botão P flutuante
local PButton = Instance.new("TextButton")
PButton.Size = UDim2.new(0,50,0,50)
PButton.Position = UDim2.new(0,10,0,10)
PButton.Text = "P"
PButton.BackgroundColor3 = Color3.fromRGB(0,128,255)
PButton.TextColor3 = Color3.fromRGB(255,255,255)
PButton.TextScaled = true
PButton.Parent = ScreenGui
PButton.MouseButton1Click:Connect(function()
    HUB_VISIBLE = not HUB_VISIBLE
    MainFrame.Visible = HUB_VISIBLE
    playSound(CLICK_ID)
end)

-- Função criar botão
local function createButton(parent,text,posX,posY,width,height,callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0,width,0,height)
    btn.Position = UDim2.new(0,posX,0,posY)
    btn.BackgroundColor3 = Color3.fromRGB(0,128,255)
    btn.TextColor3 = Color3.fromRGB(255,255,255)
    btn.TextScaled = true
    btn.Text = text
    btn.Parent = parent
    btn.MouseButton1Click:Connect(function()
        playSound(CLICK_ID)
        callback()
    end)
    return btn
end

-- Admin — funções locais entre usuários do Hub
local function getHubPlayers()
    local list = {}
    for _,p in pairs(Players:GetPlayers()) do
        if p:FindFirstChild("PlayerGui") then -- simula todos como usuários Hub
            table.insert(list,p)
        end
    end
    return list
end

local function kick(target)
    if target and _G.PEPSIHUB_USER then
        target:LoadCharacter() -- simula kick local
    end
end
local function unjail(target)
    if target and _G.PEPSIHUB_USER then
        if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
            target.Character.HumanoidRootPart.CFrame = CFrame.new(0,5,0)
        end
    end
end
local function unice(target) print("Unice para "..target.Name) end
local function trollAdmin(target) print("Troll Admin para "..target.Name) end
local function ice(target)
    if target.Character then
        for _,p in pairs(target.Character:GetChildren()) do
            if p:IsA("BasePart") then
                p.Anchored = true
                p.Material = Enum.Material.Ice
            end
        end
    end
end
local function jail(target)
    if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
        target.Character.HumanoidRootPart.CFrame = CFrame.new(0,50,0)
    end
end

-- Set Nick estilo A (inclui você)
local function setNick()
    local hubPlayers = getHubPlayers()
    if #hubPlayers == 0 then return end

    local selectFrame = Instance.new("Frame")
    selectFrame.Size = UDim2.new(0,250,0,200)
    selectFrame.Position = UDim2.new(0.5,-125,0.5,-100)
    selectFrame.BackgroundColor3 = Color3.fromRGB(30,30,30)
    selectFrame.Parent = ScreenGui

    local startY = 10
    for i,p in pairs(hubPlayers) do
        local btn = Instance.new("TextButton")
        btn.Size = UDim2.new(0,230,0,35)
        btn.Position = UDim2.new(0,10,0,startY+(i-1)*45)
        btn.Text = p.Name
        btn.BackgroundColor3 = Color3.fromRGB(0,128,255)
        btn.TextColor3 = Color3.fromRGB(255,255,255)
        btn.TextScaled = true
        btn.Parent = selectFrame

        btn.MouseButton1Click:Connect(function()
            selectFrame:Destroy()
            local inputFrame = Instance.new("Frame")
            inputFrame.Size = UDim2.new(0,300,0,100)
            inputFrame.Position = UDim2.new(0.5,-150,0.5,-50)
            inputFrame.BackgroundColor3 = Color3.fromRGB(30,30,30)
            inputFrame.Parent = ScreenGui

            local textBox = Instance.new("TextBox")
            textBox.Size = UDim2.new(1,-20,0,50)
            textBox.Position = UDim2.new(0,10,0,10)
            textBox.PlaceholderText = "Digite o novo nick"
            textBox.Parent = inputFrame

            local confirmBtn = Instance.new("TextButton")
            confirmBtn.Size = UDim2.new(0,100,0,30)
            confirmBtn.Position = UDim2.new(0.5,-50,1,-40)
            confirmBtn.Text = "OK"
            confirmBtn.Parent = inputFrame

            confirmBtn.MouseButton1Click:Connect(function()
                local newNick = textBox.Text
                if newNick ~= "" then
                    p.DisplayName = newNick -- só afeta usuários Hub
                end
                inputFrame:Destroy()
            end)
        end)
    end
end

-- Local Player
local function invisibility()
    if Player.Character then
        for _,p in pairs(Player.Character:GetChildren()) do
            if p:IsA("BasePart") then
                p.Transparency = 1
                p.CanCollide = false
            end
        end
    end
end
local function setSpeed()
    if Player.Character and Player.Character:FindFirstChild("Humanoid") then
        Player.Character.Humanoid.WalkSpeed = 50
    end
end
local function setGravity() Workspace.Gravity = 50 end

-- Troll
local function spawnItem()
    if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
        local p = Instance.new("Part",Workspace)
        p.Size = Vector3.new(5,5,5)
        p.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(0,5,0)
        p.Anchored = false
        p.BrickColor = BrickColor.Random()
    end
end
local function funEffects()
    if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
        local p = Instance.new("Part",Workspace)
        p.Size = Vector3.new(2,2,2)
        p.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(0,5,0)
        p.BrickColor = BrickColor.Random()
        local bf = Instance.new("BodyForce",p)
        bf.Force = Vector3.new(0,500,0)
        game:GetService("Debris"):AddItem(p,5)
    end
end
local function esp()
    for _,p in pairs(getHubPlayers()) do
        if p.Character and not p.Character:FindFirstChild("PepsiESP") then
            local h = Instance.new("Highlight",p.Character)
            h.Name = "PepsiESP"
            h.FillColor = Color3.fromRGB(255,0,0)
            h.OutlineColor = Color3.fromRGB(255,255,0)
        end
    end
end
local function godMode()
    if Player.Character and Player.Character:FindFirstChild("Humanoid") then
        Player.Character.Humanoid.MaxHealth = math.huge
        Player.Character.Humanoid.Health = math.huge
    end
end

-- Extras / Info / Discord / Config
local function extraFun() print("Extra Fun") end
local function discordInfo()
    if setclipboard then
        setclipboard("https://discord.gg/s2dEr9AKz")
        print("Link do Discord copiado!")
    end
end
local function configHub() print("Vou adicionar coisas ainda") end

-- Sub-botões à direita
local currentButtons = {}
local function showCategory(funcs)
    for _,btn in pairs(currentButtons) do
        if btn then btn:Destroy() end
    end
    currentButtons = {}
    local startY = 60
    local posX = 200
    for i,f in pairs(funcs) do
        local b = createButton(MainFrame,f[1],posX,startY+(i-1)*45,160,35,f[2])
        table.insert(currentButtons,b)
    end
end

-- Botões principais à esquerda
local mainButtons = {
    {"Troll", {{"Spawn Item",spawnItem},{"Fun Effects",funEffects},{"ESP",esp},{"God Mode",godMode}}},
    {"Admin", {{"Kick",function() kick(getHubPlayers()[1]) end},{"Unjail",function() unjail(getHubPlayers()[1]) end},{"Unice",function() unice(getHubPlayers()[1]) end},{"Troll Admin",function() trollAdmin(getHubPlayers()[1]) end},{"Set Nick",setNick},{"Ice",function() ice(getHubPlayers()[1]) end},{"Jail",function() jail(getHubPlayers()[1]) end}}},
    {"Local Player", {{"Invisibilidade",invisibility},{"Velocidade",setSpeed},{"Gravidade",setGravity}}},
    {"Extras", {{"Extra Fun",extraFun}}},
    {"Info", {{"DISCORD",discordInfo}}},
    {"Configuração", {{"Vou adicionar coisas ainda",configHub}}}
}

local startY = 60
local spacing = 50
for i,cat in pairs(mainButtons) do
    createButton(MainFrame,cat[1],10,startY+(i-1)*spacing,180,40,function()
        showCategory(cat[2])
    end)
end

-- Música inicial
local s = Instance.new("Sound",Workspace)
s.SoundId = MUSIC_ID
s.Volume = 0.5
s:Play()
s.Ended:Connect(function() s:Destroy() end)

print("Pepsi Hub Mobile totalmente funcional entre usuários do Hub!")

Features & Information

Esse é o v3 de Pepsi hub
#Pepsi#HUUB

Community Comments (0)

No comments yet for this script.

More Scripts for Brookhaven 🏡RP