-- Randomized GUI Hub local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "RandomizedHub" 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(math.random(50, 255), math.random(50, 255), math.random(50, 255)) mainFrame.BorderSizePixel = 3 mainFrame.Parent = screenGui mainFrame.Visible = false local isHubOpen = false -- Toggle Button local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 200, 0, 50) toggleButton.Position = UDim2.new(0.5, -100, 0.9, 0) toggleButton.BackgroundColor3 = Color3.fromRGB(255, 150, 150) toggleButton.Text = "Open/Close Hub" toggleButton.Parent = screenGui toggleButton.MouseButton1Click:Connect(function() isHubOpen = not isHubOpen mainFrame.Visible = isHubOpen end) -- Random Features local function spawnRainbowPart() local part = Instance.new("Part") part.Size = Vector3.new(3, 3, 3) part.Position = player.Character.HumanoidRootPart.Position + Vector3.new(0, 5, 0) part.Anchored = true part.Color = Color3.new(math.random(), math.random(), math.random()) part.Parent = workspace game:GetService("Debris"):AddItem(part, 3) end local function invertColors() for _, descendant in ipairs(workspace:GetDescendants()) do if descendant:IsA("BasePart") then descendant.Color = Color3.new(1 - descendant.Color.R, 1 - descendant.Color.G, 1 - descendant.Color.B) end end end local function shrinkPlayer() local character = player.Character if character then for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part.Size = part.Size * 0.5 end end end end local function launchPlayer() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local root = player.Character.HumanoidRootPart root.Velocity = Vector3.new(0, 100, 0) end end local function explodePlayer() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local explosion = Instance.new("Explosion") explosion.Position = player.Character.HumanoidRootPart.Position explosion.BlastRadius = 10 explosion.Parent = workspace end end -- Buttons in Hub local features = { {"Spawn Rainbow Part", spawnRainbowPart}, {"Invert World Colors", invertColors}, {"Shrink Player", shrinkPlayer}, {"Launch Player", launchPlayer}, {"Explode Player", explodePlayer} } for i, feature in ipairs(features) do local button = Instance.new("TextButton") button.Size = UDim2.new(0, 350, 0, 50) button.Position = UDim2.new(0.5, -175, 0, 60 * (i - 1)) button.BackgroundColor3 = Color3.fromRGB(math.random(100, 255), math.random(100, 255), math.random(100, 255)) button.Text = feature[1] button.Parent = mainFrame button.MouseButton1Click:Connect(feature[2]) end -- Draggable GUI mainFrame.Active = true mainFrame.Draggable = true