rrixh

rosehub

Aug 5th, 2023
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.25 KB | None | 0 0
  1. local start = tick()
  2. print("Rose Hub process started.")
  3. local VERSION = "3.0.5"
  4. local delete = {"Rose Hub 3.0.0", "Introooo", "ColorPick"}
  5. local tweening = false
  6. local scriptsTabText = ""
  7. local guiTabText = ""
  8. local darkBack = false
  9. local lightBack = true
  10. local tweenService = game:GetService("TweenService")
  11. local tweenSpeed = 0.70
  12. local colorPickerOpen = false
  13. local backColor = Color3.fromRGB(255, 255, 255)
  14. local lightColor = Color3.fromRGB(255, 255, 255)
  15. local darkColor = Color3.fromRGB(150, 150, 150)
  16. local textColor = Color3.fromRGB(255, 255, 255)
  17. local httpService = game:GetService("HttpService")
  18. local savingSettings = false
  19. local mainSettings = nil
  20. local lighting = game:GetService("Lighting")
  21. local workspace = game:GetService("Workspace")
  22. local chat = game:GetService("Chat")
  23.  
  24. --Delete old GUI
  25. function FindTable(Table, Name)
  26. for i,v in pairs(Table) do
  27. if v == Name then
  28. return true
  29. end end
  30. return false
  31. end
  32.  
  33. for i,v in pairs(game:GetService("CoreGui"):GetDescendants()) do
  34. if v:IsA("ScreenGui") then
  35. if FindTable(delete, v.Name) then
  36. v:Destroy()
  37. end
  38. end
  39. end
  40.  
  41. --Create Frames
  42. local screenGui = game:GetObjects("rbxassetid://3410845588")[1]
  43. screenGui.Parent = game:GetService("CoreGui")
  44. screenGui.Enabled = false
  45. screenGui.Main.Top:FindFirstChildOfClass("TextLabel").Text = "Rose Hub "..VERSION
  46.  
  47. local colourpicker = game:GetObjects("rbxassetid://3444232310")[1]
  48. colourpicker.Parent = game:GetService("CoreGui")
  49. colourpicker.Enabled = false
  50.  
  51. local intro = game:GetObjects("rbxassetid://3394996507")[1]
  52. intro.Parent = game:GetService("CoreGui")
  53.  
  54. local function round(num)
  55. return math.floor(num * 10^3 + 0.5) / 10^3
  56. end
  57.  
  58. local function createFrame(Active, BackgroundColor3, BackgroundTransparency, BorderSizePixel, ClipsDescendants, Name, Parent, Position, Size)
  59. local Frame = Instance.new("Frame")
  60. Frame.Active = Active
  61. Frame.BackgroundColor3 = BackgroundColor3
  62. Frame.BackgroundTransparency = BackgroundTransparency
  63. Frame.BorderSizePixel = BorderSizePixel
  64. Frame.ClipsDescendants = ClipsDescendants
  65. Frame.Name = Name
  66. Frame.Parent = Parent
  67. Frame.Position = Position
  68. Frame.Size = Size
  69. return Frame
  70. end
  71.  
  72. local function createTextLabel(BackgroundColor3, BackgroundTransparency, BorderSizePixel, Font, Name, Parent, Position, Size, Text, TextColor3, TextSize, TextWrapped, TextXAlignment, TextYAlignment, ZIndex)
  73. local TextLabel = Instance.new("TextLabel")
  74. TextLabel.BackgroundColor3 = BackgroundColor3
  75. TextLabel.BackgroundTransparency = BackgroundTransparency
  76. TextLabel.BorderSizePixel = BorderSizePixel
  77. TextLabel.Font = Font
  78. TextLabel.Name = Name
  79. TextLabel.Parent = Parent
  80. TextLabel.Position = Position
  81. TextLabel.Size = Size
  82. TextLabel.Text = Text
  83. TextLabel.TextColor3 = TextColor3
  84. TextLabel.TextSize = TextSize
  85. TextLabel.TextWrapped = TextWrapped
  86. TextLabel.TextXAlignment = TextXAlignment
  87. TextLabel.TextYAlignment = TextYAlignment
  88. TextLabel.ZIndex = ZIndex
  89. return TextLabel
  90. end
  91.  
  92. local function createTextBox(BackgroundColor3, BackgroundTransparency, BorderSizePixel, Font, Name, Parent, PlaceholderText, Position, Size, Text, TextColor3, TextSize, TextWrapped, TextXAlignment, TextYAlignment)
  93. local TextBox = Instance.new("TextBox")
  94. TextBox.BackgroundColor3 = BackgroundColor3
  95. TextBox.BackgroundTransparency = BackgroundTransparency
  96. TextBox.BorderSizePixel = BorderSizePixel
  97. TextBox.Font = Font
  98. TextBox.Name = Name
  99. TextBox.Parent = Parent
  100. TextBox.PlaceholderText = PlaceholderText
  101. TextBox.Position = Position
  102. TextBox.Size = Size
  103. TextBox.Text = Text
  104. TextBox.TextColor3 = TextColor3
  105. TextBox.TextSize = TextSize
  106. TextBox.TextWrapped = TextWrapped
  107. TextBox.TextXAlignment = TextXAlignment
  108. TextBox.TextYAlignment = TextYAlignment
  109. return TextBox
  110. end
  111.  
  112. local function createTextButton(BackgroundColor3, BackgroundTransparency, BorderSizePixel, Font, Name, Parent, Position, Size, Text, TextColor3, TextSize, ZIndex, func)
  113. local TextButton = Instance.new("TextButton")
  114. TextButton.BackgroundColor3 = BackgroundColor3
  115. TextButton.BackgroundTransparency = BackgroundTransparency
  116. TextButton.BorderSizePixel = BorderSizePixel
  117. TextButton.Font = Font
  118. TextButton.Name = Name
  119. TextButton.Parent = Parent
  120. TextButton.Position = Position
  121. TextButton.Size = Size
  122. TextButton.Text = Text
  123. TextButton.TextColor3 = TextColor3
  124. TextButton.TextSize = TextSize
  125. TextButton.ZIndex = ZIndex
  126. TextButton.MouseButton1Up:Connect(func)
  127. return TextButton
  128. end
  129.  
  130. local function createImageLabel(BackgroundTransparency, Image, Name, Parent, Position, Selectable, Size, ZIndex)
  131. local ImageLabel = Instance.new("ImageLabel")
  132. ImageLabel.BackgroundTransparency = BackgroundTransparency
  133. ImageLabel.Image = Image
  134. ImageLabel.Name = Name
  135. ImageLabel.Parent = Parent
  136. ImageLabel.Position = Position
  137. ImageLabel.Selectable = Selectable
  138. ImageLabel.Size = Size
  139. ImageLabel.ZIndex = ZIndex
  140. return ImageLabel
  141. end
  142.  
  143. local function createScrollingFrame(BackgroundColor3, BackgroundTransparency, BorderSizePixel, BottomImage, CanvasSize, MidImage, Name, Parent, Position, Rotation, ScrollBarThickness, Selectable, Size, TopImage, Visible)
  144. local ScrollingFrame = Instance.new("ScrollingFrame")
  145. ScrollingFrame.BackgroundColor3 = BackgroundColor3
  146. ScrollingFrame.BackgroundTransparency = BackgroundTransparency
  147. ScrollingFrame.BorderSizePixel = BorderSizePixel
  148. ScrollingFrame.BottomImage = BottomImage
  149. ScrollingFrame.CanvasSize = CanvasSize
  150. ScrollingFrame.MidImage = MidImage
  151. ScrollingFrame.Name = Name
  152. ScrollingFrame.Parent = Parent
  153. ScrollingFrame.Position = Position
  154. ScrollingFrame.Rotation = Rotation
  155. ScrollingFrame.ScrollBarThickness = ScrollBarThickness
  156. ScrollingFrame.Selectable = Selectable
  157. ScrollingFrame.Size = Size
  158. ScrollingFrame.TopImage = TopImage
  159. ScrollingFrame.Visible = Visible
  160. return ScrollingFrame
  161. end
  162.  
  163. local defaultSettings = {
  164. ["BackgroundColorR"] = 59,
  165. ["BackgroundColorG"] = 59,
  166. ["BackgroundColorB"] = 59,
  167. ["PickerColorR"] = 59,
  168. ["PickerColorG"] = 59,
  169. ["PickerColorB"] = 59,
  170. ["ChangePickerBackground"] = true,
  171. ["Transparency"] = 0.7,
  172. ["RainbowOn"] = false,
  173. ["RainbowSpeed"] = 75,
  174. }
  175.  
  176. local function round(num)
  177. return math.floor(num *10^3 + 0.5) / 10^3
  178. end
  179.  
  180. if writefile and readfile and pcall(function() readfile("RoseHubSettings.txt") end) then
  181. local file = readfile("RoseHubSettings.txt")
  182. local letsgo = true
  183. local write = false
  184. if pcall(function() httpService:JSONDecode(file) end) then
  185. file = httpService:JSONDecode(readfile("RoseHubSettings.txt"))
  186. mainSettings = file
  187. else
  188. mainSettings = defaultSettings
  189. writefile("RoseHubSettings.txt", httpService:JSONEncode(defaultSettings))
  190. warn("Settings file corrupted, creating new.")
  191. letsgo = false
  192. end
  193. if letsgo then
  194. for setting,value in pairs(defaultSettings) do
  195. if file[setting] == nil then
  196. writefile("RoseHubSettings.txt", httpService:JSONEncode(defaultSettings))
  197. warn(setting.." is missing, setting to default.")
  198. file[setting] = defaultSettings[setting]
  199. write = true
  200. elseif file[setting] ~= nil then
  201. if type(file[setting]) ~= type(defaultSettings[setting]) then
  202. warn(setting.." is invalid, overwriting.")
  203. write = true
  204. file[setting] = defaultSettings[setting]
  205. end
  206. end
  207. end
  208. if write == true then
  209. warn("Fixing settings file.")
  210. mainSettings = file
  211. writefile("RoseHubSettings.txt", httpService:JSONEncode(mainSettings))
  212. write = false
  213. end
  214. end
  215. else
  216. mainSettings = defaultSettings
  217. if writefile then
  218. warn("Rose Hub settings missing, creating new.")
  219. writefile("RoseHubSettings.txt", httpService:JSONEncode(defaultSettings))
  220. end
  221. end
  222.  
  223. local savedColor = Color3.fromRGB(mainSettings.BackgroundColorR, mainSettings.BackgroundColorG, mainSettings.BackgroundColorB)
  224. local mainTransparency = mainSettings.Transparency
  225. local enableRainbow = mainSettings.RainbowOn
  226. local rainbowCount = mainSettings.RainbowSpeed
  227. local mainTrans = mainSettings.Transparency
  228. local changeColorPickerBack = mainSettings.ChangePickerBackground
  229. local colorPickerBack = Color3.fromRGB(mainSettings.PickerColorR, mainSettings.PickerColorG, mainSettings.PickerColorB)
  230.  
  231. local function saveSetting(backColor, pickerColor, changeBack, tranparency, rainbowOn, rainbowSpeed)
  232. local settingsTab = {
  233. ["BackgroundColorR"] = round(backColor.r*255),
  234. ["BackgroundColorG"] = round(backColor.g*255),
  235. ["BackgroundColorB"] = round(backColor.b*255),
  236. ["PickerColorR"] = round(pickerColor.r*255),
  237. ["PickerColorG"] = round(pickerColor.g*255),
  238. ["PickerColorB"] = round(pickerColor.b*255),
  239. ["ChangePickerBackground"] = changeBack,
  240. ["Transparency"] = round(tranparency),
  241. ["RainbowOn"] = rainbowOn,
  242. ["RainbowSpeed"] = rainbowSpeed,
  243. }
  244. writefile("RoseHubSettings.txt", httpService:JSONEncode(settingsTab))
  245. end
  246.  
  247. if darkBack then
  248. backColor = Color3.fromRGB(150, 150, 150)
  249. end
  250.  
  251. local scripttabList = {
  252. {"VSimFucker", "dtHywXGM", 1},
  253.  
  254. }
  255.  
  256. local modulestabList = {
  257. {"Work In progress", 0, 2}
  258. --{"Modules GUI", 03107712466, 2},
  259. }
  260.  
  261. local guistabList = {
  262. {"Ro-Xploit 4.0", 175137115, 2},
  263. {"Ro-Xploit 5.0", 288646117, 2},
  264. {"Ro-Xploit 6.0", 364364477, 2},
  265. {"Dex 2.0", 492005721, 2},
  266. {"Dex 3.0", 418957341, 2},
  267. {"YourMom GUI", 289110135, 2},
  268. {"Pepe GUI", 277881926, 2},
  269. {"Vesprin FE GUI", 1231351616, 2},
  270. }
  271.  
  272. local mapstabList = {
  273. {"Town Map", 1345094164, 2},
  274. {"Night Club", 1281063730, 2},
  275. }
  276.  
  277. local lists = {
  278. {scripttabList, "Scripts"},
  279. {modulestabList, "Modules"},
  280. {guistabList, "GUIs"},
  281. {mapstabList, "Maps"},
  282. }
  283.  
  284. local tabs = {
  285. "Home",
  286. "Scripts",
  287. "Modules",
  288. "Purchased Scripts",
  289. "GUIs",
  290. "Executor",
  291. "Server Side",
  292. "Maps",
  293. "Audios",
  294. "Economy",
  295. "Settings",
  296. "Credits",
  297. }
  298.  
  299. function CreateInstance(cls,props)
  300. local inst = Instance.new(cls)
  301. for i,v in pairs(props) do
  302. inst[i] = v
  303. end
  304. return inst
  305. end
  306.  
  307. --Copy Discord Invite
  308. screenGui.Main.Top.Important.HomeTab.Discord.MouseButton1Up:Connect(function()
  309. local copy = true
  310. if pcall(function() Synapse:Copy("http://discord.io/rosehub") end) then
  311.  
  312. else
  313. local copy2 = setclipboard or Clipboard.set
  314. copy2("http://discord.io/rosehub")
  315.  
  316. end
  317.  
  318. screenGui.Main.Top.Important.HomeTab.Discord.Text = "Copied!"
  319. wait(2)
  320. screenGui.Main.Top.Important.HomeTab.Discord.Text = "Discord Server:\nhttps://discord.io/rosehub"
  321. end)
  322.  
  323. --[[All Script Tabs,
  324. Sort lists and insert them--]]
  325. for _,list in pairs(lists) do
  326. local toSort = {}
  327. local sortedList = {}
  328. local pos = 0
  329.  
  330. for _,v in pairs(list[1]) do
  331. table.insert(toSort, v[1])
  332. end
  333.  
  334. table.sort(toSort)
  335.  
  336. for i,name in pairs(toSort) do
  337. for i,actualTable in pairs(list[1]) do
  338. if name == actualTable[1] then
  339. table.insert(sortedList, {actualTable[1], actualTable[2], actualTable[3]})
  340. end
  341. end
  342. end
  343.  
  344. --Function to create the buttons
  345. local function createButons(text)
  346. pos = 5
  347. for _,button in pairs(sortedList) do
  348. if text == "" or string.match(string.lower(button[1]), string.lower(text)) then
  349. createTextButton(backColor, mainTrans, 0, Enum.Font.SourceSans, button[1], screenGui.Main.Top.Important[list[2].."Tab"].Holder, UDim2.new(0, 5, 0, pos), UDim2.new(0, 181, 0, 20), button[1], textColor, 14, 1, function()
  350. if button[3] == 1 then
  351. loadstring(game:HttpGet("https://pastebin.com/raw/"..button[2], true))()
  352. elseif button[3] == 2 then
  353. loadstring(game:GetObjects("rbxassetid://"..button[2])[1].Source)()
  354. end
  355. end)
  356. pos = pos + 23
  357. end
  358. end
  359. end
  360.  
  361. --Remove Buttons and create new on search
  362. local function removeButtons()
  363. for _,button in pairs(screenGui.Main.Top.Important[list[2].."Tab"].Holder:GetChildren()) do
  364. button:Destroy()
  365. end
  366. end
  367.  
  368. --Search Function
  369. screenGui.Main.Top.Important[list[2].."Tab"].Search.PlaceholderColor3 = textColor
  370. screenGui.Main.Top.Important[list[2].."Tab"].Search.PlaceholderText = "Search "..list[2]
  371. local function searchBar(chosenList)
  372. local search = screenGui.Main.Top.Important[chosenList.."Tab"].Search
  373. local currentSearch = ""
  374. search.Changed:connect(function(property)
  375. if property == "Text" then
  376. if search.Text ~= "" and search.Text ~= currentSearch then
  377. currentSearch = search.Text
  378. removeButtons()
  379. createButons(search.Text)
  380. elseif search.Text == "" and currentSearch.Text ~= "" then
  381. currentSearch = search.Text
  382. removeButtons()
  383. createButons("")
  384. end
  385. end
  386. end)
  387. end
  388.  
  389. searchBar(list[2])
  390.  
  391. --Create Buttons with no search
  392. createButons("")
  393.  
  394. screenGui.Main.Top.Important[list[2].."Tab"].Holder.CanvasSize = UDim2.new(1, 0, 0, pos + 2)
  395. end
  396.  
  397. --Tab Changer
  398. local underline = screenGui.Main.Top.SelectedTab
  399. local tabs = screenGui.Main.Top.Tabs:GetChildren()
  400. local LastTab = tabs[1]
  401. local tweening = false
  402. local OrigSize = underline.Size
  403. local tabPos = 0
  404. local tweenPos = tabPos + 20
  405. local oldTab = screenGui.Main.Top.Tabs.Home
  406.  
  407. for _,tab in next, tabs do
  408. if tab:IsA("TextButton") then
  409. local tweenPos = tabPos + 22
  410. tab.MouseButton1Up:Connect(function()
  411. if tweening == false and tab ~= oldTab then
  412. tweening = true
  413. underline:TweenSizeAndPosition(UDim2.new(0, 2, 0, 0), UDim2.new(0.5, 0, underline.Position.Y.Scale, underline.Position.Y.Offset), "Out", "Quad", tweenSpeed)
  414. local newUnderline = createFrame(false, backColor, 0, 0, false, "Frame", screenGui.Main.Top.Tabs, UDim2.new(0.5, 0, 1, -3), UDim2.new(0, 0, 0, 2))
  415. newUnderline:TweenSize(UDim2.new(0, tab.TextBounds.X, 0, 2), --[[UDim2.new(0, 55 - tab.TextBounds.X/2, 0, tweenPos),]] "Out", "Quad", tweenSpeed)
  416. screenGui.Main.Top.Important[tostring(oldTab).."Tab"]:TweenPosition(UDim2.new(1, 0, 0, 0), "Out", "Quad", tweenSpeed)
  417. screenGui.Main.Top.Important[tostring(tab).."Tab"]:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", tweenSpeed)
  418. screenGui.Main.Top.CurrentTab:TweenSize(UDim2.new(0, 0, 0, 31), "Out", "Quad", tweenSpeed/2)
  419. newUnderline.LayoutOrder = tab.LayoutOrder
  420. newUnderline.AnchorPoint = Vector2.new(0.5, 1)
  421. newUnderline.Parent = tab
  422. wait(tweenSpeed/2)
  423. screenGui.Main.Top.CurrentTab.Label.Text = tab.Name
  424. screenGui.Main.Top.CurrentTab:TweenSize(UDim2.new(0, 109, 0, 31), "Out", "Quad", tweenSpeed/2)
  425. wait(tweenSpeed/2)
  426. screenGui.Main.Top.Important[tostring(oldTab).."Tab"].Position = UDim2.new(-1, 0, 0, 0)
  427. underline:Destroy()
  428. underline = newUnderline
  429. oldTab = tab
  430. tweening = false
  431. end
  432. end)
  433. tabPos = tabPos + 26
  434. end
  435. end
  436.  
  437. --Server Side
  438. screenGui.Serverside.Active = true
  439. screenGui.Serverside.Draggable = true
  440.  
  441. --Execute
  442. screenGui.Main.Top.Important.ServerSideTab.ExecuteButton.MouseButton1Up:Connect(function()
  443. local e = game:GetService("JointsService")
  444. local rem = e.RemoteFunction
  445. assert(rem, "Remote is missing.")
  446. rem:InvokeServer(true, screenGui.Main.Top.Important.ServerSideTab.KeyInput.Text, screenGui.Main.Top.Important.ServerSideTab.ScriptHolder.ScriptInput.Text, {})
  447. end)
  448.  
  449. --Clear Serverside Input
  450. screenGui.Main.Top.Important.ServerSideTab.ClearButton.MouseButton1Up:Connect(function()
  451. screenGui.Main.Top.Important.ServerSideTab.ScriptHolder.ScriptInput.Text = ""
  452. end)
  453.  
  454. -- Temp Toggle Script Editor
  455. screenGui.Main.Top.Important.ServerSideTab.settings.MouseButton1Up:Connect(function()
  456. screenGui.Serverside.Visible = true
  457. end)
  458.  
  459. --Execute In Script Editor
  460. screenGui.Serverside.execute.MouseButton1Up:Connect(function()
  461. local e = game:GetService("JointsService")
  462. local rem = e.RemoteFunction
  463. assert(rem, "Remote is missing.")
  464. rem:InvokeServer(true, screenGui.Main.Top.Important.ServerSideTab.KeyInput.Text, screenGui.Serverside.scriptinput.Text, {})
  465. end)
  466.  
  467. --Clear In Script Editor
  468. screenGui.Serverside.clear.MouseButton1Up:Connect(function()
  469. screenGui.Serverside.scriptinput.Text = ""
  470. end)
  471.  
  472. --Close Script Editor
  473. screenGui.Serverside.close.MouseButton1Up:Connect(function()
  474. screenGui.Serverside.Visible = false
  475. end)
  476.  
  477.  
  478. --Executor
  479. --Execute Button
  480. screenGui.Main.Top.Important.ExecutorTab.execute.MouseButton1Up:Connect(function()
  481. loadstring(screenGui.Main.Top.Important.ExecutorTab.Holder.input.Text)
  482. end)
  483.  
  484. --Clear Button
  485. screenGui.Main.Top.Important.ExecutorTab.clear.MouseButton1Up:Connect(function()
  486. screenGui.Main.Top.Important.ExecutorTab.Holder.input.Text = ""
  487. end)
  488.  
  489. --Audios Tab
  490. local volume = 1
  491. local audioPage = 1
  492.  
  493. local function stopSounds()
  494. for _,obj in pairs(lighting:GetChildren()) do
  495. if obj:IsA("Sound") then
  496. obj:Destroy()
  497. end
  498. end
  499.  
  500. for i,v in pairs(chat:GetChildren()) do
  501. if v:IsA("Sound") then
  502. v:Destroy()
  503. end
  504. end
  505.  
  506. for _,obj in pairs(workspace:GetChildren()) do
  507. if obj:IsA("Sound") then
  508. obj:Destroy()
  509. end
  510. end
  511. end
  512.  
  513. local function playSong(id)
  514. stopSounds()
  515. local sound = Instance.new("Sound")
  516. sound.Parent = lighting
  517. sound.SoundId = "rbxassetid://"..tostring(id)
  518. sound.Volume = volume
  519. sound.Name = "RoseHubSound"
  520. sound.Looped = true
  521. sound.Playing = true
  522. end
  523.  
  524. local audioHolder = screenGui.Main.Top.Important.AudiosTab.Holder
  525. local audioInputBox = screenGui.Main.Top.Important.AudiosTab.audioinput
  526. audioInputBox.PlaceholderColor3 = textColor
  527.  
  528. screenGui.Main.Top.Important.AudiosTab.Stop.MouseButton1Up:Connect(function()
  529. stopSounds()
  530. end)
  531.  
  532. local volumeBox = screenGui.Main.Top.Important.AudiosTab.VolumeBox
  533.  
  534. screenGui.Main.Top.Important.AudiosTab.Set.MouseButton1Up:Connect(function()
  535. if tonumber(volumeBox.Text) then
  536. volume = tonumber(volumeBox.Text)
  537. pcall(function()
  538. lighting.RoseHubSound.Volume = volume
  539. end)
  540. end
  541. end)
  542.  
  543. local currentSong = screenGui.Main.Top.Important.AudiosTab.CurrentSong
  544.  
  545. screenGui.Main.Top.Important.AudiosTab.PreviousPage.MouseButton1Up:Connect(function()
  546. if audioPage > 1 then
  547. audioPage = audioPage - 1
  548. createAudios(audioPage)
  549. end
  550. end)
  551.  
  552. screenGui.Main.Top.Important.AudiosTab.NextPage.MouseButton1Up:Connect(function()
  553. audioPage = audioPage + 1
  554. createAudios(audioPage)
  555. end)
  556.  
  557. function createAudios(audioPage)
  558. local audioKeyword = audioInputBox.Text
  559. --local json = "https://search.roblox.com/catalog/json?Category=Audio&Keyword="..audioKeyword.."&ResultsPerPage=25&PageNumber="..tostring(audioPage)
  560. local json = "https://search.roblox.com/catalog/contents?CatalogContext=&Keyword="..audioKeyword.."&SortAggregation=5&LegendExpanded=true&Category=9&ResultsPerPage=25&PageNumber="..tostring(audioPage)
  561. local gotJson = game:HttpGet(json, true)
  562. local rawResult = httpService:JSONDecode(gotJson)
  563. local pos = 5
  564. for _,button in pairs(audioHolder:GetChildren()) do
  565. button:Destroy()
  566. end
  567. for _,tab in pairs(rawResult) do
  568. local scale = false
  569. local button = createTextButton(backColor, mainTrans, 0, Enum.Font.SourceSans, tab.Name, screenGui.Top.Important.AudiosTab.Holder, UDim2.new(0, 5, 0, pos), UDim2.new(0, 181, 0, 20), tab.Name, textColor, 14, 1, function()
  570. playSong(tab.AssetId)
  571. currentSong.Text = tab.Name
  572. currentSong.TextScaled = scale
  573. end)
  574. if button.TextBounds.X > button.Size.X.Offset then
  575. button.TextScaled = true
  576. scale = true
  577. end
  578. pos = pos + 23
  579. end
  580. audioHolder.CanvasSize = UDim2.new(0, 0, 0, pos + 2)
  581. end
  582.  
  583. screenGui.Main.Top.Important.AudiosTab.search.MouseButton1Up:Connect(function()
  584. createAudios(1)
  585. end)
  586.  
  587. --Remove pcall
  588. pcall(function()
  589. createAudios(1)
  590. end)
  591.  
  592. --[[local ColorPicker = {}
  593.  
  594. ColorPicker.new = function()
  595. pickerCreated = true
  596. local newMt = setmetatable({},{})
  597.  
  598. local rootGui = colourpicker
  599. rootGui.Parent = coreGui
  600. rootGui.Enabled = true
  601. pickerGui = rootGui.ColorPicker
  602. local pickerTopBar = pickerGui.TopBar
  603. backDrop = pickerGui.Backdrop
  604. local pickerFrame = pickerGui.Backdrop.Content
  605. local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  606. local colorStrip = pickerFrame.ColorStrip
  607. local previewFrame = pickerFrame.Preview
  608. local basicColorsFrame = pickerFrame.BasicColors
  609. local customColorsFrame = pickerFrame.CustomColors
  610. local okButton = pickerFrame.Ok
  611. local cancelButton = pickerFrame.Cancel
  612. local closeButton = pickerTopBar.Close
  613. local colorScope = colorSpace.Scope
  614. local colorArrow = pickerFrame.ArrowFrame.Arrow
  615. local hueInput = pickerFrame.Hue.Input
  616. local satInput = pickerFrame.Sat.Input
  617. local valInput = pickerFrame.Val.Input
  618. local redInput = pickerFrame.Red.Input
  619. local greenInput = pickerFrame.Green.Input
  620. local blueInput = pickerFrame.Blue.Input
  621. local user = game:GetService("UserInputService")
  622. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  623.  
  624. local hue,sat,val = Color3.toHSV(savedColor)
  625. local red,green,blue = savedColor.r, savedColor.g, savedColor.b
  626. local chosenColor = savedColor
  627. local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)}
  628. local customColors = {}
  629. local function updateColor(noupdate)
  630. local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  631. local hsvColor = Color3.fromHSV(hue,sat,val)
  632.  
  633. if noupdate == 2 or not noupdate then
  634. hueInput.Text = tostring(math.ceil(359*hue))
  635. satInput.Text = tostring(math.ceil(255*sat))
  636. valInput.Text = tostring(math.floor(255*val))
  637. end
  638. if noupdate == 1 or not noupdate then
  639. redInput.Text = tostring(math.floor(255*red))
  640. greenInput.Text = tostring(math.floor(255*green))
  641. blueInput.Text = tostring(math.floor(255*blue))
  642. end
  643.  
  644. chosenColor = Color3.new(red,green,blue)
  645.  
  646. colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  647. colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  648. colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  649. previewFrame.BackgroundColor3 = chosenColor
  650.  
  651. updateBack(chosenColor, backDrop)
  652.  
  653. newMt.Color = chosenColor
  654. if newMt.Changed then
  655. newMt:Changed(chosenColor)
  656. end
  657. end
  658. local function colorSpaceInput()
  659. local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  660. local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  661.  
  662. if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  663. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  664.  
  665. hue = (219 - relativeX)/219
  666. sat = (199 - relativeY)/199
  667.  
  668. local hsvColor = Color3.fromHSV(hue,sat,val)
  669. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  670.  
  671. updateColor()
  672. end
  673. local function colorStripInput()
  674. local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  675.  
  676. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  677.  
  678. val = (199 - relativeY)/199
  679.  
  680. local hsvColor = Color3.fromHSV(hue,sat,val)
  681. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  682.  
  683. updateColor()
  684. end
  685. local function hookButtons(frame,func)
  686. frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  687. if input.UserInputType == Enum.UserInputType.MouseMovement then
  688. frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  689. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  690. local releaseEvent,runEvent
  691.  
  692. local startTime = tick()
  693. local pressing = true
  694. local startNum = tonumber(frame.Text)
  695.  
  696. if not startNum then return end
  697.  
  698. releaseEvent = user.InputEnded:Connect(function(input)
  699. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  700. releaseEvent:Disconnect()
  701. pressing = false
  702. end)
  703.  
  704. startNum = startNum + 1
  705. func(startNum)
  706. while pressing do
  707. if tick()-startTime > 0.3 then
  708. startNum = startNum + 1
  709. func(startNum)
  710. end
  711. wait(0.1)
  712. end
  713. end
  714. end)
  715.  
  716. frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  717. if input.UserInputType == Enum.UserInputType.MouseMovement then
  718. frame.ArrowFrame.Up.BackgroundTransparency = 1
  719. end
  720. end)
  721.  
  722. frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  723. if input.UserInputType == Enum.UserInputType.MouseMovement then
  724. frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  725. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  726. local releaseEvent,runEvent
  727.  
  728. local startTime = tick()
  729. local pressing = true
  730. local startNum = tonumber(frame.Text)
  731.  
  732. if not startNum then return end
  733.  
  734. releaseEvent = user.InputEnded:Connect(function(input)
  735. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  736. releaseEvent:Disconnect()
  737. pressing = false
  738. end)
  739.  
  740. startNum = startNum - 1
  741. func(startNum)
  742. while pressing do
  743. if tick()-startTime > 0.3 then
  744. startNum = startNum - 1
  745. func(startNum)
  746. end
  747. wait(0.1)
  748. end
  749. end
  750. end)
  751.  
  752. frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  753. if input.UserInputType == Enum.UserInputType.MouseMovement then
  754. frame.ArrowFrame.Down.BackgroundTransparency = 1
  755. end
  756. end)
  757. end
  758. colorSpace.InputBegan:Connect(function(input)
  759. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  760. local releaseEvent,mouseEvent
  761.  
  762. releaseEvent = user.InputEnded:Connect(function(input)
  763. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  764. releaseEvent:Disconnect()
  765. mouseEvent:Disconnect()
  766. end)
  767.  
  768. mouseEvent = user.InputChanged:Connect(function(input)
  769. if input.UserInputType == Enum.UserInputType.MouseMovement then
  770. colorSpaceInput()
  771. end
  772. end)
  773.  
  774. colorSpaceInput()
  775. end
  776. end)
  777. colorStrip.InputBegan:Connect(function(input)
  778. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  779. local releaseEvent,mouseEvent
  780.  
  781. releaseEvent = user.InputEnded:Connect(function(input)
  782. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  783. releaseEvent:Disconnect()
  784. mouseEvent:Disconnect()
  785. end)
  786.  
  787. mouseEvent = user.InputChanged:Connect(function(input)
  788. if input.UserInputType == Enum.UserInputType.MouseMovement then
  789. colorStripInput()
  790. end
  791. end)
  792.  
  793. colorStripInput()
  794. end
  795. end)
  796. local function updateHue(str)
  797. local num = tonumber(str)
  798. if num then
  799. hue = math.clamp(math.floor(num),0,359)/359
  800. local hsvColor = Color3.fromHSV(hue,sat,val)
  801. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  802. hueInput.Text = tostring(hue*359)
  803. updateColor(1)
  804. end
  805. end
  806. hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  807. local function updateSat(str)
  808. local num = tonumber(str)
  809. if num then
  810. sat = math.clamp(math.floor(num),0,255)/255
  811. local hsvColor = Color3.fromHSV(hue,sat,val)
  812. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  813. satInput.Text = tostring(sat*255)
  814. updateColor(1)
  815. end
  816. end
  817. satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  818. local function updateVal(str)
  819. local num = tonumber(str)
  820. if num then
  821. val = math.clamp(math.floor(num),0,255)/255
  822. local hsvColor = Color3.fromHSV(hue,sat,val)
  823. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  824. valInput.Text = tostring(val*255)
  825. updateColor(1)
  826. end
  827. end
  828. valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  829.  
  830. local function updateRed(str)
  831. local num = tonumber(str)
  832. if num then
  833. red = math.clamp(math.floor(num),0,255)/255
  834. local newColor = Color3.new(red,green,blue)
  835. hue,sat,val = Color3.toHSV(newColor)
  836. redInput.Text = tostring(red*255)
  837. updateColor(2)
  838. end
  839. end
  840. redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  841.  
  842. local function updateGreen(str)
  843. local num = tonumber(str)
  844. if num then
  845. green = math.clamp(math.floor(num),0,255)/255
  846. local newColor = Color3.new(red,green,blue)
  847. hue,sat,val = Color3.toHSV(newColor)
  848. greenInput.Text = tostring(green*255)
  849. updateColor(2)
  850. end
  851. end
  852. greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  853.  
  854. local function updateBlue(str)
  855. local num = tonumber(str)
  856. if num then
  857. blue = math.clamp(math.floor(num),0,255)/255
  858. local newColor = Color3.new(red,green,blue)
  859. hue,sat,val = Color3.toHSV(newColor)
  860. blueInput.Text = tostring(blue*255)
  861. updateColor(2)
  862. end
  863. end
  864. blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  865.  
  866. local colorChoice = Instance.new("TextButton")
  867. colorChoice.Name = "Choice"
  868. colorChoice.Size = UDim2.new(0,25,0,18)
  869. colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  870. colorChoice.Text = ""
  871. colorChoice.AutoButtonColor = false
  872.  
  873. local row = 0
  874. local column = 0
  875. for i,v in pairs(basicColors) do
  876. local newColor = colorChoice:Clone()
  877. newColor.BackgroundColor3 = v
  878. newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  879.  
  880. newColor.MouseButton1Click:Connect(function()
  881. red,green,blue = v.r,v.g,v.b
  882. local newColor = Color3.new(red,green,blue)
  883. hue,sat,val = Color3.toHSV(newColor)
  884. updateColor()
  885. end)
  886.  
  887. newColor.Parent = basicColorsFrame
  888. column = column + 1
  889. if column == 6 then row = row + 1 column = 0 end
  890. end
  891.  
  892. row = 0
  893. column = 0
  894. for i = 1,12 do
  895. local color = customColors[i] or Color3.new(0,0,0)
  896. local newColor = colorChoice:Clone()
  897. newColor.BackgroundColor3 = color
  898. newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  899.  
  900. newColor.MouseButton1Click:Connect(function()
  901. local curColor = customColors[i] or Color3.new(0,0,0)
  902. red,green,blue = curColor.r,curColor.g,curColor.b
  903. hue,sat,val = Color3.toHSV(curColor)
  904. updateColor()
  905. end)
  906.  
  907. newColor.MouseButton2Click:Connect(function()
  908. customColors[i] = chosenColor
  909. newColor.BackgroundColor3 = chosenColor
  910. end)
  911.  
  912. newColor.Parent = customColorsFrame
  913. column = column + 1
  914. if column == 6 then row = row + 1 column = 0 end
  915. end
  916.  
  917. pickerTopBar.InputBegan:Connect(function(input)
  918. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  919. local releaseEvent,mouseEvent
  920. local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y
  921.  
  922. releaseEvent = user.InputEnded:Connect(function(input)
  923. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  924. releaseEvent:Disconnect()
  925. mouseEvent:Disconnect()
  926. end)
  927.  
  928. mouseEvent = user.InputChanged:Connect(function(input)
  929. if input.UserInputType == Enum.UserInputType.MouseMovement then
  930. pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY)
  931. end
  932. end)
  933. end
  934. end)
  935.  
  936. okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end pickerGui.Visible = false savedColor = chosenColor colorPickerOpen = false end)
  937. okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end)
  938. okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end)
  939.  
  940. cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end pickerGui.Visible = false updateBack(savedColor, backDrop) colorPickerOpen = false end)
  941. cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  942. cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  943.  
  944. closeButton.MouseButton1Click:Connect(function() pickerGui.Visible = false updateBack(savedColor, backDrop) colorPickerOpen = false end)
  945.  
  946. updateColor()
  947.  
  948. newMt.SetColor = function(self,color)
  949. red,green,blue = color.r,color.g,color.b
  950. hue,sat,val = Color3.toHSV(color)
  951. updateColor()
  952. end
  953.  
  954. newMt.Gui = rootGui
  955.  
  956. return newMt
  957. end
  958. --end
  959.  
  960. local ColorPickInstance = ColorPicker.new()
  961.  
  962. local rainbowColors = {
  963. Color3.fromRGB(0, 0, 255),
  964. Color3.fromRGB(255, 0, 0),
  965. Color3.fromRGB(255, 255, 0),
  966. Color3.fromRGB(0, 255, 0),
  967. Color3.fromRGB(0, 255, 255),
  968. }
  969.  
  970. local rainbow = false
  971. local customRainbow = false
  972. local rainbowReset = false
  973. local rainbowStart = 1
  974. local currentRainbow = nil
  975.  
  976. spawn(function()
  977. while wait() do
  978. if rainbow == true then
  979. for i,v in pairs(rainbowColors) do
  980. local start = rainbowColors[i]
  981. local rEnd = i + 1
  982. if not rainbowColors[rEnd] then
  983. rEnd = 1
  984. end
  985. if customRainbow == true then
  986. local back = screenGui.Top.Main.BackgroundColor3
  987. start = back
  988. end
  989. for num = rainbowCount, 1, -1 do
  990. currentRainbow = start:Lerp(rainbowColors[rEnd], (rainbowCount - num)/rainbowCount)
  991. if rainbow == true then
  992. updateBack(currentRainbow)
  993. else
  994. break
  995. end
  996. wait()
  997. end
  998. customRainbow = false
  999. end
  1000. if rainbowReset == true then
  1001. rainbowReset = false
  1002. rainbow = false
  1003. currentRainbow = screenGui.Top.Main.BackgroundColor3
  1004. for num = rainbowCount, 1, -1 do
  1005. currentRainbow = currentRainbow:Lerp(savedColor, (rainbowCount - num)/rainbowCount)
  1006. updateBack(currentRainbow)
  1007. if rainbow == true then
  1008. rainbowReset = false
  1009. break
  1010. end
  1011. wait()
  1012. end
  1013. wait()
  1014. end
  1015. end
  1016. end
  1017. end)--]]
  1018.  
  1019. --Settings Tab
  1020. --Open Colour Picker
  1021. screenGui.Main.Top.Important.SettingsTab.colorpickopen.MouseButton1Up:Connect(function()
  1022. colourpicker.Enabled = true
  1023. end)
  1024.  
  1025. --Reset GUI
  1026. screenGui.Main.Top.Important.SettingsTab.ResetGui.MouseButton1Up:Connect(function()
  1027.  
  1028. end)
  1029.  
  1030. --Save Settings
  1031. screenGui.Main.Top.Important.SettingsTab.SaveSettings.MouseButton1Up:Connect(function()
  1032.  
  1033. end)
  1034.  
  1035. --Colour Picker Background On
  1036. screenGui.Main.Top.Important.SettingsTab.PickerBackgroundOn.MouseButton1Up:Connect(function()
  1037.  
  1038. end)
  1039.  
  1040. --Colour Picker Background Off
  1041. screenGui.Main.Top.Important.SettingsTab.PickerBackgroundOff.MouseButton1Up:Connect(function()
  1042.  
  1043. end)
  1044.  
  1045. --Close
  1046. screenGui.Main.Top.Close.MouseButton1Up:connect(function()
  1047. screenGui.Main:TweenSize(UDim2.new(0, 361, 0, 31), "Out", "Quad", 0.5)
  1048. wait(0.5)
  1049. screenGui.Main:TweenSize(UDim2.new(0, 0, 0, 31), "Out", "Quad", 0.5)
  1050. wait(0.5)
  1051. wait()
  1052. screenGui.Open:TweenPosition(UDim2.new(0, 0, 0.75, 0), "Out", "Quad", 0.25)
  1053. wait(0.25)
  1054. end)
  1055.  
  1056. --Open
  1057. screenGui.Open.MouseButton1Up:connect(function()
  1058. screenGui.Open:TweenPosition(UDim2.new(0, -75, 0.75, 0), "Out", "Quad", 0.25)
  1059. wait(0.25)
  1060. screenGui.Main:TweenSize(UDim2.new(0, 361, 0, 31), "Out", "Quad", 0.5)
  1061. wait(0.5)
  1062. wait()
  1063. screenGui.Main:TweenSize(UDim2.new(0, 361, 0, 347), "Out", "Quad", 0.5)
  1064. wait(0.5)
  1065. end)
  1066.  
  1067. --Start Intro
  1068. intro.Intro.Size = UDim2.new(0, 0, 0, 25)
  1069.  
  1070. intro.Intro.Top.Visible = false
  1071. intro.Intro.Loading.Visible = false
  1072. intro.Intro.Motto.Visible = false
  1073. intro.Intro.Background.Visible = false
  1074.  
  1075. wait(0)
  1076.  
  1077. intro.Enabled = true
  1078.  
  1079. intro.Intro:TweenSize(UDim2.new(0, 376, 0, 25), "Out", "Quad", 0.5)
  1080.  
  1081. wait(0.6)
  1082. intro.Intro.Top.Visible = true
  1083. intro.Intro:TweenSize(UDim2.new(0, 376, 0, 169), "Out", "Quad", 0.5)
  1084. wait(0.1)
  1085. intro.Intro.Motto.Visible = true
  1086. wait(0.1)
  1087. intro.Intro.Background.Visible = true
  1088. wait(0.2)
  1089. intro.Intro.Loading.Visible = true
  1090. wait(0.5)
  1091.  
  1092. intro.Intro.Background.Bar:TweenSize(UDim2.new(1, 0, 0, 33), "Out", "Quad", 3)
  1093.  
  1094. --End Intro
  1095. wait(1)
  1096.  
  1097. screenGui.Main.Size = UDim2.new(0, 0, 0, 31)
  1098. screenGui.Open.Position = UDim2.new(0, -75, 0.75, 0)
  1099.  
  1100. wait(3)
  1101.  
  1102. wait(0.5)
  1103. intro.Intro:TweenSize(UDim2.new(0, 376, 0, 25), "Out", "Quad", 0.5)
  1104. wait()
  1105. intro.Intro.Loading.Visible = false
  1106. wait(0.1)
  1107. intro.Intro.Background.Visible = false
  1108. wait(0.2)
  1109. intro.Intro.Motto.Visible = false
  1110. wait(0.5)
  1111. intro.Intro:TweenSize(UDim2.new(0, 0, 0, 25), "Out", "Quad", 0.4)
  1112. intro.Intro.Top.Visible = false
  1113. wait(1)
  1114. intro:Destroy()
  1115.  
  1116. wait(0.5)
  1117.  
  1118. screenGui.Enabled = true
  1119.  
  1120. screenGui.Open:TweenPosition(UDim2.new(0, 0, 0.75, 0), "Out", "Quad", 0.5)
  1121. wait(0.5)
  1122.  
  1123. print("Rose Hub process finished at " .. round(tick()-start) .. " milliseconds.")
Add Comment
Please, Sign In to add comment