-- GrokGUI v1 by xAI -- Added "Join Discord (key)" button below Submit for key retrieval local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local HttpService = game:GetService("HttpService") local CoreGui = game:GetService("CoreGui") local UserInputService = game:GetService("UserInputService") local StarterGui = game:GetService("StarterGui") local Player = Players.LocalPlayer -- Global variables local ScreenGui local MainFrame local ContentFrame local ScrollFrame local SearchBar local currentTab local toggled = false local ToggleButton local scriptData = {} local favorites = {} local isMinimized = false local originalContentSize = UDim2.new(1, -120, 1, -40) -- Key System local correctKey = "Aremakerequest" local keyVerified = false -- Script Data Definition with working URLs scriptData = { Basics = { {name = "Infinite Yield", url = "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source", desc = "Powerful admin commands"}, {name = "Universal Fly", url = "https://pastebin.com/raw/WvH7bPTg", desc = "Fly anywhere"}, {name = "Speed Hack", url = "https://pastebin.com/raw/0m52kRnj", desc = "Increase walk speed"}, {name = "Noclip", url = "https://pastebin.com/raw/igniF5bx", desc = "Walk through walls"} }, Trolling = { {name = "FE Trolling GUI", url = "https://raw.githubusercontent.com/yofriendfromschool1/Sky-Hub/main/FE%20Trolling%20GUI.luau", desc = "Troll other players"}, {name = "Fling GUI", url = "https://pastebin.com/raw/4Qb7T8z5", desc = "Fling players"}, {name = "Grab Knife", url = "https://pastebin.com/raw/efA8gwR4", desc = "Grab and knife"}, {name = "Kidnap", url = "https://pastebin.com/raw/LQ3H2vsZ", desc = "Kidnap players"} }, Hubs = { {name = "Voidware Hub", url = "https://raw.githubusercontent.com/VapeVoidware/VW-Add/main/loader.lua", desc = "Multi-game hub"}, {name = "XVC Hub", url = "https://pastebin.com/raw/Piw5bqGq", desc = "Multi-game hub"}, {name = "Owl Hub", url = "https://pastebin.com/raw/M7v3xvhj", desc = "Popular hub"} }, Others = { {name = "Dark Dex Explorer", url = "https://gist.githubusercontent.com/dannythehacker/1781582ab545302f2b34afc4ec53e811/raw/dark%20dex%20v4", desc = "Explore game objects"}, {name = "Cookie Bypasser", url = "https://pastebin.com/raw/htuBy7F8", desc = "Bypass chat filter"}, {name = "Chat Spy", url = "https://pastebin.com/raw/fjBQgyC6", desc = "Spy on chats"}, {name = "ESP", url = "https://pastebin.com/raw/vUPSzMyP", desc = "Player ESP"} }, Executors = { {name = "SS Executor", url = "https://pastebin.com/raw/bkeEuqYe", desc = "Script executor"}, {name = "Project Lua", url = "https://pastebin.com/raw/tqEpTP1C", desc = "Lua executor loader"}, {name = "DrVex", url = "https://pastebin.com/raw/tqEpTP1C", desc = "Advanced executor loader"}, {name = "Xeno", url = "https://pastebin.com/raw/jtBVaqth", desc = "Free executor loader"} }, Combat = { {name = "Aimbot", url = "https://pastebin.com/raw/56bqMbeF", desc = "Auto aim"}, {name = "Kill Aura", url = "https://pastebin.com/raw/UcYTaTLp", desc = "Kill nearby"}, {name = "God Mode", url = "https://pastebin.com/raw/S8ArwuMR", desc = "Invincibility"}, {name = "Auto Farm", url = "https://pastebin.com/raw/dKD1tfvM", desc = "Auto farm resources"} } } -- Function Definitions local function createScriptButton(scriptInfo, scrollFrame, searchBar, favorites) local Button = Instance.new("TextButton") Button.Name = scriptInfo.name Button.Parent = scrollFrame Button.BackgroundColor3 = Color3.fromRGB(50, 50, 50) Button.BorderSizePixel = 0 Button.Size = UDim2.new(1, -10, 0, 60) Button.Font = Enum.Font.Gotham Button.Text = scriptInfo.name .. "\n" .. scriptInfo.desc Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 12 Button.TextYAlignment = Enum.TextYAlignment.Top local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 6) ButtonCorner.Parent = Button local FavoriteIcon = Instance.new("TextButton") FavoriteIcon.Name = "Favorite" FavoriteIcon.Parent = Button FavoriteIcon.BackgroundTransparency = 1 FavoriteIcon.Position = UDim2.new(1, -30, 0, 5) FavoriteIcon.Size = UDim2.new(0, 20, 0, 20) FavoriteIcon.Font = Enum.Font.Gotham FavoriteIcon.Text = "★" FavoriteIcon.TextColor3 = Color3.fromRGB(255, 215, 0) FavoriteIcon.TextSize = 14 FavoriteIcon.Visible = favorites[scriptInfo.name] or false Button.MouseButton1Click:Connect(function() pcall(function() if game.HttpGet then loadstring(game:HttpGet(scriptInfo.url))() else warn("HttpGet not available") end end) end) FavoriteIcon.MouseButton1Click:Connect(function() if favorites[scriptInfo.name] then favorites[scriptInfo.name] = nil FavoriteIcon.Visible = false else favorites[scriptInfo.name] = scriptInfo FavoriteIcon.Visible = true end -- Reload to update if currentTab and ScrollFrame and SearchBar then loadTabContent(currentTab.Text, ScrollFrame, SearchBar, scriptData, favorites) end end) return Button end local function loadTabContent(tabName, scrollFrame, searchBar, scriptData, favorites) for _, child in ipairs(scrollFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end local filteredScripts = {} local searchText = searchBar.Text:lower() for _, script in ipairs(scriptData[tabName] or {}) do if string.find(script.name:lower(), searchText) or string.find(script.desc:lower(), searchText) then table.insert(filteredScripts, script) end end if searchText == "" then for _, script in pairs(favorites) do table.insert(filteredScripts, script) end end scrollFrame.CanvasSize = UDim2.new(0, 0, 0, #filteredScripts * 65) for _, script in ipairs(filteredScripts) do createScriptButton(script, scrollFrame, searchBar, favorites) end end local function createTabButton(tabName, layoutOrder, sidebar, scriptData, scrollFrame, searchBar, favorites) local TabButton = Instance.new("TextButton") TabButton.Name = tabName .. "Button" TabButton.Parent = sidebar TabButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45) TabButton.BorderSizePixel = 0 TabButton.Size = UDim2.new(1, -10, 0, 40) TabButton.Font = Enum.Font.Gotham TabButton.Text = tabName TabButton.TextColor3 = Color3.fromRGB(200, 200, 200) TabButton.TextSize = 14 TabButton.LayoutOrder = layoutOrder local TabCorner = Instance.new("UICorner") TabCorner.CornerRadius = UDim.new(0, 6) TabCorner.Parent = TabButton TabButton.MouseButton1Click:Connect(function() if currentTab then currentTab.BackgroundColor3 = Color3.fromRGB(45, 45, 45) currentTab.TextColor3 = Color3.fromRGB(200, 200, 200) end currentTab = TabButton TabButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) TabButton.TextColor3 = Color3.fromRGB(255, 255, 255) if scrollFrame and searchBar then loadTabContent(tabName, scrollFrame, searchBar, scriptData, favorites) end end) return TabButton end -- Create ScreenGui ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "GrokGUI" ScreenGui.Parent = CoreGui ScreenGui.ResetOnSpawn = false -- Key Input Frame local KeyFrame = Instance.new("Frame") KeyFrame.Name = "KeyFrame" KeyFrame.Parent = ScreenGui KeyFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) KeyFrame.BorderSizePixel = 0 KeyFrame.Position = UDim2.new(0.5, -150, 0.5, -100) KeyFrame.Size = UDim2.new(0, 300, 0, 200) KeyFrame.Visible = true local KeyCorner = Instance.new("UICorner") KeyCorner.CornerRadius = UDim.new(0, 8) KeyCorner.Parent = KeyFrame local KeyTitle = Instance.new("TextLabel") KeyTitle.Name = "KeyTitle" KeyTitle.Parent = KeyFrame KeyTitle.BackgroundTransparency = 1 KeyTitle.Position = UDim2.new(0, 0, 0, 20) KeyTitle.Size = UDim2.new(1, 0, 0, 30) KeyTitle.Font = Enum.Font.GothamBold KeyTitle.Text = "Enter Key:" KeyTitle.TextColor3 = Color3.fromRGB(255, 255, 255) KeyTitle.TextSize = 18 KeyTitle.TextScaled = true local KeyInput = Instance.new("TextBox") KeyInput.Name = "KeyInput" KeyInput.Parent = KeyFrame KeyInput.BackgroundColor3 = Color3.fromRGB(45, 45, 45) KeyInput.BorderSizePixel = 0 KeyInput.Position = UDim2.new(0, 50, 0, 60) KeyInput.Size = UDim2.new(1, -100, 0, 40) KeyInput.Font = Enum.Font.Gotham KeyInput.PlaceholderText = "Enter key here..." KeyInput.Text = "" KeyInput.TextColor3 = Color3.fromRGB(255, 255, 255) KeyInput.TextSize = 14 local InputCorner = Instance.new("UICorner") InputCorner.CornerRadius = UDim.new(0, 6) InputCorner.Parent = KeyInput local SubmitButton = Instance.new("TextButton") SubmitButton.Name = "SubmitButton" SubmitButton.Parent = KeyFrame SubmitButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) SubmitButton.BorderSizePixel = 0 SubmitButton.Position = UDim2.new(0, 50, 0, 120) SubmitButton.Size = UDim2.new(1, -100, 0, 40) SubmitButton.Font = Enum.Font.GothamBold SubmitButton.Text = "Submit" SubmitButton.TextColor3 = Color3.fromRGB(255, 255, 255) SubmitButton.TextSize = 14 local SubmitCorner = Instance.new("UICorner") SubmitCorner.CornerRadius = UDim.new(0, 6) SubmitCorner.Parent = SubmitButton -- Join Discord Button (below Submit) local DiscordButton = Instance.new("TextButton") DiscordButton.Name = "DiscordButton" DiscordButton.Parent = KeyFrame DiscordButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) DiscordButton.BorderSizePixel = 0 DiscordButton.Position = UDim2.new(0, 50, 0, 170) DiscordButton.Size = UDim2.new(1, -100, 0, 20) DiscordButton.Font = Enum.Font.Gotham DiscordButton.Text = "Join Discord (key)" DiscordButton.TextColor3 = Color3.fromRGB(255, 255, 255) DiscordButton.TextSize = 12 local DiscordCorner = Instance.new("UICorner") DiscordCorner.CornerRadius = UDim.new(0, 6) DiscordCorner.Parent = DiscordButton DiscordButton.MouseButton1Click:Connect(function() StarterGui:SetCore("SendNotification", { Title = "Discord Link", Text = "Join here for the key: https://discord.gg/7fUQEADcJ", Duration = 10 }) end) SubmitButton.MouseButton1Click:Connect(function() if KeyInput.Text == correctKey then keyVerified = true KeyFrame:Destroy() createMobileToggle() createMainGUI() else KeyInput.Text = "" KeyInput.PlaceholderText = "Wrong key! Try again." end end) KeyInput.FocusLost:Connect(function(enterPressed) if enterPressed then SubmitButton.MouseButton1Click:Fire() end end) function createMobileToggle() ToggleButton = Instance.new("TextButton") ToggleButton.Name = "ToggleButton" ToggleButton.Parent = ScreenGui ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) ToggleButton.BorderSizePixel = 0 ToggleButton.Position = UDim2.new(0, 10, 0, 10) ToggleButton.Size = UDim2.new(0, 50, 0, 50) ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Text = "G" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 24 local ToggleCorner = Instance.new("UICorner") ToggleCorner.CornerRadius = UDim.new(0, 25) ToggleCorner.Parent = ToggleButton ToggleButton.MouseButton1Click:Connect(function() toggled = not toggled if MainFrame then MainFrame.Visible = toggled end end) end function createMainGUI() MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.5, -250, 0.5, -200) MainFrame.Size = UDim2.new(0, 500, 0, 400) MainFrame.Visible = true local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 8) MainCorner.Parent = MainFrame -- Title Bar local TitleBar = Instance.new("Frame") TitleBar.Name = "TitleBar" TitleBar.Parent = MainFrame TitleBar.BackgroundColor3 = Color3.fromRGB(35, 35, 35) TitleBar.BorderSizePixel = 0 TitleBar.Size = UDim2.new(1, 0, 0, 40) local TitleCorner = Instance.new("UICorner") TitleCorner.CornerRadius = UDim.new(0, 8) TitleCorner.Parent = TitleBar local TitleLabel = Instance.new("TextLabel") TitleLabel.Name = "TitleLabel" TitleLabel.Parent = TitleBar TitleLabel.BackgroundTransparency = 1 TitleLabel.Position = UDim2.new(0, 10, 0, 0) TitleLabel.Size = UDim2.new(1, -50, 1, 0) TitleLabel.Font = Enum.Font.GothamBold TitleLabel.Text = "GrokGUI v1 by xAI" TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.TextSize = 16 TitleLabel.TextXAlignment = Enum.TextXAlignment.Left -- Close Button local CloseButton = Instance.new("TextButton") CloseButton.Name = "CloseButton" CloseButton.Parent = TitleBar CloseButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) CloseButton.BorderSizePixel = 0 CloseButton.Position = UDim2.new(1, -30, 0, 5) CloseButton.Size = UDim2.new(0, 25, 0, 30) CloseButton.Font = Enum.Font.Gotham CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.TextSize = 14 local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(0, 4) CloseCorner.Parent = CloseButton -- Minimize/Toggle Button local MinimizeButton = Instance.new("TextButton") MinimizeButton.Name = "MinimizeButton" MinimizeButton.Parent = TitleBar MinimizeButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0) MinimizeButton.BorderSizePixel = 0 MinimizeButton.Position = UDim2.new(1, -60, 0, 5) MinimizeButton.Size = UDim2.new(0, 25, 0, 30) MinimizeButton.Font = Enum.Font.Gotham MinimizeButton.Text = "-" MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeButton.TextSize = 18 local MinimizeCorner = Instance.new("UICorner") MinimizeCorner.CornerRadius = UDim.new(0, 4) MinimizeCorner.Parent = MinimizeButton -- Sidebar local Sidebar = Instance.new("Frame") Sidebar.Name = "Sidebar" Sidebar.Parent = MainFrame Sidebar.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Sidebar.BorderSizePixel = 0 Sidebar.Position = UDim2.new(0, 0, 0, 40) Sidebar.Size = UDim2.new(0, 120, 1, -40) local SidebarCorner = Instance.new("UICorner") SidebarCorner.CornerRadius = UDim.new(0, 8) SidebarCorner.Parent = Sidebar local SidebarUIListLayout = Instance.new("UIListLayout") SidebarUIListLayout.Parent = Sidebar SidebarUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder SidebarUIListLayout.Padding = UDim.new(0, 2) -- Content Area ContentFrame = Instance.new("Frame") ContentFrame.Name = "ContentFrame" ContentFrame.Parent = MainFrame ContentFrame.BackgroundTransparency = 1 ContentFrame.Position = UDim2.new(0, 120, 0, 40) ContentFrame.Size = originalContentSize -- Search Bar SearchBar = Instance.new("TextBox") SearchBar.Name = "SearchBar" SearchBar.Parent = ContentFrame SearchBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45) SearchBar.BorderSizePixel = 0 SearchBar.Position = UDim2.new(0, 10, 0, 10) SearchBar.Size = UDim2.new(1, -20, 0, 30) SearchBar.Font = Enum.Font.Gotham SearchBar.PlaceholderText = "Search scripts..." SearchBar.Text = "" SearchBar.TextColor3 = Color3.fromRGB(255, 255, 255) SearchBar.TextSize = 14 local SearchCorner = Instance.new("UICorner") SearchCorner.CornerRadius = UDim.new(0, 6) SearchCorner.Parent = SearchBar -- ScrollingFrame ScrollFrame = Instance.new("ScrollingFrame") ScrollFrame.Name = "ScrollFrame" ScrollFrame.Parent = ContentFrame ScrollFrame.BackgroundTransparency = 1 ScrollFrame.Position = UDim2.new(0, 10, 0, 50) ScrollFrame.Size = UDim2.new(1, -20, 1, -60) ScrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollFrame.ScrollBarThickness = 6 ScrollFrame.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100) local ScrollCorner = Instance.new("UICorner") ScrollCorner.CornerRadius = UDim.new(0, 6) ScrollCorner.Parent = ScrollFrame local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = ScrollFrame UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 5) -- Tabs local tabs = { {name = "Basics", layoutOrder = 1}, {name = "Trolling", layoutOrder = 2}, {name = "Hubs", layoutOrder = 3}, {name = "Others", layoutOrder = 4}, {name = "Executors", layoutOrder = 5}, {name = "Combat", layoutOrder = 6} } -- Create tab buttons for _, tab in ipairs(tabs) do createTabButton(tab.name, tab.layoutOrder, Sidebar, scriptData, ScrollFrame, SearchBar, favorites) end -- Default tab local firstTabButton = Sidebar:FindFirstChild("BasicsButton") if firstTabButton then firstTabButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) firstTabButton.TextColor3 = Color3.fromRGB(255, 255, 255) currentTab = firstTabButton pcall(function() loadTabContent("Basics", ScrollFrame, SearchBar, scriptData, favorites) end) end -- Search SearchBar:GetPropertyChangedSignal("Text"):Connect(function() if currentTab then loadTabContent(currentTab.Text, ScrollFrame, SearchBar, scriptData, favorites) end end) -- PC Toggle UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Insert then toggled = not toggled MainFrame.Visible = toggled end end) -- Close CloseButton.MouseButton1Click:Connect(function() MainFrame.Visible = false toggled = false end) -- Minimize Toggle MinimizeButton.MouseButton1Click:Connect(function() if isMinimized then -- Maximize local tween = TweenService:Create(ContentFrame, TweenInfo.new(0.3), {Size = originalContentSize}) tween:Play() ContentFrame.Visible = true isMinimized = false MinimizeButton.Text = "-" else -- Minimize local tween = TweenService:Create(ContentFrame, TweenInfo.new(0.3), {Size = UDim2.new(1, -120, 0, 0)}) tween:Play() tween.Completed:Connect(function() ContentFrame.Visible = false end) isMinimized = true MinimizeButton.Text = "+" end end) print("GrokGUI v1 loaded successfully! Use the G button to toggle on mobile, or Insert on PC.") end print("GrokGUI v1 initializing...")