Geavin

Gleavin hub

Sep 13th, 2026
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local UserInputService = game:GetService("UserInputService")
  3. local CoreGui = game:GetService("CoreGui")
  4.  
  5. local player = Players.LocalPlayer
  6.  
  7. if CoreGui:FindFirstChild("GleavinHubMain") then
  8. CoreGui.GleavinHubMain:Destroy()
  9. end
  10.  
  11. local screenGui = Instance.new("ScreenGui")
  12. screenGui.Name = "GleavinHubMain"
  13. screenGui.ResetOnSpawn = false
  14. screenGui.Parent = CoreGui
  15.  
  16. -- Main Frame (Navy Blue Theme)
  17. local mainFrame = Instance.new("Frame")
  18. mainFrame.Size = UDim2.new(0, 520, 0, 340)
  19. mainFrame.Position = UDim2.new(0.5, -260, 0.5, -170)
  20. mainFrame.BackgroundColor3 = Color3.fromRGB(12, 18, 35)
  21. mainFrame.BorderSizePixel = 0
  22. mainFrame.Parent = screenGui
  23. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 10)
  24.  
  25. -- Header Bar
  26. local header = Instance.new("Frame")
  27. header.Size = UDim2.new(1, 0, 0, 40)
  28. header.BackgroundColor3 = Color3.fromRGB(20, 30, 55)
  29. header.BorderSizePixel = 0
  30. header.Parent = mainFrame
  31. Instance.new("UICorner", header).CornerRadius = UDim.new(0, 10)
  32.  
  33. local title = Instance.new("TextLabel")
  34. title.Size = UDim2.new(0, 300, 1, 0)
  35. title.Position = UDim2.new(0, 15, 0, 0)
  36. title.BackgroundTransparency = 1
  37. title.Font = Enum.Font.GothamBold
  38. title.Text = "GLEAVIN HUB | Blox Fruits (Keyless)"
  39. title.TextColor3 = Color3.fromRGB(100, 180, 255)
  40. title.TextSize = 14
  41. title.TextXAlignment = Enum.TextXAlignment.Left
  42. title.Parent = header
  43.  
  44. -- Minimize Button (-)
  45. local minimizeBtn = Instance.new("TextButton")
  46. minimizeBtn.Size = UDim2.new(0, 30, 0, 30)
  47. minimizeBtn.Position = UDim2.new(1, -75, 0, 5)
  48. minimizeBtn.BackgroundColor3 = Color3.fromRGB(35, 50, 85)
  49. minimizeBtn.Font = Enum.Font.GothamBold
  50. minimizeBtn.Text = "-"
  51. minimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. minimizeBtn.TextSize = 14
  53. minimizeBtn.Parent = header
  54. Instance.new("UICorner", minimizeBtn).CornerRadius = UDim.new(0, 6)
  55.  
  56. -- Close Button (X)
  57. local closeBtn = Instance.new("TextButton")
  58. closeBtn.Size = UDim2.new(0, 30, 0, 30)
  59. closeBtn.Position = UDim2.new(1, -38, 0, 5)
  60. closeBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40)
  61. closeBtn.Font = Enum.Font.GothamBold
  62. closeBtn.Text = "X"
  63. closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. closeBtn.TextSize = 12
  65. closeBtn.Parent = header
  66. Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 6)
  67.  
  68. -- Sidebar Navigation
  69. local sidebar = Instance.new("Frame")
  70. sidebar.Size = UDim2.new(0, 130, 1, -40)
  71. sidebar.Position = UDim2.new(0, 0, 0, 40)
  72. sidebar.BackgroundColor3 = Color3.fromRGB(15, 22, 42)
  73. sidebar.BorderSizePixel = 0
  74. sidebar.Parent = mainFrame
  75.  
  76. -- Container Panel
  77. local container = Instance.new("Frame")
  78. container.Size = UDim2.new(1, -140, 1, -50)
  79. container.Position = UDim2.new(0, 135, 0, 45)
  80. container.BackgroundTransparency = 1
  81. container.Parent = mainFrame
  82.  
  83. -- Tab Generator Helper
  84. local function createTabButton(name, yPos)
  85. local btn = Instance.new("TextButton")
  86. btn.Size = UDim2.new(1, -10, 0, 30)
  87. btn.Position = UDim2.new(0, 5, 0, yPos)
  88. btn.BackgroundColor3 = Color3.fromRGB(25, 38, 70)
  89. btn.Font = Enum.Font.GothamSemibold
  90. btn.Text = name
  91. btn.TextColor3 = Color3.fromRGB(220, 220, 220)
  92. btn.TextSize = 11
  93. btn.Parent = sidebar
  94. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
  95. return btn
  96. end
  97.  
  98. local tabMain = createTabButton("Auto Farm", 10)
  99. local tabCombat = createTabButton("Combat & Raids", 45)
  100. local tabVisuals = createTabButton("Visuals / ESP", 80)
  101. local tabSettings = createTabButton("Settings & Theme", 115)
  102.  
  103. -- Content Sections Creation
  104. local sections = {}
  105. local function createSection(name)
  106. local scrolling = Instance.new("ScrollingFrame")
  107. scrolling.Size = UDim2.new(1, 0, 1, 0)
  108. scrolling.BackgroundTransparency = 1
  109. scrolling.Visible = false
  110. scrolling.CanvasSize = UDim2.new(0, 0, 0, 400)
  111. scrolling.ScrollBarThickness = 4
  112. scrolling.Parent = container
  113. sections[name] = scrolling
  114. return scrolling
  115. end
  116.  
  117. local secMain = createSection("Auto Farm")
  118. local secCombat = createSection("Combat & Raids")
  119. local secVisuals = createSection("Visuals / ESP")
  120. local secSettings = createSection("Settings & Theme")
  121.  
  122. secMain.Visible = true
  123.  
  124. tabMain.MouseButton1Click:Connect(function() for _, s in pairs(sections) do s.Visible = false end secMain.Visible = true end)
  125. tabCombat.MouseButton1Click:Connect(function() for _, s in pairs(sections) do s.Visible = false end secCombat.Visible = true end)
  126. tabVisuals.MouseButton1Click:Connect(function() for _, s in pairs(sections) do s.Visible = false end secVisuals.Visible = true end)
  127. tabSettings.MouseButton1Click:Connect(function() for _, s in pairs(sections) do s.Visible = false end secSettings.Visible = true end)
  128.  
  129. -- Toggle Switch Component Creator
  130. local function addToggle(parent, text, yPos, callback)
  131. local btn = Instance.new("TextButton")
  132. btn.Size = UDim2.new(1, -10, 0, 30)
  133. btn.Position = UDim2.new(0, 5, 0, yPos)
  134. btn.BackgroundColor3 = Color3.fromRGB(22, 32, 60)
  135. btn.Font = Enum.Font.Gotham
  136. btn.Text = text .. ": OFF"
  137. btn.TextColor3 = Color3.fromRGB(200, 200, 200)
  138. btn.TextSize = 11
  139. btn.TextXAlignment = Enum.TextXAlignment.Left
  140. btn.Parent = parent
  141. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
  142.  
  143. local active = false
  144. btn.MouseButton1Click:Connect(function()
  145. active = not active
  146. if active then
  147. btn.BackgroundColor3 = Color3.fromRGB(30, 90, 160)
  148. btn.Text = text .. ": ON"
  149. btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  150. else
  151. btn.BackgroundColor3 = Color3.fromRGB(22, 32, 60)
  152. btn.Text = text .. ": OFF"
  153. btn.TextColor3 = Color3.fromRGB(200, 200, 200)
  154. end
  155. callback(active)
  156. end)
  157. end
  158.  
  159. -- Populate Tabs
  160. addToggle(secMain, "Auto Level Farm (Quest + Mob)", 10, function(v) print("Auto Farm:", v) end)
  161. addToggle(secMain, "Auto Chest Farm", 45, function(v) print("Chest Farm:", v) end)
  162. addToggle(secMain, "Auto Nearest Boss", 80, function(v) print("Boss Farm:", v) end)
  163. addToggle(secMain, "Fruit Sniper / Auto Collect", 115, function(v) print("Fruit Sniper:", v) end)
  164.  
  165. addToggle(secCombat, "Fast Attack / Melee Aura", 10, function(v) print("Fast Attack:", v) end)
  166. addToggle(secCombat, "Auto Sea Events (Terrorshark)", 45, function(v) print("Sea Events:", v) end)
  167. addToggle(secCombat, "Auto Raid Handler", 80, function(v) print("Raids:", v) end)
  168. addToggle(secCombat, "Godmode / Safe Health", 115, function(v) print("Godmode:", v) end)
  169.  
  170. addToggle(secVisuals, "Player ESP", 10, function(v) print("Player ESP:", v) end)
  171. addToggle(secVisuals, "Fruit ESP (Multi-Color)", 45, function(v) print("Fruit ESP:", v) end)
  172. addToggle(secVisuals, "Island & Boss ESP", 80, function(v) print("Location ESP:", v) end)
  173.  
  174. -- Settings & Theme Tab
  175. local themeLabel = Instance.new("TextLabel")
  176. themeLabel.Size = UDim2.new(1, -10, 0, 20)
  177. themeLabel.Position = UDim2.new(0, 5, 0, 10)
  178. themeLabel.BackgroundTransparency = 1
  179. themeLabel.Font = Enum.Font.GothamBold
  180. themeLabel.Text = "Theme Color Options:"
  181. themeLabel.TextColor3 = Color3.fromRGB(150, 200, 255)
  182. themeLabel.TextSize = 11
  183. themeLabel.TextXAlignment = Enum.TextXAlignment.Left
  184. themeLabel.Parent = secSettings
  185.  
  186. local function addThemeButton(text, color, xPos, yPos)
  187. local tBtn = Instance.new("TextButton")
  188. tBtn.Size = UDim2.new(0, 105, 0, 28)
  189. tBtn.Position = UDim2.new(0, xPos, 0, yPos)
  190. tBtn.BackgroundColor3 = color
  191. tBtn.Font = Enum.Font.GothamBold
  192. tBtn.Text = text
  193. tBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  194. tBtn.TextSize = 10
  195. tBtn.Parent = secSettings
  196. Instance.new("UICorner", tBtn).CornerRadius = UDim.new(0, 6)
  197.  
  198. tBtn.MouseButton1Click:Connect(function()
  199. mainFrame.BackgroundColor3 = color
  200. header.BackgroundColor3 = color:Lerp(Color3.new(0,0,0), 0.2)
  201. sidebar.BackgroundColor3 = color:Lerp(Color3.new(0,0,0), 0.3)
  202. end)
  203. end
  204.  
  205. addThemeButton("Navy Blue", Color3.fromRGB(12, 18, 35), 5, 35)
  206. addThemeButton("Midnight Dark", Color3.fromRGB(15, 15, 15), 115, 35)
  207. addThemeButton("Ocean Cyan", Color3.fromRGB(10, 40, 60), 5, 70)
  208. addThemeButton("Royal Purple", Color3.fromRGB(35, 15, 50), 115, 70)
  209.  
  210. local recChannel = Instance.new("TextLabel")
  211. recChannel.Size = UDim2.new(1, -10, 0, 40)
  212. recChannel.Position = UDim2.new(0, 5, 0, 115)
  213. recChannel.BackgroundColor3 = Color3.fromRGB(18, 26, 48)
  214. recChannel.Font = Enum.Font.Gotham
  215. recChannel.Text = "Recommended Channel:\nGleavin Hub Official (Updates & Scripts)"
  216. recChannel.TextColor3 = Color3.fromRGB(120, 210, 255)
  217. recChannel.TextSize = 10
  218. recChannel.Parent = secSettings
  219. Instance.new("UICorner", recChannel).CornerRadius = UDim.new(0, 6)
  220.  
  221. -- Minimize & Close Logic
  222. local minimized = false
  223. minimizeBtn.MouseButton1Click:Connect(function()
  224. minimized = not minimized
  225. sidebar.Visible = not minimized
  226. container.Visible = not minimized
  227. mainFrame.Size = minimized and UDim2.new(0, 520, 0, 40) or UDim2.new(0, 520, 0, 340)
  228. minimizeBtn.Text = minimized and "+" or "-"
  229. end)
  230.  
  231. closeBtn.MouseButton1Click:Connect(function()
  232. screenGui:Destroy()
  233. end)
  234.  
  235. -- Draggable UI
  236. local dragging, dragInput, dragStart, startPos
  237. header.InputBegan:Connect(function(input)
  238. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  239. dragging = true
  240. dragStart = input.Position
  241. startPos = mainFrame.Position
  242. end
  243. end)
  244.  
  245. UserInputService.InputChanged:Connect(function(input)
  246. if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and dragging then
  247. local delta = input.Position - dragStart
  248. mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  249. end
  250. end)
  251.  
  252. UserInputService.InputEnded:Connect(function(input)
  253. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  254. dragging = false
  255. end
  256. end)
  257.  
  258. print("Gleavin Hub Loaded Successfully!")
  259.  
Advertisement
Add Comment
Please, Sign In to add comment