Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Full Voidstraps Mobile GUI with Logo Toggle and FFlags Tab -- Created for mobile executors (e.g., KRNL, Synapse X mobile)
- -- Services
- local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Name = "VoidstrapsMobileGUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui")
- -- Utility: Rounded Corners
- local function roundify(obj, rad) local uic = Instance.new("UICorner") uic.CornerRadius = UDim.new(0, rad) uic.Parent = obj end
- -- Utility: Tab Creation
- local function createTabButton(name, tabContainer, callback) local tab = Instance.new("TextButton") tab.Size = UDim2.new(0, 100, 1, 0) tab.Text = name tab.Font = Enum.Font.GothamBold tab.TextColor3 = Color3.new(1,1,1) tab.BackgroundColor3 = Color3.fromRGB(40,40,40) tab.BorderSizePixel = 0 roundify(tab, 6) tab.Parent = tabContainer tab.MouseButton1Click:Connect(callback) return tab end
- -- Main Frame
- local main = Instance.new("Frame") main.Size = UDim2.new(0.85, 0, 0.65, 0) main.Position = UDim2.new(0.075, 0, 0.2, 0) main.BackgroundColor3 = Color3.fromRGB(25, 25, 25) main.Visible = false main.BorderSizePixel = 0 main.Parent = gui roundify(main, 10)
- -- Header
- local header = Instance.new("TextLabel") header.Size = UDim2.new(1, 0, 0, 40) header.Position = UDim2.new(0, 0, 0, 0) header.BackgroundTransparency = 1 header.Text = "Voidstraps GUI" header.Font = Enum.Font.GothamBold header.TextSize = 20 header.TextColor3 = Color3.new(1, 1, 1) header.Parent = main
- -- Tab Buttons
- local tabBar = Instance.new("Frame") tabBar.Size = UDim2.new(1, 0, 0, 35) tabBar.Position = UDim2.new(0, 0, 0, 40) tabBar.BackgroundTransparency = 1 tabBar.Parent = main
- local tabLayout = Instance.new("UIListLayout") tabLayout.FillDirection = Enum.FillDirection.Horizontal tabLayout.SortOrder = Enum.SortOrder.LayoutOrder tabLayout.Padding = UDim.new(0, 6) tabLayout.Parent = tabBar
- -- Content Frame
- local content = Instance.new("Frame") content.Size = UDim2.new(1, -10, 1, -80) content.Position = UDim2.new(0, 5, 0, 80) content.BackgroundTransparency = 1 content.Name = "ContentFrame" content.Parent = main
- -- Tabs
- local tabs = {} local function showTab(name) for tabName, tabFrame in pairs(tabs) do tabFrame.Visible = (tabName == name) end end
- -- Main Tab
- local mainTab = Instance.new("Frame") mainTab.Size = UDim2.new(1, 0, 1, 0) mainTab.BackgroundTransparency = 1 mainTab.Visible = true mainTab.Parent = content tabs["Main"] = mainTab
- local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 0, 30) label.Position = UDim2.new(0, 0, 0, 10) label.BackgroundTransparency = 1 label.Text = "Welcome to Voidstraps GUI" label.Font = Enum.Font.GothamSemibold label.TextSize = 18 label.TextColor3 = Color3.fromRGB(255, 255, 255) label.Parent = mainTab
- -- Settings Tab
- local settingsTab = Instance.new("Frame") settingsTab.Size = UDim2.new(1, 0, 1, 0) settingsTab.BackgroundTransparency = 1 settingsTab.Visible = false settingsTab.Parent = content tabs["Settings"] = settingsTab
- -- About Tab
- local aboutTab = Instance.new("Frame") aboutTab.Size = UDim2.new(1, 0, 1, 0) aboutTab.BackgroundTransparency = 1 aboutTab.Visible = false aboutTab.Parent = content tabs["About"] = aboutTab
- local aboutLabel = Instance.new("TextLabel") aboutLabel.Size = UDim2.new(1, 0, 1, 0) aboutLabel.Position = UDim2.new(0, 0, 0, 0) aboutLabel.BackgroundTransparency = 1 aboutLabel.Text = "Voidstraps GUI\nMade by ChatGPT\nVersion 1.0" aboutLabel.TextWrapped = true aboutLabel.Font = Enum.Font.Gotham aboutLabel.TextSize = 18 aboutLabel.TextColor3 = Color3.fromRGB(200, 200, 200) aboutLabel.Parent = aboutTab
- -- FFlags Tab
- local fflagsTab = Instance.new("Frame") fflagsTab.Size = UDim2.new(1, 0, 1, 0) fflagsTab.BackgroundTransparency = 1 fflagsTab.Visible = false fflagsTab.Parent = content tabs["FFlags"] = fflagsTab
- local fflagLabel = Instance.new("TextLabel") fflagLabel.Size = UDim2.new(1, 0, 0, 25) fflagLabel.Position = UDim2.new(0, 0, 0, 0) fflagLabel.BackgroundTransparency = 1 fflagLabel.Text = "Paste your FFlags below:" fflagLabel.Font = Enum.Font.GothamBold fflagLabel.TextSize = 18 fflagLabel.TextColor3 = Color3.new(1, 1, 1) fflagLabel.TextXAlignment = Enum.TextXAlignment.Left fflagLabel.Parent = fflagsTab
- local fflagBox = Instance.new("TextBox") fflagBox.Size = UDim2.new(1, -10, 0, 150) fflagBox.Position = UDim2.new(0, 5, 0, 30) fflagBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) fflagBox.TextColor3 = Color3.new(1, 1, 1) fflagBox.Font = Enum.Font.Code fflagBox.TextSize = 14 fflagBox.ClearTextOnFocus = false fflagBox.MultiLine = true fflagBox.Text = "-- Paste FFlags config\ngetgenv().autosetup = {\n path = 'Bloxstrap',\n setup = true\n}\nloadstring(game:HttpGet('https://raw.githubusercontent.com/qwertyui-is-back/Bloxstrap/main/Initiate.lua'), 'lol')()" fflagBox.TextXAlignment = Enum.TextXAlignment.Left fflagBox.TextYAlignment = Enum.TextYAlignment.Top fflagBox.TextEditable = true fflagBox.RichText = true fflagBox.Parent = fflagsTab roundify(fflagBox, 6)
- local applyBtn = Instance.new("TextButton") applyBtn.Size = UDim2.new(0, 150, 0, 40) applyBtn.Position = UDim2.new(0, 5, 0, 190) applyBtn.BackgroundColor3 = Color3.fromRGB(60, 120, 255) applyBtn.Text = "Apply FFlags" applyBtn.Font = Enum.Font.GothamBold applyBtn.TextSize = 18 applyBtn.TextColor3 = Color3.new(1, 1, 1) applyBtn.Parent = fflagsTab roundify(applyBtn, 6) applyBtn.MouseButton1Click:Connect(function() local code = fflagBox.Text local success, result = pcall(loadstring(code)) if success then print("✅ FFlags config executed.") else warn("❌ Error:", result) end end)
- -- Create Tabs
- local tabNames = {"Main", "Settings", "About", "FFlags"} for _, name in ipairs(tabNames) do createTabButton(name, tabBar, function() showTab(name) end) end
- -- Toggle Button (Voidstraps logo style)
- local toggleBtn = Instance.new("ImageButton") toggleBtn.Size = UDim2.new(0, 50, 0, 50) toggleBtn.Position = UDim2.new(0, 15, 0, 15) toggleBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) toggleBtn.Image = "rbxassetid://16921089934" -- Replace with your Voidstraps logo ID toggleBtn.Parent = gui roundify(toggleBtn, 12)
- -- Show/hide toggle
- local open = false local function toggle() open = not open main.Visible = open end
- toggleBtn.MouseButton1Click:Connect(toggle)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement