My hub beta
Key RequiredUniversal

My hub beta

Universal Scriptsilly_hackersilly_hacker 2.2K views 21 executesUpdated Mar 20, 2025
Unrated
00
Lua Script•163 lines (6136 chars)
-- Creating the GUI
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local UIListLayout = Instance.new("UIListLayout")
local ToggleButton = Instance.new("TextButton")
 
-- GUI Properties
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
Frame.Parent = ScreenGui
Frame.Size = UDim2.new(0, 400, 0, 500)  -- Increased size
Frame.Position = UDim2.new(0, 10, 0, 10)
Frame.BackgroundColor3 = Color3.fromRGB(128, 0, 128)  -- Purple color
Frame.Visible = true -- Initial state visible
 
UIListLayout.Parent = Frame
UIListLayout.Padding = UDim.new(0, 5)
 
-- Toggle Button Properties
ToggleButton.Parent = ScreenGui
ToggleButton.Size = UDim2.new(0, 100, 0, 30)
ToggleButton.Position = UDim2.new(0, 10, 0, 520)
ToggleButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Text = "Just a Hub"  -- Changed to "Just a Hub"
 
ToggleButton.MouseButton1Click:Connect(function()
    Frame.Visible = not Frame.Visible
end)
 
-- No Clip Button Properties
local noClipButton = Instance.new("TextButton")
noClipButton.Parent = Frame  -- Placing it inside the Frame (Hub)
noClipButton.Size = UDim2.new(1, 0, 0, 30)
noClipButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
noClipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
noClipButton.Text = "No Clip Basic"  -- Name of the new button
 
-- Clip Button Properties (smaller size and movable)
local clipButton = Instance.new("TextButton")
clipButton.Parent = Frame  -- Placing it inside the Frame (Hub)
clipButton.Size = UDim2.new(0, 80, 0, 30)  -- Reduced size
clipButton.Position = UDim2.new(0, 10, 0, 40)  -- Positioning the smaller clip button
clipButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
clipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
clipButton.Text = "Clip Basic"  -- Name of the new button
 
-- Making the clip button movable
clipButton.Draggable = true  -- Allow dragging
 
-- No Clip Functionality
local noClipEnabled = false
noClipButton.MouseButton1Click:Connect(function()
    local player = game.Players.LocalPlayer
    local character = player.Character
    local humanoid = character:FindFirstChildOfClass("Humanoid")
 
    if character and humanoid then
        noClipEnabled = not noClipEnabled
        if noClipEnabled then
            for _, part in pairs(character:GetChildren()) do
                if part:IsA("BasePart") then
                    part.CanCollide = false  -- Disable collision for all parts
                end
            end
            print("No Clip enabled")
        else
            for _, part in pairs(character:GetChildren()) do
                if part:IsA("BasePart") then
                    part.CanCollide = true  -- Enable collision for all parts
                end
            end
            print("No Clip disabled")
        end
    end
end)
 
-- Clip Functionality
local clipEnabled = false
clipButton.MouseButton1Click:Connect(function()
    local player = game.Players.LocalPlayer
    local character = player.Character
    local humanoid = character:FindFirstChildOfClass("Humanoid")
 
    if character and humanoid then
        clipEnabled = not clipEnabled
        if clipEnabled then
            -- Enabling clip (allows the player to walk through walls, similar to No Clip)
            humanoid:ChangeState(Enum.HumanoidStateType.Physics)
            print("Clip enabled")
        else
            -- Disabling clip (restore normal state)
            humanoid:ChangeState(Enum.HumanoidStateType.Seated)
            print("Clip disabled")
        end
    end
end)
 
-- List of available scripts
local scripts = {
    {name = "Speed Hack", code = "game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100"},
    {name = "Jump Boost", code = "game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150"},
    {name = "Basic ESP", code = [[
        for _, player in pairs(game.Players:GetPlayers()) do
            if player ~= game.Players.LocalPlayer and player.Character then
                local highlight = Instance.new("Highlight")
                highlight.Adornee = player.Character
                highlight.Parent = player.Character
                highlight.FillColor = Color3.fromRGB(255, 0, 0)
                highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
            end
        end
    ]]},
    {name = "Copy Username Tool", code = [[
        local tool = Instance.new("Tool")
        tool.Name = "Copy Username"
        tool.RequiresHandle = false
 
        tool.Activated:Connect(function()
            local player = game.Players.LocalPlayer
            local mouse = player:GetMouse()
            local target = mouse.Target
 
            if target and target.Parent and game.Players:GetPlayerFromCharacter(target.Parent) then
                local targetPlayer = game.Players:GetPlayerFromCharacter(target.Parent)
                setclipboard(targetPlayer.Name)
                print("Copied username: " .. targetPlayer.Name)
            end
        end)
 
        tool.Parent = game.Players.LocalPlayer.Backpack
    ]]},
    {name = "Teleport Tool", code = [[
        local tool = Instance.new("Tool")
        tool.Name = "Teleport Tool"
        tool.RequiresHandle = false
 
        tool.Activated:Connect(function()
            local player = game.Players.LocalPlayer
            local mouse = player:GetMouse()
            local targetPosition = mouse.Hit.p
 
            -- Teleport the player to the clicked position
            player.Character:MoveTo(targetPosition)
            print("Player teleported to: " .. tostring(targetPosition))
        end)
 
        tool.Parent = game.Players.LocalPlayer.Backpack
    ]]} 
}
 
-- Creating buttons for the scripts
table.foreach(scripts, function(_, scriptData)
    local button = Instance.new("TextButton")
    button.Parent = Frame
    button.Size = UDim2.new(1, 0, 0, 50)
    button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.Text = scriptData.name
 
    button.MouseButton1Click:Connect(function()
        loadstring(scriptData.code)()
    end)
end)

Features & Information

Beta i just create this

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts