-- Services local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Configuration local CORRECT_KEY = "Alvyrnscriptsgoated" -- --- UI CREATION --- local ScreenGui = Instance.new("ScreenGui", PlayerGui) ScreenGui.Name = "AlvyrnHub" -- Login Frame local LoginFrame = Instance.new("Frame", ScreenGui) LoginFrame.Size = UDim2.new(0, 300, 0, 150) LoginFrame.Position = UDim2.new(0.5, -150, 0.5, -75) LoginFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Instance.new("UICorner", LoginFrame) local KeyInput = Instance.new("TextBox", LoginFrame) KeyInput.Size = UDim2.new(0.8, 0, 0.3, 0) KeyInput.Position = UDim2.new(0.1, 0, 0.2, 0) KeyInput.PlaceholderText = "Enter Access Key" KeyInput.Text = "" local SubmitBtn = Instance.new("TextButton", LoginFrame) SubmitBtn.Size = UDim2.new(0.8, 0, 0.3, 0) SubmitBtn.Position = UDim2.new(0.1, 0, 0.6, 0) SubmitBtn.Text = "Login" SubmitBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) Instance.new("UICorner", SubmitBtn) -- Main Menu (Hidden initially) local MainMenu = Instance.new("Frame", ScreenGui) MainMenu.Visible = false MainMenu.Size = UDim2.new(0, 200, 0, 250) MainMenu.Position = UDim2.new(0.1, 0, 0.1, 0) MainMenu.BackgroundColor3 = Color3.fromRGB(30, 30, 30) -- --- LOGIC --- local function createButton(text, yPos, callback) local btn = Instance.new("TextButton", MainMenu) btn.Size = UDim2.new(0.9, 0, 0.15, 0) btn.Position = UDim2.new(0.05, 0, yPos, 0) btn.Text = text btn.MouseButton1Click:Connect(callback) end SubmitBtn.MouseButton1Click:Connect(function() if KeyInput.Text == CORRECT_KEY then LoginFrame.Visible = false MainMenu.Visible = true else KeyInput.Text = "ACCESS DENIED" task.wait(2) LocalPlayer:Kick("Invalid Access Key.") end end) -- Feature Logic createButton("Inf Speed", 0.05, function() LocalPlayer.Character.Humanoid.WalkSpeed = 100 end) createButton("Auto Open Chests", 0.25, function() -- Placeholder: Loop through workspace for objects named 'Chest' for _, obj in pairs(workspace:GetDescendants()) do if obj.Name:lower():find("chest") and obj:IsA("Model") then -- Logic to trigger proximity prompt or click print("Opening " .. obj.Name) end end end)