-- Random Hub Script local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "RandomHub" screenGui.Parent = player.PlayerGui -- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 400, 0, 500) mainFrame.Position = UDim2.new(0.5, -200, 0.5, -250) mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mainFrame.BorderColor3 = Color3.fromRGB(255, 255, 255) mainFrame.BorderSizePixel = 4 mainFrame.Visible = false mainFrame.Parent = screenGui -- Toggle Button local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 150, 0, 50) toggleButton.Position = UDim2.new(0.5, -75, 0.9, 0) toggleButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0) toggleButton.Text = "Open Random Hub" toggleButton.Parent = screenGui toggleButton.MouseButton1Click:Connect(function() mainFrame.Visible = not mainFrame.Visible end) -- Change Color Button local colorButton = Instance.new("TextButton") colorButton.Size = UDim2.new(0, 250, 0, 50) colorButton.Position = UDim2.new(0.5, -125, 0, 50) colorButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) colorButton.Text = "Change Color" colorButton.Parent = mainFrame colorButton.MouseButton1Click:Connect(function() local randomColor = Color3.fromHSV(math.random(), 1, 1) mainFrame.BackgroundColor3 = randomColor end) -- Speed Button local speedButton = Instance.new("TextButton") speedButton.Size = UDim2.new(0, 250, 0, 50) speedButton.Position = UDim2.new(0.5, -125, 0, 120) speedButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255) speedButton.Text = "Speed Boost" speedButton.Parent = mainFrame speedButton.MouseButton1Click:Connect(function() player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 150 end) -- Random Teleport Button local teleportButton = Instance.new("TextButton") teleportButton.Size = UDim2.new(0, 250, 0, 50) teleportButton.Position = UDim2.new(0.5, -125, 0, 190) teleportButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) teleportButton.Text = "Teleport" teleportButton.Parent = mainFrame teleportButton.MouseButton1Click:Connect(function() local randomPosition = Vector3.new(math.random(-50, 50), 10, math.random(-50, 50)) player.Character:SetPrimaryPartCFrame(CFrame.new(randomPosition)) end) -- Heal Button local healButton = Instance.new("TextButton") healButton.Size = UDim2.new(0, 250, 0, 50) healButton.Position = UDim2.new(0.5, -125, 0, 260) healButton.BackgroundColor3 = Color3.fromRGB(0, 128, 0) healButton.Text = "Heal" healButton.Parent = mainFrame healButton.MouseButton1Click:Connect(function() player.Character:FindFirstChildOfClass("Humanoid").Health = player.Character:FindFirstChildOfClass("Humanoid").MaxHealth end)