Advertisement
ERROR_CODE

Enternet Explorer

Jun 10th, 2024 (edited)
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.41 KB | None | 0 0
  1. MainFrame = Instance.new("Frame")
  2. UICorner = Instance.new("UICorner")
  3. TopBarFrame = Instance.new("Frame")
  4. UICorner_2 = Instance.new("UICorner")
  5. SearchBox = Instance.new("TextBox")
  6. UICorner_3 = Instance.new("UICorner")
  7. ScriptListFrame = Instance.new("ScrollingFrame")
  8. UIPadding = Instance.new("UIPadding")
  9. Scripts = Instance.new("Folder")
  10. UIGridLayout = Instance.new("UIGridLayout")
  11. ScriptFrame = Instance.new("Frame")
  12. ScriptTitle = Instance.new("TextLabel")
  13. ScriptAuthor = Instance.new("TextLabel")
  14. ScriptGame = Instance.new("TextLabel")
  15. VerifiedScriptFrame = Instance.new("Frame")
  16. ScriptTitle_2 = Instance.new("TextLabel")
  17. VerifiedIcon = Instance.new("ImageLabel")
  18. ScriptAuthor_2 = Instance.new("TextLabel")
  19. ScriptGame_2 = Instance.new("TextLabel")
  20. Info = Instance.new("Frame")
  21. PreviewImage = Instance.new("ImageLabel")
  22. UICorner_14 = Instance.new("UICorner")
  23. Author = Instance.new("Frame")
  24. InfoBoxAuthor = Instance.new("TextLabel")
  25. ProfilePicture = Instance.new("ImageLabel")
  26. UICorner_15 = Instance.new("UICorner")
  27. Title_2 = Instance.new("Frame")
  28. InfoBoxTitle = Instance.new("TextLabel")
  29. Game = Instance.new("TextLabel")
  30. Description = Instance.new("TextLabel")
  31. Comments = Instance.new("Frame")
  32. Inner = Instance.new("Frame")
  33. UICorner_21 = Instance.new("UICorner")
  34. Line = Instance.new("Frame")
  35. CommentsText = Instance.new("TextLabel")
  36. Comments_2 = Instance.new("ScrollingFrame")
  37. Comment = Instance.new("Frame")
  38. Content = Instance.new("TextLabel")
  39. Author_2 = Instance.new("TextLabel")
  40. ProfilePicture_2 = Instance.new("ImageLabel")
  41. UICorner_22 = Instance.new("UICorner")
  42. UIListLayout_3 = Instance.new("UIListLayout")
  43. CloseFrame = Instance.new("ImageButton")
  44. PreviewImage_2 = Instance.new("ImageLabel")
  45. PreviewImageUICorner_2 = Instance.new("UICorner")
  46. TopBar = Instance.new("Frame")
  47. TopBarUICorner = Instance.new("UICorner")
  48. SecondProfile = Instance.new("ImageLabel")
  49. SecondProfileUICorner_2 = Instance.new("UICorner")
  50. KeySystem = Instance.new("TextLabel")
  51. KeySystemUICorner = Instance.new("UICorner")
  52. KeySystem_2 = Instance.new("TextLabel")
  53. KeySystemUICorner_2 = Instance.new("UICorner")
  54. OpenButton = Instance.new("ImageButton")
  55. OpenButtonUICorner = Instance.new("UICorner")
  56. CloseButton = Instance.new("ImageButton")
  57. ViewsLabel = Instance.new("TextLabel")
  58. ViewsLabelUICorner = Instance.new("UICorner")
  59. ViewsLabel_2 = Instance.new("TextLabel")
  60. ViewsLabelUICorner_2 = Instance.new("UICorner")
  61. ViewEye = Instance.new("ImageLabel")
  62. ViewEye_2 = Instance.new("ImageLabel")
  63. ViewEyeUICorner = Instance.new("UICorner")
  64. ViewEyeUICorner_2 = Instance.new("UICorner")
  65. Share = Instance.new("ImageButton")
  66. ShareUICorner = Instance.new("UICorner")
  67. Share_2 = Instance.new("ImageButton")
  68. ShareUICorner_2 = Instance.new("UICorner")
  69. Description_2 = Instance.new("TextLabel")
  70. InfoBox = Instance.new("ScrollingFrame")
  71. InfoBoxUICorner = Instance.new("UICorner")
  72. OpenInfo = Instance.new("TextButton")
  73. OpenInfo_2 = Instance.new("TextButton")
  74. CloseInfoBox = Instance.new("TextButton")
  75.  
  76. InfoBox.Visible = false
  77.  
  78. MainFrame.Name = "MainFrame"
  79. MainFrame.Parent = WindowsScreen
  80. MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  81. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  82. MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  83. MainFrame.Size = UDim2.new(0, 230, 0, 380)
  84. MainFrame.ZIndex = 2
  85.  
  86. UICorner.CornerRadius = UDim.new(0, 3)
  87. UICorner.Parent = MainFrame
  88.  
  89. TopBar.Name = "TopBar"
  90. TopBar.Parent = MainFrame
  91. TopBar.AnchorPoint = Vector2.new(0.5, 0.5)
  92. TopBar.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  93. TopBar.Position = UDim2.new(0.5, 0, 0.04, 0)
  94. TopBar.Size = UDim2.new(0, 400, 0, 40)
  95.  
  96. TopBarUICorner.CornerRadius = UDim.new(0, 3)
  97. TopBarUICorner.Parent = TopBar
  98.  
  99. CloseInfoBox.Name = "CloseInfoBox"
  100. CloseInfoBox.Parent = MainFrame
  101. CloseInfoBox.BackgroundTransparency = 1
  102. CloseInfoBox.Position = UDim2.new(0, 2, 0,1)
  103. CloseInfoBox.Size = UDim2.new(0, 40, 0, 40)
  104. CloseInfoBox.Font = Enum.Font.Gotham
  105. CloseInfoBox.Text = "<--"
  106. CloseInfoBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  107. CloseInfoBox.TextSize = 30
  108.  
  109. CloseInfoBox.Visible = false
  110.  
  111. InfoBox.Name = "InfoBox"
  112. InfoBox.Parent = MainFrame
  113. InfoBox.Active = true
  114. InfoBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  115. InfoBox.BorderSizePixel = 0
  116. InfoBox.BackgroundTransparency = 1
  117. InfoBox.Position = UDim2.new(0, 0, 0.08, 0)
  118. InfoBox.Size = UDim2.new(0, 400, 0, 400)
  119. InfoBox.ZIndex = 3
  120. InfoBox.CanvasSize = UDim2.new(0, 0, 0, 0)
  121. InfoBox.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  122.  
  123. InfoBoxUICorner.CornerRadius = UDim.new(0, 3)
  124. InfoBoxUICorner.Parent = InfoBox
  125.  
  126. SearchBox.Name = "SearchBox"
  127. SearchBox.Parent = MainFrame
  128. SearchBox.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  129. SearchBox.Position = UDim2.new(0, 5, 0, 5)
  130. SearchBox.Size = UDim2.new(0, 250, 0, 20)
  131. SearchBox.ClearTextOnFocus = false
  132. SearchBox.Font = Enum.Font.Gotham
  133. SearchBox.PlaceholderText = "Tags"
  134. SearchBox.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  135. SearchBox.Text = ""
  136. SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  137. SearchBox.TextScaled = true
  138. SearchBox.TextSize = 14.000
  139. SearchBox.TextWrapped = true
  140.  
  141. UICorner_3.CornerRadius = UDim.new(0, 10)
  142. UICorner_3.Parent = SearchBox
  143.  
  144. ScriptListFrame.Name = "ScriptListFrame"
  145. ScriptListFrame.Parent = MainFrame
  146. ScriptListFrame.Active = true
  147. ScriptListFrame.BackgroundTransparency = 1
  148. ScriptListFrame.BorderSizePixel = 0
  149. ScriptListFrame.Position = UDim2.new(0, 0, 0.08, 0)
  150. ScriptListFrame.Size = UDim2.new(0, 415, 0, 414)
  151. ScriptListFrame.ZIndex = 2
  152. ScriptListFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  153.  
  154. UIPadding.Parent = ScriptListFrame
  155. UIPadding.PaddingBottom = UDim.new(0, 0)
  156. UIPadding.PaddingLeft = UDim.new(0, 0)
  157. UIPadding.PaddingRight = UDim.new(0, 0)
  158. UIPadding.PaddingTop = UDim.new(0, 0)
  159.  
  160. Scripts.Name = "Scripts"
  161. Scripts.Parent = ScriptListFrame
  162.  
  163. UIGridLayout.Parent = Scripts
  164. UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
  165. UIGridLayout.CellPadding = UDim2.new(0, 1, 0, 1)
  166. UIGridLayout.CellSize = UDim2.new(0, 400, 0, 700)
  167.  
  168. ScriptFrame.Name = "ScriptFrame"
  169. ScriptFrame.Parent = Scripts
  170. ScriptFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  171. ScriptFrame.Size = UDim2.new(0, 370, 0, 700)
  172. ScriptFrame.BorderSizePixel = 0
  173.  
  174. ScriptTitle.Name = "ScriptTitle"
  175. ScriptTitle.Parent = ScriptFrame
  176. ScriptTitle.BackgroundTransparency = 1
  177. ScriptTitle.Position = UDim2.new(0, 0, 0, 305)
  178. ScriptTitle.Size = UDim2.new(0, 200, 0, 25)
  179. ScriptTitle.Font = Enum.Font.Gotham
  180. ScriptTitle.Text = "Script Title"
  181. ScriptTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  182. ScriptTitle.TextScaled = true
  183. ScriptTitle.TextSize = 14.000
  184. ScriptTitle.TextWrapped = true
  185. ScriptTitle.TextXAlignment = Enum.TextXAlignment.Left
  186.  
  187. ScriptAuthor.Name = "ScriptAuthor"
  188. ScriptAuthor.Parent = ScriptFrame
  189. ScriptAuthor.BackgroundTransparency = 1
  190. ScriptAuthor.Position = UDim2.new(0, 42, 0, 340)
  191. ScriptAuthor.Size = UDim2.new(0, 200, 0, 25)
  192. ScriptAuthor.Font = Enum.Font.Gotham
  193. ScriptAuthor.Text = "ScriptAuthor"
  194. ScriptAuthor.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. ScriptAuthor.TextSize = 14.000
  196. ScriptAuthor.TextWrapped = true
  197. ScriptAuthor.TextXAlignment = Enum.TextXAlignment.Left
  198.  
  199. ScriptGame.Name = "ScriptGame"
  200. ScriptGame.Parent = ScriptFrame
  201. ScriptGame.BackgroundTransparency = 1
  202. ScriptGame.Position = UDim2.new(0, 0, 0, 375)
  203. ScriptGame.Size = UDim2.new(0, 280, 0, 25)
  204. ScriptGame.Font = Enum.Font.Gotham
  205. ScriptGame.Text = "Game"
  206. ScriptGame.TextColor3 = Color3.fromRGB(255, 255, 255)
  207. ScriptGame.TextSize = 14.000
  208. ScriptGame.TextWrapped = true
  209. ScriptGame.TextXAlignment = Enum.TextXAlignment.Left
  210.  
  211. VerifiedScriptFrame.Name = "VerifiedScriptFrame"
  212. VerifiedScriptFrame.Parent = Scripts
  213. VerifiedScriptFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  214. VerifiedScriptFrame.Size = UDim2.new(0, 300, 0, 150)
  215. VerifiedScriptFrame.BorderSizePixel = 0
  216.  
  217. ScriptTitle_2.Name = "ScriptTitle"
  218. ScriptTitle_2.Parent = VerifiedScriptFrame
  219. ScriptTitle_2.BackgroundTransparency = 1
  220. ScriptTitle_2.Position = ScriptTitle.Position
  221. ScriptTitle_2.Size = ScriptTitle.Size
  222. ScriptTitle_2.Font = Enum.Font.Gotham
  223. ScriptTitle_2.Text = "Script Title"
  224. ScriptTitle_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  225. ScriptTitle_2.TextScaled = true
  226. ScriptTitle_2.TextSize = 14.000
  227. ScriptTitle_2.TextWrapped = true
  228. ScriptTitle_2.TextXAlignment = Enum.TextXAlignment.Left
  229.  
  230. ScriptAuthor_2.Name = "ScriptAuthor"
  231. ScriptAuthor_2.Parent = VerifiedScriptFrame
  232. ScriptAuthor_2.BackgroundTransparency = 1
  233. ScriptAuthor_2.Position = ScriptAuthor.Position
  234. ScriptAuthor_2.Size = ScriptAuthor.Size
  235. ScriptAuthor_2.Font = Enum.Font.Gotham
  236. ScriptAuthor_2.Text = "ScriptAuthor"
  237. ScriptAuthor_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  238. ScriptAuthor_2.TextSize = 14.000
  239. ScriptAuthor_2.TextWrapped = true
  240. ScriptAuthor_2.TextXAlignment = Enum.TextXAlignment.Left
  241.  
  242. ScriptGame_2.Name = "ScriptGame"
  243. ScriptGame_2.Parent = VerifiedScriptFrame
  244. ScriptGame_2.BackgroundTransparency = 1
  245. ScriptGame_2.Position = ScriptGame.Position
  246. ScriptGame_2.Size = ScriptGame.Size
  247. ScriptGame_2.Font = Enum.Font.Gotham
  248. ScriptGame_2.Text = "Game"
  249. ScriptGame_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  250. ScriptGame_2.TextSize = 14.000
  251. ScriptGame_2.TextWrapped = true
  252. ScriptGame_2.TextXAlignment = Enum.TextXAlignment.Left
  253.  
  254. Info.Name = "Info"
  255. Info.Parent = InfoBox
  256. Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  257. Info.BackgroundTransparency = 1
  258. Info.Size = UDim2.new(0, 995, 0, 207)
  259.  
  260. PreviewImage.Name = "PreviewImage"
  261. PreviewImage.Parent = ScriptFrame
  262. PreviewImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  263. PreviewImage.BackgroundTransparency = 1
  264. PreviewImage.Position = UDim2.new(0, 50, 0, 5)
  265. PreviewImage.Size = UDim2.new(0, 300, 0, 300)
  266. PreviewImage.Image = "rbxassetid://17093295752"
  267.  
  268. UICorner_14.CornerRadius = UDim.new(0, 24)
  269. UICorner_14.Parent = PreviewImage
  270.  
  271. PreviewImage_2.Name = "PreviewImage"
  272. PreviewImage_2.Parent = VerifiedScriptFrame
  273. PreviewImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  274. PreviewImage_2.BackgroundTransparency = 1
  275. PreviewImage_2.Position = UDim2.new(0, 50, 0, 5)
  276. PreviewImage_2.Size = UDim2.new(0, 300, 0, 300)
  277. PreviewImage_2.Image = "rbxassetid://17093295752"
  278.  
  279. PreviewImageUICorner_2.CornerRadius = UDim.new(0, 24)
  280. PreviewImageUICorner_2.Parent = PreviewImage_2
  281.  
  282. ProfilePicture.Name = "ProfilePicture"
  283. ProfilePicture.Parent = ScriptFrame
  284. ProfilePicture.BackgroundTransparency = 1
  285. ProfilePicture.Position = UDim2.new(0, 1, 0, 330)
  286. ProfilePicture.Size = UDim2.new(0, 40, 0, 40)
  287. ProfilePicture.Image = "rbxassetid://17093333262"
  288.  
  289. UICorner_15.CornerRadius = UDim.new(1, 0)
  290. UICorner_15.Parent = ProfilePicture
  291.  
  292. SecondProfile.Name = "SecondProfile"
  293. SecondProfile.Parent = VerifiedScriptFrame
  294. SecondProfile.BackgroundTransparency = 1
  295. SecondProfile.Position = UDim2.new(0, 1, 0, 330)
  296. SecondProfile.Size = UDim2.new(0, 40, 0, 40)
  297. SecondProfile.Image = "rbxassetid://17093333262"
  298.  
  299. SecondProfileUICorner_2.CornerRadius = UDim.new(1, 0)
  300. SecondProfileUICorner_2.Parent = SecondProfile
  301.  
  302. KeySystem.Name = "KeySystem"
  303. KeySystem.Parent = ScriptFrame
  304. KeySystem.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
  305. KeySystem.Position = UDim2.new(0, 250, 0, 270)
  306. KeySystem.Size = UDim2.new(0, 55, 0, 25)
  307. KeySystem.Font = Enum.Font.Gotham
  308. KeySystem.Text = "Key System"
  309. KeySystem.TextColor3 = Color3.fromRGB(0, 0, 0)
  310.  
  311. KeySystemUICorner.CornerRadius = UDim.new(0, 10)
  312. KeySystemUICorner.Parent = KeySystem
  313.  
  314. ViewsLabel.Name = "ViewsLabel"
  315. ViewsLabel.Parent = ScriptFrame
  316. ViewsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  317. ViewsLabel.Position = UDim2.new(0, 55, 0, 270)
  318. ViewsLabel.Size = UDim2.new(0, 60, 0, 25)
  319. ViewsLabel.Font = Enum.Font.Gotham
  320. ViewsLabel.Text = "V"
  321. ViewsLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  322. ViewsLabel.TextScaled = true
  323.  
  324. ViewsLabelUICorner.CornerRadius = UDim.new(0, 10)
  325. ViewsLabelUICorner.Parent = ViewsLabel
  326.  
  327. ViewsLabel_2.Name = "ViewsLabel"
  328. ViewsLabel_2.Parent = VerifiedScriptFrame
  329. ViewsLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  330. ViewsLabel_2.Position = UDim2.new(0, 55, 0, 270)
  331. ViewsLabel_2.Size = UDim2.new(0, 60, 0, 25)
  332. ViewsLabel_2.Font = Enum.Font.Gotham
  333. ViewsLabel_2.Text = "V"
  334. ViewsLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  335. ViewsLabel_2.TextScaled = true
  336.  
  337. ViewsLabelUICorner_2.CornerRadius = UDim.new(0, 10)
  338. ViewsLabelUICorner_2.Parent = ViewsLabel_2
  339.  
  340. ViewEye.Name = "ViewEye"
  341. ViewEye.Parent = ScriptFrame
  342. ViewEye.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  343. ViewEye.Position = UDim2.new(0, 120, 0, 272)
  344. ViewEye.Size = UDim2.new(0, 25, 0, 20)
  345. ViewEye.Image = "rbxassetid://17094518883"
  346.  
  347. ViewEyeUICorner.CornerRadius = UDim.new(0, 10)
  348. ViewEyeUICorner.Parent = ViewEye
  349.  
  350. ViewEye_2.Name = "ViewEye"
  351. ViewEye_2.Parent = VerifiedScriptFrame
  352. ViewEye_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  353. ViewEye_2.Position = UDim2.new(0, 120, 0, 272)
  354. ViewEye_2.Size = UDim2.new(0, 25, 0, 20)
  355. ViewEye_2.Image = "rbxassetid://17094518883"
  356.  
  357. ViewEyeUICorner_2.CornerRadius = UDim.new(0, 10)
  358. ViewEyeUICorner_2.Parent = ViewEye_2
  359.  
  360. KeySystem_2.Name = "KeySystem"
  361. KeySystem_2.Parent = VerifiedScriptFrame
  362. KeySystem_2.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
  363. KeySystem_2.Position = UDim2.new(0, 250, 0, 270)
  364. KeySystem_2.Size = UDim2.new(0, 55, 0, 25)
  365. KeySystem_2.Font = Enum.Font.Gotham
  366. KeySystem_2.Text = "Key System"
  367. KeySystem_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  368.  
  369. KeySystemUICorner_2.CornerRadius = UDim.new(0, 10)
  370. KeySystemUICorner_2.Parent = KeySystem_2
  371.  
  372. VerifiedIcon.Name = "VerifiedIcon"
  373. VerifiedIcon.Parent = PreviewImage_2
  374. VerifiedIcon.BackgroundTransparency = 1
  375. VerifiedIcon.Position = UDim2.new(0, 250, 0, 250)
  376. VerifiedIcon.Size = UDim2.new(0, 55, 0, 40)
  377. VerifiedIcon.Image = "rbxassetid://15621211889"
  378.  
  379. Share.Name = "Share"
  380. Share.Parent = ScriptFrame
  381. Share.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  382. Share.Position = UDim2.new(0, 310, 0, 8)
  383. Share.Size = UDim2.new(0, 30, 0, 30)
  384. Share.Image = "rbxassetid://17094508690"
  385. Share.AutoButtonColor = false
  386.  
  387. ShareUICorner.CornerRadius = UDim.new(0, 10)
  388. ShareUICorner.Parent = Share
  389.  
  390. Description.Name = "Description"
  391. Description.Parent = ScriptFrame
  392. Description.BackgroundTransparency = 1
  393. Description.Position = UDim2.new(0, 0, 0, 400)
  394. Description.Size = UDim2.new(0, 400, 0, 280)
  395. Description.Font = Enum.Font.Gotham
  396. Description.Text = "Desc"
  397. Description.TextColor3 = Color3.fromRGB(255, 255, 255)
  398. Description.TextSize = 20.000
  399. Description.TextWrapped = true
  400. Description.TextScaled = true
  401. Description.TextXAlignment = Enum.TextXAlignment.Left
  402. Description.TextYAlignment = Enum.TextYAlignment.Top
  403. Description.MaxVisibleGraphemes = 1500
  404.  
  405. Description_2.Name = "Description"
  406. Description_2.Parent = VerifiedScriptFrame
  407. Description_2.BackgroundTransparency = 1
  408. Description_2.Position = UDim2.new(0, 0, 0, 400)
  409. Description_2.Size = UDim2.new(0, 400, 0, 280)
  410. Description_2.Font = Enum.Font.Gotham
  411. Description_2.Text = "Desc"
  412. Description_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  413. Description_2.TextSize = 20.000
  414. Description_2.TextWrapped = true
  415. Description_2.TextScaled = true
  416. Description_2.TextXAlignment = Enum.TextXAlignment.Left
  417. Description_2.TextYAlignment = Enum.TextYAlignment.Top
  418. Description_2.MaxVisibleGraphemes = 1500
  419.  
  420. OpenInfo.Name = "OpenInfo"
  421. OpenInfo.Parent = ScriptFrame
  422. OpenInfo.BackgroundTransparency = 1
  423. OpenInfo.Position = UDim2.new(0, 280, 0, 670)
  424. OpenInfo.Size = UDim2.new(0, 100, 0, 25)
  425. OpenInfo.Font = Enum.Font.Gotham
  426. OpenInfo.Text = "Comments -->"
  427. OpenInfo.TextColor3 = Color3.fromRGB(255, 255, 255)
  428. OpenInfo.AutoButtonColor = false
  429. OpenInfo.TextSize = 20
  430.  
  431. OpenInfo_2.Name = "OpenInfo"
  432. OpenInfo_2.Parent = VerifiedScriptFrame
  433. OpenInfo_2.BackgroundTransparency = 1
  434. OpenInfo_2.Position = UDim2.new(0, 280, 0, 670)
  435. OpenInfo_2.Size = UDim2.new(0, 100, 0, 25)
  436. OpenInfo_2.Font = Enum.Font.Gotham
  437. OpenInfo_2.Text = "Comments -->"
  438. OpenInfo_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  439. OpenInfo_2.AutoButtonColor = false
  440. OpenInfo_2.TextSize = 20
  441.  
  442. Share_2.Name = "Share"
  443. Share_2.Parent = VerifiedScriptFrame
  444. Share_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  445. Share_2.Position = UDim2.new(0, 310, 0, 8)
  446. Share_2.Size = UDim2.new(0, 30, 0, 30)
  447. Share_2.Image = "rbxassetid://17094508690"
  448. Share_2.AutoButtonColor = false
  449.  
  450. ShareUICorner_2.CornerRadius = UDim.new(0, 10)
  451. ShareUICorner_2.Parent = Share_2
  452.  
  453. Comments.Name = "Comments"
  454. Comments.Parent = InfoBox
  455. Comments.BackgroundTransparency = 1
  456. Comments.Size = UDim2.new(0, 400, 0, 414)
  457.  
  458. Inner.Name = "Inner"
  459. Inner.Parent = Comments
  460. Inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  461. Inner.Position = UDim2.new(0, 0, 0, 10)
  462. Inner.BackgroundTransparency = 1
  463. Inner.Size = UDim2.new(0, 400, 0, 414)
  464.  
  465. UICorner_21.CornerRadius = UDim.new(0, 12)
  466. UICorner_21.Parent = Inner
  467.  
  468. CommentsText.Name = "CommentsText"
  469. CommentsText.Parent = Inner
  470. CommentsText.BackgroundTransparency = 1
  471. CommentsText.Size = UDim2.new(0, 400, 0, 25)
  472. CommentsText.Font = Enum.Font.GothamBold
  473. CommentsText.Text = "Comments"
  474. CommentsText.TextColor3 = Color3.fromRGB(255, 255, 255)
  475. CommentsText.TextSize = 14.000
  476.  
  477. Comments_2.Name = "Comments"
  478. Comments_2.Parent = Inner
  479. Comments_2.Active = true
  480. Comments_2.BackgroundTransparency = 1
  481. Comments_2.BorderSizePixel = 0
  482. Comments_2.Position = UDim2.new(0, 0, 0, 10)
  483. Comments_2.Size = UDim2.new(0, 415, 0, 390)
  484. Comments_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  485.  
  486. Comment.Name = "Comment"
  487. Comment.Parent = Comments_2
  488. Comment.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  489. Comment.BackgroundTransparency = 1
  490. Comment.Size = UDim2.new(0, 400, 0, 50)
  491.  
  492. Content.Name = "Content"
  493. Content.Parent = Comment
  494. Content.BackgroundTransparency = 1
  495. Content.Position = UDim2.new(0, 50, 0, 30)
  496. Content.Size = UDim2.new(0, 300, 0, 20)
  497. Content.Font = Enum.Font.Gotham
  498. Content.Text = "Comment"
  499. Content.TextColor3 = Color3.fromRGB(255, 255, 255)
  500. Content.TextSize = 14
  501. Content.TextWrapped = true
  502. Content.TextXAlignment = Enum.TextXAlignment.Left
  503. Content.TextYAlignment = Enum.TextYAlignment.Top
  504. Content.TextScaled = true
  505.  
  506. Author_2.Name = "Author"
  507. Author_2.Parent = Comment
  508. Author_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  509. Author_2.BackgroundTransparency = 1.000
  510. Author_2.BorderSizePixel = 0
  511. Author_2.Position = UDim2.new(0, 50, 0, 5)
  512. Author_2.Size = UDim2.new(0, 200, 0, 25)
  513. Author_2.Font = Enum.Font.GothamBold
  514. Author_2.Text = "Author"
  515. Author_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  516. Author_2.TextSize = 20.000
  517. Author_2.TextWrapped = true
  518. Author_2.TextXAlignment = Enum.TextXAlignment.Left
  519.  
  520. ProfilePicture_2.Name = "ProfilePicture"
  521. ProfilePicture_2.Parent = Comment
  522. ProfilePicture_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  523. ProfilePicture_2.BackgroundTransparency = 1.000
  524. ProfilePicture_2.Position = UDim2.new(0, 5, 0, 5)
  525. ProfilePicture_2.Size = UDim2.new(0, 40, 0, 40)
  526. ProfilePicture_2.Image = "rbxassetid://17093333262"
  527.  
  528. UICorner_22.CornerRadius = UDim.new(1, 0)
  529. UICorner_22.Parent = ProfilePicture_2
  530.  
  531. UIListLayout_3.Parent = Comments_2
  532. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  533. UIListLayout_3.Padding = UDim.new(0, 5)
  534.  KeySystem_2.Visible = false
  535. KeySystem.Visible = false
  536. getfakeasset = getcustomasset or getsynasset
  537.  
  538. HttpService = game:GetService("HttpService")
  539.  
  540.  
  541. page = 1
  542. gquery = ""
  543.  
  544. function tableConcat(t1,t2)
  545.  for i, v in pairs(t2) do
  546.   table.insert(t1, v)
  547.  end
  548.  return t1
  549. end
  550.  
  551.  
  552. MainFrame.ScriptListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
  553. MainFrame.InfoBox.AutomaticSize = Enum.AutomaticSize.Y
  554. MainFrame.ScriptListFrame.ScrollBarImageTransparency = 1
  555. MainFrame.ScriptListFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  556. MainFrame.InfoBox.AutomaticCanvasSize = Enum.AutomaticSize.Y
  557. MainFrame.InfoBox.Comments.Inner.Comments.AutomaticCanvasSize = Enum.AutomaticSize.Y
  558. MainFrame.InfoBox.Comments.Inner.Comments.ScrollBarImageColor3 = Color3.new(0, 0, 0)
  559. MainFrame.InfoBox.Comments.Inner.Comments.ScrollBarImageTransparency = 1
  560. MainFrame.InfoBox.ScrollBarImageColor3 = Color3.new(0, 0, 0)
  561.  
  562. VerifiedScript = MainFrame.ScriptListFrame.Scripts.VerifiedScriptFrame:Clone()
  563. Script = MainFrame.ScriptListFrame.Scripts.ScriptFrame:Clone()
  564. MainFrame.ScriptListFrame.Scripts.ScriptFrame:Destroy()
  565. MainFrame.ScriptListFrame.Scripts.VerifiedScriptFrame:Destroy()
  566.  
  567. Comment = MainFrame.InfoBox.Comments.Inner.Comments.Comment:Clone()
  568. MainFrame.InfoBox.Comments.Inner.Comments.Comment:Destroy()
  569.  
  570.  
  571.  
  572.  
  573. function _if(a, b, c)
  574.  if a then return b else return c end
  575. end
  576.  
  577. function fastmodeExec(func)
  578.  if getgenv().fastmode == true then
  579.   task.spawn(func)
  580.  else
  581.   func()
  582.  end
  583. end
  584.  
  585.  
  586. function fetchScripts(query, page)
  587.  page = page or 1
  588.  query = HttpService:UrlEncode(query)
  589.  
  590.  url = _if(query == "", "https://www.scriptblox.com/api/script/fetch?page="..tostring(page), "https://scriptblox.com/api/script/search?q="..query.."&max=100&mode=free&page=".. tostring(page))
  591.  req = HttpService:JSONDecode(game:HttpGetAsync(url)).result
  592.  
  593.  return req.scripts
  594. end
  595.  
  596. function fetchComments(scriptId, page)
  597.  page = page or 1
  598.  
  599.  url = "https://scriptblox.com/api/comment/" ..scriptId.. "?page=" ..tostring(page).. "&max=100"
  600.  req = HttpService:JSONDecode(game:HttpGetAsync(url)).result
  601.  
  602.  return req.comments
  603. end
  604.  
  605. function fixScript(scriptObj)
  606.    req = HttpService:JSONDecode(game:HttpGetAsync("https://www.scriptblox.com/api/script/"..scriptObj.slug)).script
  607.    scriptObj["script"] = _if(scriptObj["script"], scriptObj["script"], req.script)
  608.    scriptObj["features"] = _if(scriptObj["features"], scriptObj["features"], req.features)
  609.    scriptObj["owner"] = _if(scriptObj["owner"], scriptObj["owner"], req.owner)
  610.    
  611.  return scriptObj
  612. end
  613.  
  614. function updateInfoBox(scriptObj)
  615.  scriptObj = fixScript(scriptObj)
  616.  
  617.  
  618.  commentsUIListLayout = MainFrame.InfoBox.Comments.Inner.Comments.UIListLayout:Clone()
  619.  MainFrame.InfoBox.Comments.Inner.Comments:ClearAllChildren()
  620.  commentsUIListLayout.Parent = MainFrame.InfoBox.Comments.Inner.Comments
  621.  
  622.  task.spawn(function()
  623.   for _, v in pairs(fetchComments(scriptObj["_id"])) do
  624.  
  625.    newComment = Comment:Clone()
  626.    newComment.Parent = MainFrame.InfoBox.Comments.Inner.Comments
  627.    newComment.Content.Text = v.text
  628.    newComment.Author.Text = v.commentBy.username
  629.   end
  630.  end)
  631. end
  632.  
  633.  
  634. function refreshScripts(scriptTbl)
  635.  if #scriptTbl <= 0 then
  636. MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  637. else
  638. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  639.  end
  640.  
  641.  UIGridLayoutCopy = Scripts.UIGridLayout:Clone()
  642.  Scripts:ClearAllChildren()
  643.  UIGridLayoutCopy.Parent = Scripts
  644.  
  645.  addScripts(scriptTbl)
  646. end
  647.  
  648. function addScripts(scriptTbl)
  649.  for i, v in pairs(scriptTbl) do
  650.   fastmodeExec(function()
  651.    local newScript
  652.  
  653.    v = fixScript(v)
  654.  
  655.    if v.verified == true then
  656.     newScript = VerifiedScript:Clone()
  657.     newScript.ScriptTitle.Text = v.title
  658.     newScript.ScriptAuthor.Text = "@"..v.owner.username
  659.     newScript.ScriptGame.Text = v.game.name
  660.     newScript.ViewsLabel.Text = v.views
  661.     newScript.Description.Text = v.features
  662.     newScript.Parent = Scripts
  663.    else
  664.     newScript = Script:Clone()
  665.     newScript.ScriptTitle.Text = v.title
  666.     newScript.ScriptAuthor.Text = "@"..v.owner.username
  667.     newScript.ScriptGame.Text = v.game.name
  668.     newScript.ViewsLabel.Text = v.views
  669.     newScript.Description.Text = v.features
  670.     newScript.Parent = Scripts
  671.    end
  672.    if v.game.name == "Universal Script 📌" then
  673.     newScript.PreviewImage.Image = "rbxassetid://17117106457"
  674.     else
  675.     newScript.PreviewImage.Image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid="..v.game.gameId.."&fmt=png&wd=420&ht=420"
  676.     end
  677.  
  678. if v.key == true then
  679. newScript.KeySystem.Visible = true
  680. end
  681.  
  682. CloseInfoBox.MouseButton1Click:Connect(function()
  683. ScriptListFrame.Visible = true
  684. InfoBox.Visible = false
  685. SearchBox.Visible = true
  686. CloseInfoBox.Visible = false
  687. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  688. end)
  689.  
  690. newScript.OpenInfo.MouseButton1Click:Connect(function()
  691. updateInfoBox(v)
  692. ScriptListFrame.Visible = false
  693. InfoBox.Visible = true
  694. SearchBox.Visible = false
  695. CloseInfoBox.Visible = true
  696. MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  697. end)
  698.  
  699. newScript.Share.MouseButton1Click:Connect(function()
  700. setclipboard(v.slug)
  701. end)
  702.   end)
  703.  end
  704.  pagefetchrunning = false
  705. end
  706.  
  707. SearchBox.FocusLost:Connect(function(enterPressed)
  708.  if enterPressed then
  709.   gquery = SearchBox.Text
  710.   page = 1
  711.   local scriptsTbl = fetchScripts(SearchBox.Text, 1)
  712.   refreshScripts(scriptsTbl)
  713.  end
  714. end)
  715.  
  716. ScriptListFrame:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
  717.  if (ScriptListFrame.CanvasPosition.Y + ScriptListFrame.AbsoluteSize.Y) >= ScriptListFrame.AbsoluteCanvasSize.Y -200 and not pagefetchrunning then
  718.   page = page + 1
  719.   pagefetchrunning = true
  720.   addScripts(fetchScripts(gquery, page))
  721.  end
  722. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement