Advertisement
MayWeEnjoy

Croissant Hub Rate My Avatar

Nov 7th, 2024 (edited)
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. -- Croissant Hub Rate My Avatar
  2. --[[ loadstring(game:HttpGet("https://pastebin.com/raw/ViCTGWDC"))() ]]
  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 🥐| Rate My Avatar"
  34. titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  35. titleLabel.Font = Enum.Font.GothamBold
  36. titleLabel.TextSize = 18
  37. titleLabel.Position = UDim2.new(0.07, 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 = {"Rate My Avatar GUI", "Rate all 1 star", "Gaze Bypass V6", "Universal Trolling GUI", "Sky Hub", "Script Hub", "Animation Hub"}},
  68. {Name = "Tools", Buttons = {"IY", "Keystrokes", "Boost FPS", "Rochips Universal", "Nameless Admin", "Invisible Button", "Free Cam Mobile", "Pshade"}},
  69. {Name = "Settings", Buttons = {}},
  70. {Name = "Credits", Buttons = {}}
  71. }
  72.  
  73. local currentContentFrame
  74.  
  75. local function showNotification()
  76. local guiColor = Color3.fromRGB(45, 45, 45)
  77. local textColor = Color3.fromRGB(255, 255, 255)
  78. local closeColor = Color3.fromRGB(200, 50, 50)
  79.  
  80. local notificationGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  81. notificationGui.Name = "NotificationGUI"
  82.  
  83. local notificationFrame = Instance.new("Frame", notificationGui)
  84. notificationFrame.AnchorPoint = Vector2.new(1, 1)
  85. notificationFrame.Position = UDim2.new(1, -20, 1, -20)
  86. notificationFrame.Size = UDim2.new(0, 200, 0, 50)
  87. notificationFrame.BackgroundColor3 = guiColor
  88. notificationFrame.BorderSizePixel = 0
  89.  
  90. local cornerRadius = Instance.new("UICorner", notificationFrame)
  91. cornerRadius.CornerRadius = UDim.new(0, 10)
  92.  
  93. local loadedText = Instance.new("TextLabel", notificationFrame)
  94. loadedText.Text = "Loaded up"
  95. loadedText.TextColor3 = textColor
  96. loadedText.Font = Enum.Font.GothamBold
  97. loadedText.TextSize = 18
  98. loadedText.Size = UDim2.new(1, -30, 1, 0)
  99. loadedText.BackgroundTransparency = 1
  100.  
  101. local closeButton = Instance.new("TextButton", notificationFrame)
  102. closeButton.Text = "X"
  103. closeButton.TextColor3 = closeColor
  104. closeButton.Font = Enum.Font.GothamBold
  105. closeButton.TextSize = 14
  106. closeButton.Size = UDim2.new(0, 25, 0, 25)
  107. closeButton.Position = UDim2.new(1, -25, 0, 0)
  108. closeButton.BackgroundTransparency = 1
  109.  
  110. local function fadeOutAndSlide()
  111. for i = 0, 1, 0.05 do
  112. notificationFrame.Position = UDim2.new(1, -20 + (100 * i), 1, -20)
  113. notificationFrame.BackgroundTransparency = i
  114. loadedText.TextTransparency = i
  115. closeButton.TextTransparency = i
  116. wait(0.05)
  117. end
  118. notificationGui:Destroy()
  119. end
  120.  
  121. closeButton.MouseButton1Click:Connect(fadeOutAndSlide)
  122. wait(5)
  123. fadeOutAndSlide()
  124. end
  125.  
  126. -- Notification game
  127. local function displayGameLoadedNotification()
  128. local backgroundColor = Color3.fromRGB(35, 35, 35)
  129. local textColor = Color3.fromRGB(250, 250, 250)
  130. local closeBtnColor = Color3.fromRGB(210, 60, 60)
  131.  
  132. local gameLoadedGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  133. gameLoadedGui.Name = "GameLoadedNotification"
  134.  
  135. local gameLoadedFrame = Instance.new("Frame", gameLoadedGui)
  136. gameLoadedFrame.AnchorPoint = Vector2.new(1, 1)
  137. gameLoadedFrame.Position = UDim2.new(1, -20, 1, -80)
  138. gameLoadedFrame.Size = UDim2.new(0, 210, 0, 55)
  139. gameLoadedFrame.BackgroundColor3 = backgroundColor
  140. gameLoadedFrame.BorderSizePixel = 0
  141.  
  142. local frameCorner = Instance.new("UICorner", gameLoadedFrame)
  143. frameCorner.CornerRadius = UDim.new(0, 12)
  144.  
  145. local gameLoadedText = Instance.new("TextLabel", gameLoadedFrame)
  146. gameLoadedText.Text = "Rate My Avatar Game Detected"
  147. gameLoadedText.TextColor3 = textColor
  148. gameLoadedText.Font = Enum.Font.GothamBold
  149. gameLoadedText.TextSize = 18
  150. gameLoadedText.Size = UDim2.new(1, -30, 1, 0)
  151. gameLoadedText.BackgroundTransparency = 1
  152.  
  153. local closeBtn = Instance.new("TextButton", gameLoadedFrame)
  154. closeBtn.Text = "X"
  155. closeBtn.TextColor3 = closeBtnColor
  156. closeBtn.Font = Enum.Font.GothamBold
  157. closeBtn.TextSize = 14
  158. closeBtn.Size = UDim2.new(0, 25, 0, 25)
  159. closeBtn.Position = UDim2.new(1, -25, 0, 0)
  160. closeBtn.BackgroundTransparency = 1
  161.  
  162. local function slideOutAndFade()
  163. for i = 0, 1, 0.05 do
  164. gameLoadedFrame.Position = UDim2.new(1, -20 + (120 * i), 1, -80)
  165. gameLoadedFrame.BackgroundTransparency = i
  166. gameLoadedText.TextTransparency = i
  167. closeBtn.TextTransparency = i
  168. wait(0.05)
  169. end
  170. gameLoadedGui:Destroy()
  171. end
  172.  
  173. closeBtn.MouseButton1Click:Connect(slideOutAndFade)
  174. wait(4)
  175. slideOutAndFade()
  176. end
  177.  
  178. local function switchTab(tabIndex)
  179. if currentContentFrame then
  180. currentContentFrame.Visible = false
  181. end
  182.  
  183. if not tabs[tabIndex].ContentFrame then
  184. local contentFrame = Instance.new("ScrollingFrame", mainFrame)
  185. contentFrame.Size = UDim2.new(1, -120, 1, -60)
  186. contentFrame.Position = UDim2.new(0, 120, 0, 50)
  187. contentFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  188. contentFrame.BorderSizePixel = 0
  189. contentFrame.Visible = true
  190. contentFrame.CanvasSize = UDim2.new(0, 0, 1.5, 0)
  191.  
  192. local contentCorner = Instance.new("UICorner", contentFrame)
  193. contentCorner.CornerRadius = UDim.new(0, 10)
  194.  
  195. tabs[tabIndex].ContentFrame = contentFrame
  196.  
  197. for i, buttonName in ipairs(tabs[tabIndex].Buttons) do
  198. local button = Instance.new("TextButton", contentFrame)
  199. button.Text = buttonName
  200. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  201. button.Font = Enum.Font.GothamBold
  202. button.TextSize = 14
  203. button.Size = UDim2.new(1, -20, 0, 40)
  204. button.Position = UDim2.new(0, 10, 0, (i - 1) * 50)
  205. button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  206. button.BorderSizePixel = 0
  207.  
  208. local buttonCorner = Instance.new("UICorner", button)
  209. buttonCorner.CornerRadius = UDim.new(0, 10)
  210.  
  211. button.MouseButton1Click:Connect(function()
  212. print(buttonName)
  213. showNotification()
  214. end)
  215. end
  216. end
  217.  
  218. tabs[tabIndex].ContentFrame.Visible = true
  219. currentContentFrame = tabs[tabIndex].ContentFrame
  220. end
  221.  
  222. local isMinimized = false
  223.  
  224. minimizeButton.MouseButton1Click:Connect(function()
  225. if not isMinimized then
  226. mainFrame.Size = UDim2.new(0, 400, 0, 60)
  227. tabFrame.Visible = false
  228. if currentContentFrame then
  229. currentContentFrame.Visible = false
  230. end
  231. else
  232. mainFrame.Size = UDim2.new(0, 400, 0, 300)
  233. tabFrame.Visible = true
  234. if currentContentFrame then
  235. currentContentFrame.Visible = true
  236. end
  237. end
  238. isMinimized = not isMinimized
  239. end)
  240.  
  241. closeButton.MouseButton1Click:Connect(function()
  242. screenGui:Destroy()
  243. end)
  244.  
  245. for i, tab in ipairs(tabs) do
  246. local tabButton = Instance.new("TextButton", tabFrame)
  247. tabButton.Text = tab.Name
  248. tabButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  249. tabButton.Font = Enum.Font.GothamBold
  250. tabButton.TextSize = 14
  251. tabButton.Size = UDim2.new(1, 0, 0, 40)
  252. tabButton.Position = UDim2.new(0, 0, 0, (i - 1) * 50)
  253. tabButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  254. tabButton.BorderSizePixel = 0
  255.  
  256. local tabCorner = Instance.new("UICorner", tabButton)
  257. tabCorner.CornerRadius = UDim.new(0, 10)
  258.  
  259. tabButton.MouseButton1Click:Connect(function()
  260. switchTab(i)
  261. end)
  262. end
  263.  
  264. -- Color options for Settings tab
  265. local colors = {
  266. {Name = "Default", Color = Color3.fromRGB(40, 40, 40)},
  267. {Name = "Blue", Color = Color3.fromRGB(0, 122, 204)},
  268. {Name = "Green", Color = Color3.fromRGB(0, 204, 153)},
  269. {Name = "Red", Color = Color3.fromRGB(204, 0, 0)},
  270. {Name = "Purple", Color = Color3.fromRGB(153, 0, 204)},
  271. }
  272.  
  273. local function changeGuiColor(color)
  274. mainFrame.BackgroundColor3 = color
  275. for _, tab in ipairs(tabFrame:GetChildren()) do
  276. if tab:IsA("TextButton") then
  277. tab.BackgroundColor3 = color
  278. end
  279. end
  280. end
  281.  
  282. -- Add options to Settings tab
  283. local function setupSettingsTab()
  284. local contentFrame = tabs[3].ContentFrame
  285.  
  286. -- Title for color change section
  287. local colorTitle = Instance.new("TextLabel", contentFrame)
  288. colorTitle.Text = "Change GUI Color:"
  289. colorTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  290. colorTitle.Font = Enum.Font.GothamBold
  291. colorTitle.TextSize = 16
  292. colorTitle.Position = UDim2.new(0, 10, 0, 10)
  293. colorTitle.Size = UDim2.new(1, -20, 0, 30)
  294. colorTitle.BackgroundTransparency = 1
  295.  
  296. -- Create buttons for each color option
  297. for i, colorOption in ipairs(colors) do
  298. local colorButton = Instance.new("TextButton", contentFrame)
  299. colorButton.Text = colorOption.Name
  300. colorButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  301. colorButton.Font = Enum.Font.GothamBold
  302. colorButton.TextSize = 14
  303. colorButton.Size = UDim2.new(1, -20, 0, 30)
  304. colorButton.Position = UDim2.new(0, 10, 0, 50 + (i - 1) * 40)
  305. colorButton.BackgroundColor3 = colorOption.Color
  306. colorButton.BorderSizePixel = 0
  307.  
  308. local buttonCorner = Instance.new("UICorner", colorButton)
  309. buttonCorner.CornerRadius = UDim.new(0, 10)
  310.  
  311. colorButton.MouseButton1Click:Connect(function()
  312. changeGuiColor(colorOption.Color)
  313. end)
  314. end
  315.  
  316. -- Toggle GUI shape (rounded or rectangular)
  317. local shapeButton = Instance.new("TextButton", contentFrame)
  318. shapeButton.Text = "Toggle GUI Shape"
  319. shapeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  320. shapeButton.Font = Enum.Font.GothamBold
  321. shapeButton.TextSize = 14
  322. shapeButton.Size = UDim2.new(1, -20, 0, 30)
  323. shapeButton.Position = UDim2.new(0, 10, 0, 50 + #colors * 40)
  324. shapeButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  325. shapeButton.BorderSizePixel = 0
  326.  
  327. local shapeCorner = Instance.new("UICorner", shapeButton)
  328. shapeCorner.CornerRadius = UDim.new(0, 10)
  329.  
  330. local isRounded = true
  331. shapeButton.MouseButton1Click:Connect(function()
  332. isRounded = not isRounded
  333. mainCorner.CornerRadius = isRounded and UDim.new(0, 10) or UDim.new(0, 0)
  334. end)
  335. end
  336.  
  337. -- Credits tab setup
  338. local function setupCreditsTab()
  339. local contentFrame = tabs[4].ContentFrame
  340.  
  341. -- Title for credits
  342. local creditsTitle = Instance.new("TextLabel", contentFrame)
  343. creditsTitle.Text = "Credits"
  344. creditsTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  345. creditsTitle.Font = Enum.Font.GothamBold
  346. creditsTitle.TextSize = 16
  347. creditsTitle.Position = UDim2.new(0, 10, 0, 10)
  348. creditsTitle.Size = UDim2.new(1, -20, 0, 30)
  349. creditsTitle.BackgroundTransparency = 1
  350.  
  351. -- Placeholder for credit names
  352. local creditText = Instance.new("TextLabel", contentFrame)
  353. creditText.Text = "Script made by pyst (some aren't made by me)"
  354. creditText.TextColor3 = Color3.fromRGB(255, 255, 255)
  355. creditText.Font = Enum.Font.Gotham
  356. creditText.TextSize = 14
  357. creditText.Position = UDim2.new(0, 10, 0, 50)
  358. creditText.Size = UDim2.new(1, -20, 0, 150)
  359. creditText.TextWrapped = true
  360. creditText.BackgroundTransparency = 1
  361. end
  362.  
  363. -- Setup for each tab's content frame
  364. for i, tab in ipairs(tabs) do
  365. local contentFrame = Instance.new("ScrollingFrame", mainFrame)
  366. contentFrame.Size = UDim2.new(1, -120, 1, -60)
  367. contentFrame.Position = UDim2.new(0, 120, 0, 50)
  368. contentFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  369. contentFrame.BorderSizePixel = 0
  370. contentFrame.Visible = false
  371. contentFrame.CanvasSize = UDim2.new(0, 0, 1.5, 0)
  372.  
  373. local contentCorner = Instance.new("UICorner", contentFrame)
  374. contentCorner.CornerRadius = UDim.new(0, 10)
  375.  
  376. tabs[i].ContentFrame = contentFrame
  377.  
  378. if tab.Name == "Settings" then
  379. setupSettingsTab()
  380. elseif tab.Name == "Credits" then
  381. setupCreditsTab()
  382. else
  383. for j, buttonName in ipairs(tab.Buttons) do
  384. local button = Instance.new("TextButton", contentFrame)
  385. button.Text = buttonName
  386. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  387. button.Font = Enum.Font.GothamBold
  388. button.TextSize = 14
  389. button.Size = UDim2.new(1, -20, 0, 40)
  390. button.Position = UDim2.new(0, 10, 0, (j - 1) * 50)
  391. button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  392. button.BorderSizePixel = 0
  393.  
  394. local buttonCorner = Instance.new("UICorner", button)
  395. buttonCorner.CornerRadius = UDim.new(0, 10)
  396.  
  397. button.MouseButton1Click:Connect(function()
  398. if buttonName == "Universal Trolling GUI" then
  399. loadstring(game:HttpGet("https://raw.githubusercontent.com/yofriendfromschool1/Sky-Hub/main/FE%20Trolling%20GUI.luau"))()
  400. elseif buttonName == "Rate My Avatar GUI" then
  401. loadstring(game:HttpGet("https://rawscripts.net/raw/Rate-My-Avatar-TROLL-GUI-GUI-16252"))()
  402. elseif buttonName == "Gaze Bypass v6" then
  403. loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Gaze-Bypass-V6-21756"))()
  404. elseif buttonName == "Rate all 1 star" then
  405. loadstring(game:HttpGet("https://rawscripts.net/raw/all-1-star_434"))()
  406. elseif buttonName == "Sky Hub" then
  407. loadstring(game:HttpGet("https://raw.githubusercontent.com/yofriendfromschool1/Sky-Hub/main/SkyHub.txt"))()
  408. elseif buttonName == "Script Hub" then
  409. loadstring(game:HttpGet("https://pastebin.com/raw/XpEpd325"))()
  410. elseif buttonName == "Animation Hub" then
  411. loadstring(game:HttpGet("https://pastebin.com/raw/gg0KgRnL"))()
  412. elseif buttonName == "Invisible Button" then
  413. loadstring(game:HttpGet("https://pastebin.com/raw/SFr8TqM0"))()
  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() -- Shows what game the GUI is on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement