-- Randomized GUI Hub local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Parent = player.PlayerGui local hubName = "Nova Hub" -- Random hub name -- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 350, 0, 450) mainFrame.Position = UDim2.new(0.5, -175, 0.5, -225) mainFrame.BackgroundColor3 = Color3.fromRGB(60, 60, 200) mainFrame.BorderSizePixel = 2 mainFrame.Visible = false mainFrame.Parent = screenGui local isOpen = false -- Open/Close Button local openCloseButton = Instance.new("TextButton") openCloseButton.Size = UDim2.new(0, 200, 0, 50) openCloseButton.Position = UDim2.new(0.5, -100, 0.9, 0) openCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) openCloseButton.Text = hubName .. " - Open/Close" openCloseButton.Parent = screenGui openCloseButton.MouseButton1Click:Connect(function() isOpen = not isOpen mainFrame.Visible = isOpen end) -- Randomized Features local function teleportRandomly() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local randomX = math.random(-500, 500) local randomZ = math.random(-500, 500) player.Character.HumanoidRootPart.CFrame = CFrame.new(randomX, 50, randomZ) end end local function createFireTrail() if player.Character then for _, part in pairs(player.Character:GetDescendants()) do if part:IsA("BasePart") then local fire = Instance.new("Fire") fire.Parent = part end end end end local function removeFireTrail() if player.Character then for _, part in pairs(player.Character:GetDescendants()) do if part:IsA("BasePart") and part:FindFirstChild("Fire") then part.Fire:Destroy() end end end end local function spawnRandomPart() local randomPart = Instance.new("Part") randomPart.Size = Vector3.new(math.random(1, 10), math.random(1, 10), math.random(1, 10)) randomPart.Position = Vector3.new(math.random(-50, 50), 20, math.random(-50, 50)) randomPart.Color = Color3.new(math.random(), math.random(), math.random()) randomPart.Anchored = true randomPart.Parent = workspace end local function toggleSpeedBoost() if player.Character and player.Character:FindFirstChild("Humanoid") then local humanoid = player.Character.Humanoid humanoid.WalkSpeed = humanoid.WalkSpeed == 16 and 50 or 16 end end local function shrinkPlayer() if player.Character then for _, part in pairs(player.Character:GetDescendants()) do if part:IsA("BasePart") and not part.Name:match("Root") then part.Size = part.Size * 0.5 end end end end -- Buttons local buttonData = { {"Teleport Randomly", teleportRandomly}, {"Create Fire Trail", createFireTrail}, {"Remove Fire Trail", removeFireTrail}, {"Spawn Random Part", spawnRandomPart}, {"Toggle Speed Boost", toggleSpeedBoost}, {"Shrink Player", shrinkPlayer}, } for i, data in ipairs(buttonData) do local button = Instance.new("TextButton") button.Size = UDim2.new(0, 300, 0, 50) button.Position = UDim2.new(0.5, -150, 0, (i - 1) * 60) button.BackgroundColor3 = Color3.fromRGB(255, 255, 255) button.Text = data[1] button.Parent = mainFrame button.MouseButton1Click:Connect(data[2]) end -- Draggable GUI mainFrame.Active = true mainFrame.Draggable = true