Advertisement
MayWeEnjoy

Croissant Hub TSB

Nov 6th, 2024 (edited)
10,482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.32 KB | None | 0 0
  1. -- Croissant Hub TSB
  2. --[[ loadstring(game:HttpGet("https://pastebin.com/raw/iCxZsYAS"))() ]]
  3.  
  4. local screenGuiName = "MainGUI"
  5.  
  6. -- Check if "MainGUI" already exists in CoreGui to prevent duplicates
  7. if game:GetService("CoreGui"):FindFirstChild(screenGuiName) then
  8. game:GetService("CoreGui")[screenGuiName]:Destroy()
  9. end
  10.  
  11. -- Create the ScreenGui in CoreGui so it persists after respawn
  12. local screenGui = Instance.new("ScreenGui")
  13. screenGui.Name = screenGuiName
  14. screenGui.Parent = game:GetService("CoreGui")
  15.  
  16. -- Main Frame
  17. local mainFrame = Instance.new("Frame", screenGui)
  18. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  19. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  20. mainFrame.Size = UDim2.new(0, 400, 0, 300)
  21. mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  22. mainFrame.BorderSizePixel = 0
  23. mainFrame.Visible = true
  24. mainFrame.Active = true
  25. mainFrame.Draggable = true
  26.  
  27. -- Rounded corners
  28. local mainCorner = Instance.new("UICorner", mainFrame)
  29. mainCorner.CornerRadius = UDim.new(0, 10)
  30.  
  31. -- Title
  32. local titleLabel = Instance.new("TextLabel", mainFrame)
  33. titleLabel.Text = "Croissant Hub 🥐| TSB"
  34. titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  35. titleLabel.Font = Enum.Font.GothamBold
  36. titleLabel.TextSize = 18
  37. titleLabel.Position = UDim2.new(0, 10, 0, 10)
  38. titleLabel.BackgroundTransparency = 1
  39. titleLabel.Size = UDim2.new(0, 200, 0, 25)
  40.  
  41. -- Close and Minimize Buttons
  42. local closeButton = Instance.new("TextButton", mainFrame)
  43. closeButton.Text = "X"
  44. closeButton.TextColor3 = Color3.fromRGB(200, 50, 50)
  45. closeButton.Font = Enum.Font.GothamBold
  46. closeButton.TextSize = 16
  47. closeButton.Size = UDim2.new(0, 25, 0, 25)
  48. closeButton.Position = UDim2.new(1, -30, 0, 5)
  49. closeButton.BackgroundTransparency = 1
  50.  
  51. local minimizeButton = Instance.new("TextButton", mainFrame)
  52. minimizeButton.Text = "_"
  53. minimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  54. minimizeButton.Font = Enum.Font.GothamBold
  55. minimizeButton.TextSize = 16
  56. minimizeButton.Size = UDim2.new(0, 25, 0, 25)
  57. minimizeButton.Position = UDim2.new(1, -60, 0, 5)
  58. minimizeButton.BackgroundTransparency = 1
  59.  
  60. -- Tab Buttons
  61. local tabFrame = Instance.new("Frame", mainFrame)
  62. tabFrame.Position = UDim2.new(0, 10, 0, 50)
  63. tabFrame.Size = UDim2.new(0, 100, 1, -60)
  64. tabFrame.BackgroundTransparency = 1
  65.  
  66. local tabs = {
  67. {Name = "Main", Buttons = {"Garou Bring", "Invisible Button"}},
  68. {Name = "Game", Buttons = {"Glacier Hub", "Vexon Hub", "Fake Moves GUI", "Kade Hub"}},
  69. {Name = "Tools", Buttons = {"IY", "Keystrokes", "Boost FPS", "Rochips Universal", "Nameless Admin", "Free Cam Mobile", "Pshade"}},
  70. {Name = "Settings", Buttons = {}},
  71. {Name = "Credits", Buttons = {}}
  72. }
  73.  
  74. local currentContentFrame
  75.  
  76. local function showNotification()
  77. local guiColor = Color3.fromRGB(45, 45, 45)
  78. local textColor = Color3.fromRGB(255, 255, 255)
  79. local closeColor = Color3.fromRGB(200, 50, 50)
  80.  
  81. local notificationGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  82. notificationGui.Name = "NotificationGUI"
  83.  
  84. local notificationFrame = Instance.new("Frame", notificationGui)
  85. notificationFrame.AnchorPoint = Vector2.new(1, 1)
  86. notificationFrame.Position = UDim2.new(1, -20, 1, -20)
  87. notificationFrame.Size = UDim2.new(0, 200, 0, 50)
  88. notificationFrame.BackgroundColor3 = guiColor
  89. notificationFrame.BorderSizePixel = 0
  90.  
  91. local cornerRadius = Instance.new("UICorner", notificationFrame)
  92. cornerRadius.CornerRadius = UDim.new(0, 10)
  93.  
  94. local loadedText = Instance.new("TextLabel", notificationFrame)
  95. loadedText.Text = "Loaded up"
  96. loadedText.TextColor3 = textColor
  97. loadedText.Font = Enum.Font.GothamBold
  98. loadedText.TextSize = 18
  99. loadedText.Size = UDim2.new(1, -30, 1, 0)
  100. loadedText.BackgroundTransparency = 1
  101.  
  102. local closeButton = Instance.new("TextButton", notificationFrame)
  103. closeButton.Text = "X"
  104. closeButton.TextColor3 = closeColor
  105. closeButton.Font = Enum.Font.GothamBold
  106. closeButton.TextSize = 14
  107. closeButton.Size = UDim2.new(0, 25, 0, 25)
  108. closeButton.Position = UDim2.new(1, -25, 0, 0)
  109. closeButton.BackgroundTransparency = 1
  110.  
  111. local function fadeOutAndSlide()
  112. for i = 0, 1, 0.05 do
  113. notificationFrame.Position = UDim2.new(1, -20 + (100 * i), 1, -20)
  114. notificationFrame.BackgroundTransparency = i
  115. loadedText.TextTransparency = i
  116. closeButton.TextTransparency = i
  117. wait(0.05)
  118. end
  119. notificationGui:Destroy()
  120. end
  121.  
  122. closeButton.MouseButton1Click:Connect(fadeOutAndSlide)
  123. wait(5)
  124. fadeOutAndSlide()
  125. end
  126.  
  127. -- Notification game
  128. local function displayGameLoadedNotification()
  129. local backgroundColor = Color3.fromRGB(35, 35, 35)
  130. local textColor = Color3.fromRGB(250, 250, 250)
  131. local closeBtnColor = Color3.fromRGB(210, 60, 60)
  132.  
  133. local gameLoadedGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  134. gameLoadedGui.Name = "GameLoadedNotification"
  135.  
  136. local gameLoadedFrame = Instance.new("Frame", gameLoadedGui)
  137. gameLoadedFrame.AnchorPoint = Vector2.new(1, 1)
  138. gameLoadedFrame.Position = UDim2.new(1, -20, 1, -80)
  139. gameLoadedFrame.Size = UDim2.new(0, 210, 0, 55)
  140. gameLoadedFrame.BackgroundColor3 = backgroundColor
  141. gameLoadedFrame.BorderSizePixel = 0
  142.  
  143. local frameCorner = Instance.new("UICorner", gameLoadedFrame)
  144. frameCorner.CornerRadius = UDim.new(0, 12)
  145.  
  146. local gameLoadedText = Instance.new("TextLabel", gameLoadedFrame)
  147. gameLoadedText.Text = "TSB Game Detected"
  148. gameLoadedText.TextColor3 = textColor
  149. gameLoadedText.Font = Enum.Font.GothamBold
  150. gameLoadedText.TextSize = 18
  151. gameLoadedText.Size = UDim2.new(1, -30, 1, 0)
  152. gameLoadedText.BackgroundTransparency = 1
  153.  
  154. local closeBtn = Instance.new("TextButton", gameLoadedFrame)
  155. closeBtn.Text = "X"
  156. closeBtn.TextColor3 = closeBtnColor
  157. closeBtn.Font = Enum.Font.GothamBold
  158. closeBtn.TextSize = 14
  159. closeBtn.Size = UDim2.new(0, 25, 0, 25)
  160. closeBtn.Position = UDim2.new(1, -25, 0, 0)
  161. closeBtn.BackgroundTransparency = 1
  162.  
  163. local function slideOutAndFade()
  164. for i = 0, 1, 0.05 do
  165. gameLoadedFrame.Position = UDim2.new(1, -20 + (120 * i), 1, -80)
  166. gameLoadedFrame.BackgroundTransparency = i
  167. gameLoadedText.TextTransparency = i
  168. closeBtn.TextTransparency = i
  169. wait(0.05)
  170. end
  171. gameLoadedGui:Destroy()
  172. end
  173.  
  174. closeBtn.MouseButton1Click:Connect(slideOutAndFade)
  175. wait(4)
  176. slideOutAndFade()
  177. end
  178.  
  179. local function switchTab(tabIndex)
  180. if currentContentFrame then
  181. currentContentFrame.Visible = false
  182. end
  183.  
  184. if not tabs[tabIndex].ContentFrame then
  185. local contentFrame = Instance.new("ScrollingFrame", mainFrame)
  186. contentFrame.Size = UDim2.new(1, -120, 1, -60)
  187. contentFrame.Position = UDim2.new(0, 120, 0, 50)
  188. contentFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  189. contentFrame.BorderSizePixel = 0
  190. contentFrame.Visible = true
  191. contentFrame.CanvasSize = UDim2.new(0, 0, 1.5, 0)
  192.  
  193. local contentCorner = Instance.new("UICorner", contentFrame)
  194. contentCorner.CornerRadius = UDim.new(0, 10)
  195.  
  196. tabs[tabIndex].ContentFrame = contentFrame
  197.  
  198. for i, buttonName in ipairs(tabs[tabIndex].Buttons) do
  199. local button = Instance.new("TextButton", contentFrame)
  200. button.Text = buttonName
  201. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  202. button.Font = Enum.Font.GothamBold
  203. button.TextSize = 14
  204. button.Size = UDim2.new(1, -20, 0, 40)
  205. button.Position = UDim2.new(0, 10, 0, (i - 1) * 50)
  206. button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  207. button.BorderSizePixel = 0
  208.  
  209. local buttonCorner = Instance.new("UICorner", button)
  210. buttonCorner.CornerRadius = UDim.new(0, 10)
  211.  
  212. button.MouseButton1Click:Connect(function()
  213. print(buttonName)
  214. showNotification()
  215. end)
  216. end
  217. end
  218.  
  219. tabs[tabIndex].ContentFrame.Visible = true
  220. currentContentFrame = tabs[tabIndex].ContentFrame
  221. end
  222.  
  223. local isMinimized = false
  224.  
  225. minimizeButton.MouseButton1Click:Connect(function()
  226. if not isMinimized then
  227. mainFrame.Size = UDim2.new(0, 400, 0, 60)
  228. tabFrame.Visible = false
  229. if currentContentFrame then
  230. currentContentFrame.Visible = false
  231. end
  232. else
  233. mainFrame.Size = UDim2.new(0, 400, 0, 300)
  234. tabFrame.Visible = true
  235. if currentContentFrame then
  236. currentContentFrame.Visible = true
  237. end
  238. end
  239. isMinimized = not isMinimized
  240. end)
  241.  
  242. closeButton.MouseButton1Click:Connect(function()
  243. screenGui:Destroy()
  244. end)
  245.  
  246. for i, tab in ipairs(tabs) do
  247. local tabButton = Instance.new("TextButton", tabFrame)
  248. tabButton.Text = tab.Name
  249. tabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  250. tabButton.Font = Enum.Font.GothamBold
  251. tabButton.TextSize = 14
  252. tabButton.Size = UDim2.new(1, 0, 0, 40)
  253. tabButton.Position = UDim2.new(0, 0, 0, (i - 1) * 50)
  254. tabButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  255. tabButton.BorderSizePixel = 0
  256.  
  257. local tabCorner = Instance.new("UICorner", tabButton)
  258. tabCorner.CornerRadius = UDim.new(0, 10)
  259.  
  260. tabButton.MouseButton1Click:Connect(function()
  261. switchTab(i)
  262. end)
  263. end
  264.  
  265. -- Color options for Settings tab
  266. local colors = {
  267. {Name = "Default", Color = Color3.fromRGB(40, 40, 40)},
  268. {Name = "Blue", Color = Color3.fromRGB(0, 122, 204)},
  269. {Name = "Green", Color = Color3.fromRGB(0, 204, 153)},
  270. {Name = "Red", Color = Color3.fromRGB(204, 0, 0)},
  271. {Name = "Purple", Color = Color3.fromRGB(153, 0, 204)},
  272. }
  273.  
  274. local function changeGuiColor(color)
  275. mainFrame.BackgroundColor3 = color
  276. for _, tab in ipairs(tabFrame:GetChildren()) do
  277. if tab:IsA("TextButton") then
  278. tab.BackgroundColor3 = color
  279. end
  280. end
  281. end
  282.  
  283. -- Add options to Settings tab
  284. local function setupSettingsTab()
  285. local contentFrame = tabs[4].ContentFrame
  286.  
  287. -- Title for color change section
  288. local colorTitle = Instance.new("TextLabel", contentFrame)
  289. colorTitle.Text = "Change GUI Color:"
  290. colorTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  291. colorTitle.Font = Enum.Font.GothamBold
  292. colorTitle.TextSize = 16
  293. colorTitle.Position = UDim2.new(0, 10, 0, 10)
  294. colorTitle.Size = UDim2.new(1, -20, 0, 30)
  295. colorTitle.BackgroundTransparency = 1
  296.  
  297. -- Create buttons for each color option
  298. for i, colorOption in ipairs(colors) do
  299. local colorButton = Instance.new("TextButton", contentFrame)
  300. colorButton.Text = colorOption.Name
  301. colorButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  302. colorButton.Font = Enum.Font.GothamBold
  303. colorButton.TextSize = 14
  304. colorButton.Size = UDim2.new(1, -20, 0, 30)
  305. colorButton.Position = UDim2.new(0, 10, 0, 50 + (i - 1) * 40)
  306. colorButton.BackgroundColor3 = colorOption.Color
  307. colorButton.BorderSizePixel = 0
  308.  
  309. local buttonCorner = Instance.new("UICorner", colorButton)
  310. buttonCorner.CornerRadius = UDim.new(0, 10)
  311.  
  312. colorButton.MouseButton1Click:Connect(function()
  313. changeGuiColor(colorOption.Color)
  314. end)
  315. end
  316.  
  317. -- Toggle GUI shape (rounded or rectangular)
  318. local shapeButton = Instance.new("TextButton", contentFrame)
  319. shapeButton.Text = "Toggle GUI Shape"
  320. shapeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  321. shapeButton.Font = Enum.Font.GothamBold
  322. shapeButton.TextSize = 14
  323. shapeButton.Size = UDim2.new(1, -20, 0, 30)
  324. shapeButton.Position = UDim2.new(0, 10, 0, 50 + #colors * 40)
  325. shapeButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  326. shapeButton.BorderSizePixel = 0
  327.  
  328. local shapeCorner = Instance.new("UICorner", shapeButton)
  329. shapeCorner.CornerRadius = UDim.new(0, 10)
  330.  
  331. local isRounded = true
  332. shapeButton.MouseButton1Click:Connect(function()
  333. isRounded = not isRounded
  334. mainCorner.CornerRadius = isRounded and UDim.new(0, 10) or UDim.new(0, 0)
  335. end)
  336. end
  337.  
  338. -- Credits tab setup
  339. local function setupCreditsTab()
  340. local contentFrame = tabs[5].ContentFrame
  341.  
  342. -- Title for credits
  343. local creditsTitle = Instance.new("TextLabel", contentFrame)
  344. creditsTitle.Text = "Credits"
  345. creditsTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  346. creditsTitle.Font = Enum.Font.GothamBold
  347. creditsTitle.TextSize = 16
  348. creditsTitle.Position = UDim2.new(0, 10, 0, 10)
  349. creditsTitle.Size = UDim2.new(1, -20, 0, 30)
  350. creditsTitle.BackgroundTransparency = 1
  351.  
  352. -- Placeholder for credit names
  353. local creditText = Instance.new("TextLabel", contentFrame)
  354. creditText.Text = "Script made by pyst (in 'game', 'tools' tabs not made by me)"
  355. creditText.TextColor3 = Color3.fromRGB(255, 255, 255)
  356. creditText.Font = Enum.Font.Gotham
  357. creditText.TextSize = 14
  358. creditText.Position = UDim2.new(0, 10, 0, 50)
  359. creditText.Size = UDim2.new(1, -20, 0, 150)
  360. creditText.TextWrapped = true
  361. creditText.BackgroundTransparency = 1
  362. end
  363.  
  364. -- Setup for each tab's content frame
  365. for i, tab in ipairs(tabs) do
  366. local contentFrame = Instance.new("ScrollingFrame", mainFrame)
  367. contentFrame.Size = UDim2.new(1, -120, 1, -60)
  368. contentFrame.Position = UDim2.new(0, 120, 0, 50)
  369. contentFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  370. contentFrame.BorderSizePixel = 0
  371. contentFrame.Visible = false
  372. contentFrame.CanvasSize = UDim2.new(0, 0, 1.5, 0)
  373.  
  374. local contentCorner = Instance.new("UICorner", contentFrame)
  375. contentCorner.CornerRadius = UDim.new(0, 10)
  376.  
  377. tabs[i].ContentFrame = contentFrame
  378.  
  379. if tab.Name == "Settings" then
  380. setupSettingsTab()
  381. elseif tab.Name == "Credits" then
  382. setupCreditsTab()
  383. else
  384. for j, buttonName in ipairs(tab.Buttons) do
  385. local button = Instance.new("TextButton", contentFrame)
  386. button.Text = buttonName
  387. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  388. button.Font = Enum.Font.GothamBold
  389. button.TextSize = 14
  390. button.Size = UDim2.new(1, -20, 0, 40)
  391. button.Position = UDim2.new(0, 10, 0, (j - 1) * 50)
  392. button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  393. button.BorderSizePixel = 0
  394.  
  395. local buttonCorner = Instance.new("UICorner", button)
  396. buttonCorner.CornerRadius = UDim.new(0, 10)
  397.  
  398. button.MouseButton1Click:Connect(function()
  399. if buttonName == "Garou Bring" then
  400. -- Load and execute the external script for "Garou Bring" button
  401. loadstring(game:HttpGet("https://pastebin.com/raw/JV6iFsSW"))()
  402. elseif buttonName == "Vexon Hub" then
  403. -- Load and execute the external script for "idk" button
  404. loadstring(game:HttpGet("https://rawscripts.net/raw/The-Strongest-Battlegrounds-VexonHub-Tsb-Keyless-Script-18028"))()
  405. elseif buttonName == "Glacier Hub" then
  406. -- Load and execute the external script for "Another GUI" button
  407. loadstring(game:HttpGet("https://rawscripts.net/raw/The-Strongest-Battlegrounds-2nd-best-hub-fot-TSB-21451"))()
  408. elseif buttonName == "Invisible Button" then
  409. loadstring(game:HttpGet("https://pastebin.com/raw/SFr8TqM0"))()
  410. elseif buttonName == "Fake Moves GUI" then
  411. loadstring(game:HttpGet(('https://raw.githubusercontent.com/Mautiku/TSB-anim/main/TSBANIMS'),true))()
  412. elseif buttonName == "Kade Hub" then
  413. loadstring(game:HttpGet("https://raw.githubusercontent.com/skibiditoiletfan2007/KadeHubRepository/main/Latest.lua"))()
  414. elseif buttonName == "IY" then
  415. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  416. elseif buttonName == "Keystrokes" then
  417. loadstring(game:HttpGet("https://gist.githubusercontent.com/RedZenXYZ/4d80bfd70ee27000660e4bfa7509c667/raw/da903c570249ab3c0c1a74f3467260972c3d87e6/KeyBoard%2520From%2520Ohio%2520Fr%2520Fr"))()
  418. elseif buttonName == "Boost FPS" then
  419. loadstring(game:HttpGet("https://pastebin.com/raw/MGSbKm7y"))()
  420. elseif buttonName == "Rochips Universal" then
  421. loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-rochips-universal-18294"))()
  422. elseif buttonName == "Nameless Admin" then
  423. loadstring(game:HttpGet("https://raw.githubusercontent.com/FD2Team/Nameless-Admin-No-Byfron-Kick/main/Source",true))()
  424. elseif buttonName == "Free Cam Mobile" then
  425. loadstring(game:HttpGet("https://pastebin.com/raw/7gqxncEt"))()
  426. elseif buttonName == "Pshade" then
  427. loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Pshade-Reborn-13862"))()
  428. end
  429. showNotification()
  430. end)
  431. end
  432. end
  433. end
  434.  
  435. -- Ensure the first tab is visible by default
  436. switchTab(1)
  437. displayGameLoadedNotification()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement