Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MainFrame = Instance.new("Frame")
- UICorner = Instance.new("UICorner")
- TopBarFrame = Instance.new("Frame")
- UICorner_2 = Instance.new("UICorner")
- SearchBox = Instance.new("TextBox")
- UICorner_3 = Instance.new("UICorner")
- ScriptListFrame = Instance.new("ScrollingFrame")
- UIPadding = Instance.new("UIPadding")
- Scripts = Instance.new("Folder")
- UIGridLayout = Instance.new("UIGridLayout")
- ScriptFrame = Instance.new("Frame")
- ScriptTitle = Instance.new("TextLabel")
- ScriptAuthor = Instance.new("TextLabel")
- ScriptGame = Instance.new("TextLabel")
- VerifiedScriptFrame = Instance.new("Frame")
- ScriptTitle_2 = Instance.new("TextLabel")
- VerifiedIcon = Instance.new("ImageLabel")
- ScriptAuthor_2 = Instance.new("TextLabel")
- ScriptGame_2 = Instance.new("TextLabel")
- Info = Instance.new("Frame")
- PreviewImage = Instance.new("ImageLabel")
- UICorner_14 = Instance.new("UICorner")
- Author = Instance.new("Frame")
- InfoBoxAuthor = Instance.new("TextLabel")
- ProfilePicture = Instance.new("ImageLabel")
- UICorner_15 = Instance.new("UICorner")
- Title_2 = Instance.new("Frame")
- InfoBoxTitle = Instance.new("TextLabel")
- Game = Instance.new("TextLabel")
- Description = Instance.new("TextLabel")
- Comments = Instance.new("Frame")
- Inner = Instance.new("Frame")
- UICorner_21 = Instance.new("UICorner")
- Line = Instance.new("Frame")
- CommentsText = Instance.new("TextLabel")
- Comments_2 = Instance.new("ScrollingFrame")
- Comment = Instance.new("Frame")
- Content = Instance.new("TextLabel")
- Author_2 = Instance.new("TextLabel")
- ProfilePicture_2 = Instance.new("ImageLabel")
- UICorner_22 = Instance.new("UICorner")
- UIListLayout_3 = Instance.new("UIListLayout")
- CloseFrame = Instance.new("ImageButton")
- PreviewImage_2 = Instance.new("ImageLabel")
- PreviewImageUICorner_2 = Instance.new("UICorner")
- TopBar = Instance.new("Frame")
- TopBarUICorner = Instance.new("UICorner")
- SecondProfile = Instance.new("ImageLabel")
- SecondProfileUICorner_2 = Instance.new("UICorner")
- KeySystem = Instance.new("TextLabel")
- KeySystemUICorner = Instance.new("UICorner")
- KeySystem_2 = Instance.new("TextLabel")
- KeySystemUICorner_2 = Instance.new("UICorner")
- OpenButton = Instance.new("ImageButton")
- OpenButtonUICorner = Instance.new("UICorner")
- CloseButton = Instance.new("ImageButton")
- ViewsLabel = Instance.new("TextLabel")
- ViewsLabelUICorner = Instance.new("UICorner")
- ViewsLabel_2 = Instance.new("TextLabel")
- ViewsLabelUICorner_2 = Instance.new("UICorner")
- ViewEye = Instance.new("ImageLabel")
- ViewEye_2 = Instance.new("ImageLabel")
- ViewEyeUICorner = Instance.new("UICorner")
- ViewEyeUICorner_2 = Instance.new("UICorner")
- Share = Instance.new("ImageButton")
- ShareUICorner = Instance.new("UICorner")
- Share_2 = Instance.new("ImageButton")
- ShareUICorner_2 = Instance.new("UICorner")
- Description_2 = Instance.new("TextLabel")
- InfoBox = Instance.new("ScrollingFrame")
- InfoBoxUICorner = Instance.new("UICorner")
- OpenInfo = Instance.new("TextButton")
- OpenInfo_2 = Instance.new("TextButton")
- CloseInfoBox = Instance.new("TextButton")
- InfoBox.Visible = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = WindowsScreen
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFrame.Size = UDim2.new(0, 230, 0, 380)
- MainFrame.ZIndex = 2
- UICorner.CornerRadius = UDim.new(0, 3)
- UICorner.Parent = MainFrame
- TopBar.Name = "TopBar"
- TopBar.Parent = MainFrame
- TopBar.AnchorPoint = Vector2.new(0.5, 0.5)
- TopBar.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- TopBar.Position = UDim2.new(0.5, 0, 0.04, 0)
- TopBar.Size = UDim2.new(0, 400, 0, 40)
- TopBarUICorner.CornerRadius = UDim.new(0, 3)
- TopBarUICorner.Parent = TopBar
- CloseInfoBox.Name = "CloseInfoBox"
- CloseInfoBox.Parent = MainFrame
- CloseInfoBox.BackgroundTransparency = 1
- CloseInfoBox.Position = UDim2.new(0, 2, 0,1)
- CloseInfoBox.Size = UDim2.new(0, 40, 0, 40)
- CloseInfoBox.Font = Enum.Font.Gotham
- CloseInfoBox.Text = "<--"
- CloseInfoBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseInfoBox.TextSize = 30
- CloseInfoBox.Visible = false
- InfoBox.Name = "InfoBox"
- InfoBox.Parent = MainFrame
- InfoBox.Active = true
- InfoBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- InfoBox.BorderSizePixel = 0
- InfoBox.BackgroundTransparency = 1
- InfoBox.Position = UDim2.new(0, 0, 0.08, 0)
- InfoBox.Size = UDim2.new(0, 400, 0, 400)
- InfoBox.ZIndex = 3
- InfoBox.CanvasSize = UDim2.new(0, 0, 0, 0)
- InfoBox.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar
- InfoBoxUICorner.CornerRadius = UDim.new(0, 3)
- InfoBoxUICorner.Parent = InfoBox
- SearchBox.Name = "SearchBox"
- SearchBox.Parent = MainFrame
- SearchBox.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- SearchBox.Position = UDim2.new(0, 5, 0, 5)
- SearchBox.Size = UDim2.new(0, 250, 0, 20)
- SearchBox.ClearTextOnFocus = false
- SearchBox.Font = Enum.Font.Gotham
- SearchBox.PlaceholderText = "Tags"
- SearchBox.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- SearchBox.Text = ""
- SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SearchBox.TextScaled = true
- SearchBox.TextSize = 14.000
- SearchBox.TextWrapped = true
- UICorner_3.CornerRadius = UDim.new(0, 10)
- UICorner_3.Parent = SearchBox
- ScriptListFrame.Name = "ScriptListFrame"
- ScriptListFrame.Parent = MainFrame
- ScriptListFrame.Active = true
- ScriptListFrame.BackgroundTransparency = 1
- ScriptListFrame.BorderSizePixel = 0
- ScriptListFrame.Position = UDim2.new(0, 0, 0.08, 0)
- ScriptListFrame.Size = UDim2.new(0, 415, 0, 414)
- ScriptListFrame.ZIndex = 2
- ScriptListFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- UIPadding.Parent = ScriptListFrame
- UIPadding.PaddingBottom = UDim.new(0, 0)
- UIPadding.PaddingLeft = UDim.new(0, 0)
- UIPadding.PaddingRight = UDim.new(0, 0)
- UIPadding.PaddingTop = UDim.new(0, 0)
- Scripts.Name = "Scripts"
- Scripts.Parent = ScriptListFrame
- UIGridLayout.Parent = Scripts
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 1, 0, 1)
- UIGridLayout.CellSize = UDim2.new(0, 400, 0, 700)
- ScriptFrame.Name = "ScriptFrame"
- ScriptFrame.Parent = Scripts
- ScriptFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- ScriptFrame.Size = UDim2.new(0, 370, 0, 700)
- ScriptFrame.BorderSizePixel = 0
- ScriptTitle.Name = "ScriptTitle"
- ScriptTitle.Parent = ScriptFrame
- ScriptTitle.BackgroundTransparency = 1
- ScriptTitle.Position = UDim2.new(0, 0, 0, 305)
- ScriptTitle.Size = UDim2.new(0, 200, 0, 25)
- ScriptTitle.Font = Enum.Font.Gotham
- ScriptTitle.Text = "Script Title"
- ScriptTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptTitle.TextScaled = true
- ScriptTitle.TextSize = 14.000
- ScriptTitle.TextWrapped = true
- ScriptTitle.TextXAlignment = Enum.TextXAlignment.Left
- ScriptAuthor.Name = "ScriptAuthor"
- ScriptAuthor.Parent = ScriptFrame
- ScriptAuthor.BackgroundTransparency = 1
- ScriptAuthor.Position = UDim2.new(0, 42, 0, 340)
- ScriptAuthor.Size = UDim2.new(0, 200, 0, 25)
- ScriptAuthor.Font = Enum.Font.Gotham
- ScriptAuthor.Text = "ScriptAuthor"
- ScriptAuthor.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptAuthor.TextSize = 14.000
- ScriptAuthor.TextWrapped = true
- ScriptAuthor.TextXAlignment = Enum.TextXAlignment.Left
- ScriptGame.Name = "ScriptGame"
- ScriptGame.Parent = ScriptFrame
- ScriptGame.BackgroundTransparency = 1
- ScriptGame.Position = UDim2.new(0, 0, 0, 375)
- ScriptGame.Size = UDim2.new(0, 280, 0, 25)
- ScriptGame.Font = Enum.Font.Gotham
- ScriptGame.Text = "Game"
- ScriptGame.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptGame.TextSize = 14.000
- ScriptGame.TextWrapped = true
- ScriptGame.TextXAlignment = Enum.TextXAlignment.Left
- VerifiedScriptFrame.Name = "VerifiedScriptFrame"
- VerifiedScriptFrame.Parent = Scripts
- VerifiedScriptFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- VerifiedScriptFrame.Size = UDim2.new(0, 300, 0, 150)
- VerifiedScriptFrame.BorderSizePixel = 0
- ScriptTitle_2.Name = "ScriptTitle"
- ScriptTitle_2.Parent = VerifiedScriptFrame
- ScriptTitle_2.BackgroundTransparency = 1
- ScriptTitle_2.Position = ScriptTitle.Position
- ScriptTitle_2.Size = ScriptTitle.Size
- ScriptTitle_2.Font = Enum.Font.Gotham
- ScriptTitle_2.Text = "Script Title"
- ScriptTitle_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptTitle_2.TextScaled = true
- ScriptTitle_2.TextSize = 14.000
- ScriptTitle_2.TextWrapped = true
- ScriptTitle_2.TextXAlignment = Enum.TextXAlignment.Left
- ScriptAuthor_2.Name = "ScriptAuthor"
- ScriptAuthor_2.Parent = VerifiedScriptFrame
- ScriptAuthor_2.BackgroundTransparency = 1
- ScriptAuthor_2.Position = ScriptAuthor.Position
- ScriptAuthor_2.Size = ScriptAuthor.Size
- ScriptAuthor_2.Font = Enum.Font.Gotham
- ScriptAuthor_2.Text = "ScriptAuthor"
- ScriptAuthor_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptAuthor_2.TextSize = 14.000
- ScriptAuthor_2.TextWrapped = true
- ScriptAuthor_2.TextXAlignment = Enum.TextXAlignment.Left
- ScriptGame_2.Name = "ScriptGame"
- ScriptGame_2.Parent = VerifiedScriptFrame
- ScriptGame_2.BackgroundTransparency = 1
- ScriptGame_2.Position = ScriptGame.Position
- ScriptGame_2.Size = ScriptGame.Size
- ScriptGame_2.Font = Enum.Font.Gotham
- ScriptGame_2.Text = "Game"
- ScriptGame_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ScriptGame_2.TextSize = 14.000
- ScriptGame_2.TextWrapped = true
- ScriptGame_2.TextXAlignment = Enum.TextXAlignment.Left
- Info.Name = "Info"
- Info.Parent = InfoBox
- Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Info.BackgroundTransparency = 1
- Info.Size = UDim2.new(0, 995, 0, 207)
- PreviewImage.Name = "PreviewImage"
- PreviewImage.Parent = ScriptFrame
- PreviewImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PreviewImage.BackgroundTransparency = 1
- PreviewImage.Position = UDim2.new(0, 50, 0, 5)
- PreviewImage.Size = UDim2.new(0, 300, 0, 300)
- PreviewImage.Image = "rbxassetid://17093295752"
- UICorner_14.CornerRadius = UDim.new(0, 24)
- UICorner_14.Parent = PreviewImage
- PreviewImage_2.Name = "PreviewImage"
- PreviewImage_2.Parent = VerifiedScriptFrame
- PreviewImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PreviewImage_2.BackgroundTransparency = 1
- PreviewImage_2.Position = UDim2.new(0, 50, 0, 5)
- PreviewImage_2.Size = UDim2.new(0, 300, 0, 300)
- PreviewImage_2.Image = "rbxassetid://17093295752"
- PreviewImageUICorner_2.CornerRadius = UDim.new(0, 24)
- PreviewImageUICorner_2.Parent = PreviewImage_2
- ProfilePicture.Name = "ProfilePicture"
- ProfilePicture.Parent = ScriptFrame
- ProfilePicture.BackgroundTransparency = 1
- ProfilePicture.Position = UDim2.new(0, 1, 0, 330)
- ProfilePicture.Size = UDim2.new(0, 40, 0, 40)
- ProfilePicture.Image = "rbxassetid://17093333262"
- UICorner_15.CornerRadius = UDim.new(1, 0)
- UICorner_15.Parent = ProfilePicture
- SecondProfile.Name = "SecondProfile"
- SecondProfile.Parent = VerifiedScriptFrame
- SecondProfile.BackgroundTransparency = 1
- SecondProfile.Position = UDim2.new(0, 1, 0, 330)
- SecondProfile.Size = UDim2.new(0, 40, 0, 40)
- SecondProfile.Image = "rbxassetid://17093333262"
- SecondProfileUICorner_2.CornerRadius = UDim.new(1, 0)
- SecondProfileUICorner_2.Parent = SecondProfile
- KeySystem.Name = "KeySystem"
- KeySystem.Parent = ScriptFrame
- KeySystem.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
- KeySystem.Position = UDim2.new(0, 250, 0, 270)
- KeySystem.Size = UDim2.new(0, 55, 0, 25)
- KeySystem.Font = Enum.Font.Gotham
- KeySystem.Text = "Key System"
- KeySystem.TextColor3 = Color3.fromRGB(0, 0, 0)
- KeySystemUICorner.CornerRadius = UDim.new(0, 10)
- KeySystemUICorner.Parent = KeySystem
- ViewsLabel.Name = "ViewsLabel"
- ViewsLabel.Parent = ScriptFrame
- ViewsLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ViewsLabel.Position = UDim2.new(0, 55, 0, 270)
- ViewsLabel.Size = UDim2.new(0, 60, 0, 25)
- ViewsLabel.Font = Enum.Font.Gotham
- ViewsLabel.Text = "V"
- ViewsLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- ViewsLabel.TextScaled = true
- ViewsLabelUICorner.CornerRadius = UDim.new(0, 10)
- ViewsLabelUICorner.Parent = ViewsLabel
- ViewsLabel_2.Name = "ViewsLabel"
- ViewsLabel_2.Parent = VerifiedScriptFrame
- ViewsLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ViewsLabel_2.Position = UDim2.new(0, 55, 0, 270)
- ViewsLabel_2.Size = UDim2.new(0, 60, 0, 25)
- ViewsLabel_2.Font = Enum.Font.Gotham
- ViewsLabel_2.Text = "V"
- ViewsLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- ViewsLabel_2.TextScaled = true
- ViewsLabelUICorner_2.CornerRadius = UDim.new(0, 10)
- ViewsLabelUICorner_2.Parent = ViewsLabel_2
- ViewEye.Name = "ViewEye"
- ViewEye.Parent = ScriptFrame
- ViewEye.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ViewEye.Position = UDim2.new(0, 120, 0, 272)
- ViewEye.Size = UDim2.new(0, 25, 0, 20)
- ViewEye.Image = "rbxassetid://17094518883"
- ViewEyeUICorner.CornerRadius = UDim.new(0, 10)
- ViewEyeUICorner.Parent = ViewEye
- ViewEye_2.Name = "ViewEye"
- ViewEye_2.Parent = VerifiedScriptFrame
- ViewEye_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ViewEye_2.Position = UDim2.new(0, 120, 0, 272)
- ViewEye_2.Size = UDim2.new(0, 25, 0, 20)
- ViewEye_2.Image = "rbxassetid://17094518883"
- ViewEyeUICorner_2.CornerRadius = UDim.new(0, 10)
- ViewEyeUICorner_2.Parent = ViewEye_2
- KeySystem_2.Name = "KeySystem"
- KeySystem_2.Parent = VerifiedScriptFrame
- KeySystem_2.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
- KeySystem_2.Position = UDim2.new(0, 250, 0, 270)
- KeySystem_2.Size = UDim2.new(0, 55, 0, 25)
- KeySystem_2.Font = Enum.Font.Gotham
- KeySystem_2.Text = "Key System"
- KeySystem_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- KeySystemUICorner_2.CornerRadius = UDim.new(0, 10)
- KeySystemUICorner_2.Parent = KeySystem_2
- VerifiedIcon.Name = "VerifiedIcon"
- VerifiedIcon.Parent = PreviewImage_2
- VerifiedIcon.BackgroundTransparency = 1
- VerifiedIcon.Position = UDim2.new(0, 250, 0, 250)
- VerifiedIcon.Size = UDim2.new(0, 55, 0, 40)
- VerifiedIcon.Image = "rbxassetid://15621211889"
- Share.Name = "Share"
- Share.Parent = ScriptFrame
- Share.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Share.Position = UDim2.new(0, 310, 0, 8)
- Share.Size = UDim2.new(0, 30, 0, 30)
- Share.Image = "rbxassetid://17094508690"
- Share.AutoButtonColor = false
- ShareUICorner.CornerRadius = UDim.new(0, 10)
- ShareUICorner.Parent = Share
- Description.Name = "Description"
- Description.Parent = ScriptFrame
- Description.BackgroundTransparency = 1
- Description.Position = UDim2.new(0, 0, 0, 400)
- Description.Size = UDim2.new(0, 400, 0, 280)
- Description.Font = Enum.Font.Gotham
- Description.Text = "Desc"
- Description.TextColor3 = Color3.fromRGB(255, 255, 255)
- Description.TextSize = 20.000
- Description.TextWrapped = true
- Description.TextScaled = true
- Description.TextXAlignment = Enum.TextXAlignment.Left
- Description.TextYAlignment = Enum.TextYAlignment.Top
- Description.MaxVisibleGraphemes = 1500
- Description_2.Name = "Description"
- Description_2.Parent = VerifiedScriptFrame
- Description_2.BackgroundTransparency = 1
- Description_2.Position = UDim2.new(0, 0, 0, 400)
- Description_2.Size = UDim2.new(0, 400, 0, 280)
- Description_2.Font = Enum.Font.Gotham
- Description_2.Text = "Desc"
- Description_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Description_2.TextSize = 20.000
- Description_2.TextWrapped = true
- Description_2.TextScaled = true
- Description_2.TextXAlignment = Enum.TextXAlignment.Left
- Description_2.TextYAlignment = Enum.TextYAlignment.Top
- Description_2.MaxVisibleGraphemes = 1500
- OpenInfo.Name = "OpenInfo"
- OpenInfo.Parent = ScriptFrame
- OpenInfo.BackgroundTransparency = 1
- OpenInfo.Position = UDim2.new(0, 280, 0, 670)
- OpenInfo.Size = UDim2.new(0, 100, 0, 25)
- OpenInfo.Font = Enum.Font.Gotham
- OpenInfo.Text = "Comments -->"
- OpenInfo.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenInfo.AutoButtonColor = false
- OpenInfo.TextSize = 20
- OpenInfo_2.Name = "OpenInfo"
- OpenInfo_2.Parent = VerifiedScriptFrame
- OpenInfo_2.BackgroundTransparency = 1
- OpenInfo_2.Position = UDim2.new(0, 280, 0, 670)
- OpenInfo_2.Size = UDim2.new(0, 100, 0, 25)
- OpenInfo_2.Font = Enum.Font.Gotham
- OpenInfo_2.Text = "Comments -->"
- OpenInfo_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenInfo_2.AutoButtonColor = false
- OpenInfo_2.TextSize = 20
- Share_2.Name = "Share"
- Share_2.Parent = VerifiedScriptFrame
- Share_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Share_2.Position = UDim2.new(0, 310, 0, 8)
- Share_2.Size = UDim2.new(0, 30, 0, 30)
- Share_2.Image = "rbxassetid://17094508690"
- Share_2.AutoButtonColor = false
- ShareUICorner_2.CornerRadius = UDim.new(0, 10)
- ShareUICorner_2.Parent = Share_2
- Comments.Name = "Comments"
- Comments.Parent = InfoBox
- Comments.BackgroundTransparency = 1
- Comments.Size = UDim2.new(0, 400, 0, 414)
- Inner.Name = "Inner"
- Inner.Parent = Comments
- Inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Inner.Position = UDim2.new(0, 0, 0, 10)
- Inner.BackgroundTransparency = 1
- Inner.Size = UDim2.new(0, 400, 0, 414)
- UICorner_21.CornerRadius = UDim.new(0, 12)
- UICorner_21.Parent = Inner
- CommentsText.Name = "CommentsText"
- CommentsText.Parent = Inner
- CommentsText.BackgroundTransparency = 1
- CommentsText.Size = UDim2.new(0, 400, 0, 25)
- CommentsText.Font = Enum.Font.GothamBold
- CommentsText.Text = "Comments"
- CommentsText.TextColor3 = Color3.fromRGB(255, 255, 255)
- CommentsText.TextSize = 14.000
- Comments_2.Name = "Comments"
- Comments_2.Parent = Inner
- Comments_2.Active = true
- Comments_2.BackgroundTransparency = 1
- Comments_2.BorderSizePixel = 0
- Comments_2.Position = UDim2.new(0, 0, 0, 10)
- Comments_2.Size = UDim2.new(0, 415, 0, 390)
- Comments_2.CanvasSize = UDim2.new(0, 0, 0, 0)
- Comment.Name = "Comment"
- Comment.Parent = Comments_2
- Comment.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Comment.BackgroundTransparency = 1
- Comment.Size = UDim2.new(0, 400, 0, 50)
- Content.Name = "Content"
- Content.Parent = Comment
- Content.BackgroundTransparency = 1
- Content.Position = UDim2.new(0, 50, 0, 30)
- Content.Size = UDim2.new(0, 300, 0, 20)
- Content.Font = Enum.Font.Gotham
- Content.Text = "Comment"
- Content.TextColor3 = Color3.fromRGB(255, 255, 255)
- Content.TextSize = 14
- Content.TextWrapped = true
- Content.TextXAlignment = Enum.TextXAlignment.Left
- Content.TextYAlignment = Enum.TextYAlignment.Top
- Content.TextScaled = true
- Author_2.Name = "Author"
- Author_2.Parent = Comment
- Author_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Author_2.BackgroundTransparency = 1.000
- Author_2.BorderSizePixel = 0
- Author_2.Position = UDim2.new(0, 50, 0, 5)
- Author_2.Size = UDim2.new(0, 200, 0, 25)
- Author_2.Font = Enum.Font.GothamBold
- Author_2.Text = "Author"
- Author_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Author_2.TextSize = 20.000
- Author_2.TextWrapped = true
- Author_2.TextXAlignment = Enum.TextXAlignment.Left
- ProfilePicture_2.Name = "ProfilePicture"
- ProfilePicture_2.Parent = Comment
- ProfilePicture_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ProfilePicture_2.BackgroundTransparency = 1.000
- ProfilePicture_2.Position = UDim2.new(0, 5, 0, 5)
- ProfilePicture_2.Size = UDim2.new(0, 40, 0, 40)
- ProfilePicture_2.Image = "rbxassetid://17093333262"
- UICorner_22.CornerRadius = UDim.new(1, 0)
- UICorner_22.Parent = ProfilePicture_2
- UIListLayout_3.Parent = Comments_2
- UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_3.Padding = UDim.new(0, 5)
- KeySystem_2.Visible = false
- KeySystem.Visible = false
- getfakeasset = getcustomasset or getsynasset
- HttpService = game:GetService("HttpService")
- page = 1
- gquery = ""
- function tableConcat(t1,t2)
- for i, v in pairs(t2) do
- table.insert(t1, v)
- end
- return t1
- end
- MainFrame.ScriptListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.InfoBox.AutomaticSize = Enum.AutomaticSize.Y
- MainFrame.ScriptListFrame.ScrollBarImageTransparency = 1
- MainFrame.ScriptListFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- MainFrame.InfoBox.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.InfoBox.Comments.Inner.Comments.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.InfoBox.Comments.Inner.Comments.ScrollBarImageColor3 = Color3.new(0, 0, 0)
- MainFrame.InfoBox.Comments.Inner.Comments.ScrollBarImageTransparency = 1
- MainFrame.InfoBox.ScrollBarImageColor3 = Color3.new(0, 0, 0)
- VerifiedScript = MainFrame.ScriptListFrame.Scripts.VerifiedScriptFrame:Clone()
- Script = MainFrame.ScriptListFrame.Scripts.ScriptFrame:Clone()
- MainFrame.ScriptListFrame.Scripts.ScriptFrame:Destroy()
- MainFrame.ScriptListFrame.Scripts.VerifiedScriptFrame:Destroy()
- Comment = MainFrame.InfoBox.Comments.Inner.Comments.Comment:Clone()
- MainFrame.InfoBox.Comments.Inner.Comments.Comment:Destroy()
- function _if(a, b, c)
- if a then return b else return c end
- end
- function fastmodeExec(func)
- if getgenv().fastmode == true then
- task.spawn(func)
- else
- func()
- end
- end
- function fetchScripts(query, page)
- page = page or 1
- query = HttpService:UrlEncode(query)
- 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))
- req = HttpService:JSONDecode(game:HttpGetAsync(url)).result
- return req.scripts
- end
- function fetchComments(scriptId, page)
- page = page or 1
- url = "https://scriptblox.com/api/comment/" ..scriptId.. "?page=" ..tostring(page).. "&max=100"
- req = HttpService:JSONDecode(game:HttpGetAsync(url)).result
- return req.comments
- end
- function fixScript(scriptObj)
- req = HttpService:JSONDecode(game:HttpGetAsync("https://www.scriptblox.com/api/script/"..scriptObj.slug)).script
- scriptObj["script"] = _if(scriptObj["script"], scriptObj["script"], req.script)
- scriptObj["features"] = _if(scriptObj["features"], scriptObj["features"], req.features)
- scriptObj["owner"] = _if(scriptObj["owner"], scriptObj["owner"], req.owner)
- return scriptObj
- end
- function updateInfoBox(scriptObj)
- scriptObj = fixScript(scriptObj)
- commentsUIListLayout = MainFrame.InfoBox.Comments.Inner.Comments.UIListLayout:Clone()
- MainFrame.InfoBox.Comments.Inner.Comments:ClearAllChildren()
- commentsUIListLayout.Parent = MainFrame.InfoBox.Comments.Inner.Comments
- task.spawn(function()
- for _, v in pairs(fetchComments(scriptObj["_id"])) do
- newComment = Comment:Clone()
- newComment.Parent = MainFrame.InfoBox.Comments.Inner.Comments
- newComment.Content.Text = v.text
- newComment.Author.Text = v.commentBy.username
- end
- end)
- end
- function refreshScripts(scriptTbl)
- if #scriptTbl <= 0 then
- MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- else
- MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- end
- UIGridLayoutCopy = Scripts.UIGridLayout:Clone()
- Scripts:ClearAllChildren()
- UIGridLayoutCopy.Parent = Scripts
- addScripts(scriptTbl)
- end
- function addScripts(scriptTbl)
- for i, v in pairs(scriptTbl) do
- fastmodeExec(function()
- local newScript
- v = fixScript(v)
- if v.verified == true then
- newScript = VerifiedScript:Clone()
- newScript.ScriptTitle.Text = v.title
- newScript.ScriptAuthor.Text = "@"..v.owner.username
- newScript.ScriptGame.Text = v.game.name
- newScript.ViewsLabel.Text = v.views
- newScript.Description.Text = v.features
- newScript.Parent = Scripts
- else
- newScript = Script:Clone()
- newScript.ScriptTitle.Text = v.title
- newScript.ScriptAuthor.Text = "@"..v.owner.username
- newScript.ScriptGame.Text = v.game.name
- newScript.ViewsLabel.Text = v.views
- newScript.Description.Text = v.features
- newScript.Parent = Scripts
- end
- if v.game.name == "Universal Script 📌" then
- newScript.PreviewImage.Image = "rbxassetid://17117106457"
- else
- newScript.PreviewImage.Image = "https://assetgame.roblox.com/Game/Tools/ThumbnailAsset.ashx?aid="..v.game.gameId.."&fmt=png&wd=420&ht=420"
- end
- if v.key == true then
- newScript.KeySystem.Visible = true
- end
- CloseInfoBox.MouseButton1Click:Connect(function()
- ScriptListFrame.Visible = true
- InfoBox.Visible = false
- SearchBox.Visible = true
- CloseInfoBox.Visible = false
- MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- end)
- newScript.OpenInfo.MouseButton1Click:Connect(function()
- updateInfoBox(v)
- ScriptListFrame.Visible = false
- InfoBox.Visible = true
- SearchBox.Visible = false
- CloseInfoBox.Visible = true
- MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- end)
- newScript.Share.MouseButton1Click:Connect(function()
- setclipboard(v.slug)
- end)
- end)
- end
- pagefetchrunning = false
- end
- SearchBox.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- gquery = SearchBox.Text
- page = 1
- local scriptsTbl = fetchScripts(SearchBox.Text, 1)
- refreshScripts(scriptsTbl)
- end
- end)
- ScriptListFrame:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
- if (ScriptListFrame.CanvasPosition.Y + ScriptListFrame.AbsoluteSize.Y) >= ScriptListFrame.AbsoluteCanvasSize.Y -200 and not pagefetchrunning then
- page = page + 1
- pagefetchrunning = true
- addScripts(fetchScripts(gquery, page))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement