Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("CoreGui"):FindFirstChild("UIGui") then
- game:GetService("CoreGui"):FindFirstChild("UIGui"):Destroy()
- end
- local UIGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local SearchBox = Instance.new("TextBox")
- local UICorner_3 = Instance.new("UICorner")
- local ScriptAuthor = Instance.new("TextLabel")
- local ScriptListFrame = Instance.new("ScrollingFrame")
- local UIPadding = Instance.new("UIPadding")
- local Scripts = Instance.new("Folder")
- local UIGridLayout = Instance.new("UIGridLayout")
- local ScriptFrame = Instance.new("ImageLabel")
- local UICorner_6 = Instance.new("UICorner")
- local ScriptTitle = Instance.new("TextLabel")
- local ExecuteButton = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local InfoButton = Instance.new("TextButton")
- local UICorner_8 = Instance.new("UICorner")
- local ScriptGame = Instance.new("TextLabel")
- local VerifiedScriptFrame = Instance.new("ImageLabel")
- local UICorner_9 = Instance.new("UICorner")
- local ScriptTitle_2 = Instance.new("TextLabel")
- local VerifiedIcon = Instance.new("ImageLabel")
- local ExecuteButton_2 = Instance.new("TextButton")
- local UICorner_10 = Instance.new("UICorner")
- local UICorner_11 = Instance.new("UICorner")
- local ScriptAuthor_2 = Instance.new("TextLabel")
- local ScriptGame_2 = Instance.new("TextLabel")
- local ExecuteButtonBackground = Instance.new("Frame")
- local ExecuteButtonBackgroundUICorner = Instance.new("UICorner")
- local CopyLinkButton = Instance.new("TextButton")
- local CopyLinkButtonUICorner = Instance.new("UICorner")
- local CopyLinkButton_2 = Instance.new("TextButton")
- local CopyLinkButtonUICorner_2 = Instance.new("UICorner")
- local CopyScriptButton = Instance.new("TextButton")
- local CopyScriptButtonUICorner = Instance.new("UICorner")
- local CopyScriptButton_2 = Instance.new("TextButton")
- local CopyScriptButtonUICorner_2 = Instance.new("UICorner")
- local OpenDescriptionButton = Instance.new("TextButton")
- local OpenDescriptionButtonUICorner = Instance.new("UICorner")
- local OpenDescriptionButton_2 = Instance.new("TextButton")
- local OpenDescriptionButtonUICorner_2 = Instance.new("UICorner")
- local CopyLinkButtonBackground = Instance.new("Frame")
- local CopyLinkButtonBackgroundUICorner = Instance.new("UICorner")
- local CopyScriptBackground = Instance.new("Frame")
- local CopyScriptBackgroundUICorner = Instance.new("UICorner")
- local OpenDescriptionBackground = Instance.new("Frame")
- local OpenDescriptionBackgroundUICorner = Instance.new("UICorner")
- local ExecuteButtonBackground_2 = Instance.new("Frame")
- local ExecuteButtonBackgroundUICorner_2 = Instance.new("UICorner")
- local CopyLinkButtonBackground_2 = Instance.new("Frame")
- local CopyLinkButtonBackgroundUICorner_2 = Instance.new("UICorner")
- local CopyScriptBackground_2 = Instance.new("Frame")
- local CopyScriptBackgroundUICorner_2 = Instance.new("UICorner")
- local OpenDescriptionBackground_2 = Instance.new("Frame")
- local OpenDescriptionBackgroundUICorner_2 = Instance.new("UICorner")
- local DescriptionScript = Instance.new("TextButton")
- local DescriptionScriptUICorner = Instance.new("UICorner")
- local ReloadBackgroundButton = Instance.new("Frame")
- local ReloadBackgroundButtonUICorner = Instance.new("UICorner")
- local ReloadButton = Instance.new("ImageButton")
- local ReloadButtonUICorner = Instance.new("UICorner")
- UIGui.Name = "UIGui"
- UIGui.Parent = game.CoreGui
- game.CoreGui.UIGui.Enabled = true
- DescriptionScript.Visible = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = UIGui
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- MainFrame.BackgroundTransparency = 1
- MainFrame.Position = UDim2.new(0.5, 0, -1, 0)
- MainFrame.Size = UDim2.new(0, 100, 0, 100)
- SearchBox.Name = "SearchBox"
- SearchBox.Parent = MainFrame
- SearchBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- SearchBox.BackgroundTransparency = 0.5
- SearchBox.Position = UDim2.new(-3.55, 0, -1.8, 0)
- SearchBox.Size = UDim2.new(0, 855, 0, 25)
- SearchBox.ClearTextOnFocus = false
- SearchBox.Font = Enum.Font.SourceSansBold
- SearchBox.PlaceholderText = "Tap to search"
- SearchBox.Text = ""
- SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SearchBox.TextTransparency = 0
- SearchBox.TextScaled = true
- SearchBox.TextSize = 14.000
- SearchBox.TextWrapped = true
- UICorner_3.CornerRadius = UDim.new(0, 12)
- UICorner_3.Parent = SearchBox
- ScriptListFrame.Name = "ScriptListFrame"
- ScriptListFrame.Parent = MainFrame
- ScriptListFrame.Active = true
- ScriptListFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ScriptListFrame.BackgroundTransparency = 1
- ScriptListFrame.BorderSizePixel = 0
- ScriptListFrame.Position = UDim2.new(-3.8, 0, -1.5, 0)
- ScriptListFrame.Size = UDim2.new(0, 1000, 0, 420)
- ScriptListFrame.ZIndex = 2
- ScriptListFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScriptAuthor.Name = "ScriptAuthor"
- ScriptAuthor.Parent = ScriptFrame
- ScriptAuthor.BackgroundTransparency = 1
- ScriptAuthor.Position = UDim2.new(0, 10, 0, 150)
- ScriptAuthor.Size = UDim2.new(0, 280, 0, 30)
- ScriptAuthor.Font = Enum.Font.SourceSansBold
- ScriptAuthor.Text = "by ScriptAuthor"
- ScriptAuthor.TextColor3 = Color3.fromRGB(192, 192, 192)
- ScriptAuthor.TextSize = 14.000
- ScriptAuthor.TextWrapped = true
- ScriptAuthor.TextScaled = true
- ScriptAuthor.TextXAlignment = Enum.TextXAlignment.Left
- UIPadding.Parent = ScriptListFrame
- UIPadding.PaddingBottom = UDim.new(0, 10)
- UIPadding.PaddingLeft = UDim.new(0, 25)
- UIPadding.PaddingRight = UDim.new(0, 25)
- UIPadding.PaddingTop = UDim.new(0, 10)
- Scripts.Name = "Scripts"
- Scripts.Parent = ScriptListFrame
- UIGridLayout.Parent = Scripts
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 20, 0, 20)
- UIGridLayout.CellSize = UDim2.new(0, 855, 0, 400)
- ScriptFrame.Name = "ScriptFrame"
- ScriptFrame.Parent = Scripts
- ScriptFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ScriptFrame.BackgroundTransparency = 0.5
- ScriptFrame.Size = UDim2.new(0, 200, 0, 100)
- ScriptFrame.Position = UDim2.new(1.5, 0, 0, 0)
- ScriptFrame.Image = "rbxassetid://16050153732"
- UICorner_6.CornerRadius = UDim.new(0, 12)
- UICorner_6.Parent = ScriptFrame
- ScriptTitle.Name = "ScriptTitle"
- ScriptTitle.Parent = ScriptFrame
- ScriptTitle.BackgroundTransparency = 1
- ScriptTitle.Position = UDim2.new(0, 10, 0, 20)
- ScriptTitle.Size = UDim2.new(0, 840, 0, 100)
- ScriptTitle.Font = Enum.Font.SourceSansBold
- 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
- ExecuteButtonBackground.Name = "ExecuteButtonBackground"
- ExecuteButtonBackground.Parent = ScriptFrame
- ExecuteButtonBackground.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- ExecuteButtonBackground.Position = UDim2.new(0.0123, 0, 0.794, 0)
- ExecuteButtonBackground.Size = UDim2.new(0, 205, 0, 55)
- ExecuteButtonBackgroundUICorner.Parent = ExecuteButtonBackground
- ExecuteButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Parent = ScriptFrame
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ExecuteButton.Position = UDim2.new(0.015, 0, 0.8, 0)
- ExecuteButton.Size = UDim2.new(0, 200, 0, 50)
- ExecuteButton.AutoButtonColor = false
- ExecuteButton.Font = Enum.Font.SourceSansBold
- ExecuteButton.Text = "Execute"
- ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.TextSize = 14.000
- ExecuteButton.TextScaled = true
- ExecuteButton.TextWrapped = true
- UICorner_7.CornerRadius = UDim.new(0, 12)
- UICorner_7.Parent = ExecuteButton
- CopyLinkButtonBackground.Name = "CopyLinkButtonBackground"
- CopyLinkButtonBackground.Parent = ScriptFrame
- CopyLinkButtonBackground.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- CopyLinkButtonBackground.Position = UDim2.new(0.2569, 0, 0.794, 0)
- CopyLinkButtonBackground.Size = UDim2.new(0, 205, 0, 55)
- CopyLinkButtonBackgroundUICorner.Parent = CopyLinkButtonBackground
- CopyLinkButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- CopyLinkButton.Name = "CopyLinkButton"
- CopyLinkButton.Parent = ScriptFrame
- CopyLinkButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CopyLinkButton.Position = UDim2.new(0.26, 0, 0.8, 0)
- CopyLinkButton.Size = UDim2.new(0, 200, 0, 50)
- CopyLinkButton.AutoButtonColor = false
- CopyLinkButton.Font = Enum.Font.SourceSansBold
- CopyLinkButton.Text = "Copy Link"
- CopyLinkButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyLinkButton.TextSize = 14.000
- CopyLinkButton.TextScaled = true
- CopyLinkButton.TextWrapped = true
- CopyLinkButtonUICorner.CornerRadius = UDim.new(0, 12)
- CopyLinkButtonUICorner.Parent = CopyLinkButton
- CopyScriptBackground.Name = "CopyScriptBackground"
- CopyScriptBackground.Parent = ScriptFrame
- CopyScriptBackground.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- CopyScriptBackground.Position = UDim2.new(0.5022, 0, 0.794, 0)
- CopyScriptBackground.Size = UDim2.new(0, 205, 0, 55)
- CopyScriptBackgroundUICorner.Parent = CopyScriptBackground
- CopyScriptBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- CopyScriptButton.Name = "CopyScriptButton"
- CopyScriptButton.Parent = ScriptFrame
- CopyScriptButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CopyScriptButton.Position = UDim2.new(0.505, 0, 0.8, 0)
- CopyScriptButton.Size = UDim2.new(0, 200, 0, 50)
- CopyScriptButton.AutoButtonColor = false
- CopyScriptButton.Font = Enum.Font.SourceSansBold
- CopyScriptButton.Text = "Copy Script"
- CopyScriptButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyScriptButton.TextSize = 14.000
- CopyScriptButton.TextScaled = true
- CopyScriptButton.TextWrapped = true
- CopyScriptButtonUICorner.CornerRadius = UDim.new(0, 12)
- CopyScriptButtonUICorner.Parent = CopyScriptButton
- OpenDescriptionBackground.Name = "OpenDescriptionBackground"
- OpenDescriptionBackground.Parent = ScriptFrame
- OpenDescriptionBackground.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- OpenDescriptionBackground.Position = UDim2.new(0.747, 0, 0.794, 0)
- OpenDescriptionBackground.Size = UDim2.new(0, 205, 0, 55)
- OpenDescriptionBackgroundUICorner.Parent = OpenDescriptionBackground
- OpenDescriptionBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- OpenDescriptionButton.Name = "OpenDescriptionButton"
- OpenDescriptionButton.Parent = ScriptFrame
- OpenDescriptionButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- OpenDescriptionButton.Position = UDim2.new(0.75, 0, 0.8, 0)
- OpenDescriptionButton.Size = UDim2.new(0, 200, 0, 50)
- OpenDescriptionButton.AutoButtonColor = false
- OpenDescriptionButton.Font = Enum.Font.SourceSansBold
- OpenDescriptionButton.Text = "Description"
- OpenDescriptionButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenDescriptionButton.TextSize = 14.000
- OpenDescriptionButton.TextScaled = true
- OpenDescriptionButton.TextWrapped = true
- OpenDescriptionButtonUICorner.CornerRadius = UDim.new(0, 12)
- OpenDescriptionButtonUICorner.Parent = OpenDescriptionButton
- ScriptGame.Name = "ScriptGame"
- ScriptGame.Parent = ScriptFrame
- ScriptGame.BackgroundTransparency = 1
- ScriptGame.Position = UDim2.new(0, 10, 0, 220)
- ScriptGame.Size = UDim2.new(0, 280, 0, 30)
- ScriptGame.Font = Enum.Font.SourceSansBold
- ScriptGame.Text = "Game"
- ScriptGame.TextColor3 = Color3.fromRGB(192, 192, 192)
- ScriptGame.TextSize = 14
- ScriptGame.TextWrapped = true
- ScriptGame.TextScaled = true
- ScriptGame.TextXAlignment = Enum.TextXAlignment.Left
- VerifiedScriptFrame.Name = "VerifiedScriptFrame"
- VerifiedScriptFrame.Parent = Scripts
- VerifiedScriptFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- VerifiedScriptFrame.Size = UDim2.new(0, 300, 0, 150)
- VerifiedScriptFrame.Image = "rbxassetid://16050153732"
- UICorner_9.CornerRadius = UDim.new(0, 12)
- UICorner_9.Parent = VerifiedScriptFrame
- ScriptTitle_2.Name = "ScriptTitle"
- ScriptTitle_2.Parent = VerifiedScriptFrame
- ScriptTitle_2.BackgroundTransparency = 1
- ScriptTitle_2.Position = UDim2.new(0, 10, 0, 20)
- ScriptTitle_2.Size = UDim2.new(0, 840, 0, 100)
- ScriptTitle_2.Font = Enum.Font.SourceSansBold
- 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
- VerifiedIcon.Name = "VerifiedIcon"
- VerifiedIcon.Parent = VerifiedScriptFrame
- VerifiedIcon.BackgroundTransparency = 0
- VerifiedIcon.Position = UDim2.new(0.75, 0, 0.35, 0)
- VerifiedIcon.Size = UDim2.new(0, 215, 0, 150)
- VerifiedIcon.Image = "rbxassetid://15621211889"
- VerifiedIcon.BackgroundTransparency = 1
- ExecuteButtonBackground_2.Name = "ExecuteButtonBackground_2"
- ExecuteButtonBackground_2.Parent = VerifiedScriptFrame
- ExecuteButtonBackground_2.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- ExecuteButtonBackground_2.Position = UDim2.new(0.0123, 0, 0.794, 0)
- ExecuteButtonBackground_2.Size = UDim2.new(0, 205, 0, 55)
- ExecuteButtonBackgroundUICorner_2.Parent = ExecuteButtonBackground_2
- ExecuteButtonBackgroundUICorner_2.CornerRadius = UDim.new(0, 15)
- ExecuteButton_2.Name = "ExecuteButton"
- ExecuteButton_2.Parent = VerifiedScriptFrame
- ExecuteButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ExecuteButton_2.Position = UDim2.new(0.015, 0, 0.8, 0)
- ExecuteButton_2.Size = UDim2.new(0, 200, 0, 50)
- ExecuteButton_2.AutoButtonColor = false
- ExecuteButton_2.Font = Enum.Font.SourceSansBold
- ExecuteButton_2.Text = "Execute"
- ExecuteButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton_2.TextSize = 14.000
- ExecuteButton_2.TextScaled = true
- ExecuteButton_2.TextWrapped = true
- UICorner_10.CornerRadius = UDim.new(0, 12)
- UICorner_10.Parent = ExecuteButton_2
- CopyLinkButtonBackground_2.Name = "CopyLinkButtonBackground_2"
- CopyLinkButtonBackground_2.Parent = VerifiedScriptFrame
- CopyLinkButtonBackground_2.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- CopyLinkButtonBackground_2.Position = UDim2.new(0.2569, 0, 0.794, 0)
- CopyLinkButtonBackground_2.Size = UDim2.new(0, 205, 0, 55)
- CopyLinkButtonBackgroundUICorner_2.Parent = CopyLinkButtonBackground_2
- CopyLinkButtonBackgroundUICorner_2.CornerRadius = UDim.new(0, 15)
- CopyLinkButton_2.Name = "CopyLinkButton"
- CopyLinkButton_2.Parent = VerifiedScriptFrame
- CopyLinkButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CopyLinkButton_2.Position = UDim2.new(0.26, 0, 0.8, 0)
- CopyLinkButton_2.Size = UDim2.new(0, 200, 0, 50)
- CopyLinkButton_2.AutoButtonColor = false
- CopyLinkButton_2.Font = Enum.Font.SourceSansBold
- CopyLinkButton_2.Text = "Copy Link"
- CopyLinkButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyLinkButton_2.TextSize = 14.000
- CopyLinkButton_2.TextScaled = true
- CopyLinkButton_2.TextWrapped = true
- CopyLinkButtonUICorner_2.CornerRadius = UDim.new(0, 12)
- CopyLinkButtonUICorner_2.Parent = CopyLinkButton_2
- CopyScriptBackground_2.Name = "CopyScriptBackground_2"
- CopyScriptBackground_2.Parent = VerifiedScriptFrame
- CopyScriptBackground_2.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- CopyScriptBackground_2.Position = UDim2.new(0.5022, 0, 0.794, 0)
- CopyScriptBackground_2.Size = UDim2.new(0, 205, 0, 55)
- CopyScriptBackgroundUICorner_2.Parent = CopyScriptBackground_2
- CopyScriptBackgroundUICorner_2.CornerRadius = UDim.new(0, 15)
- CopyScriptButton_2.Name = "CopyScriptButton"
- CopyScriptButton_2.Parent = VerifiedScriptFrame
- CopyScriptButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CopyScriptButton_2.Position = UDim2.new(0.505, 0, 0.8, 0)
- CopyScriptButton_2.Size = UDim2.new(0, 200, 0, 50)
- CopyScriptButton_2.AutoButtonColor = false
- CopyScriptButton_2.Font = Enum.Font.SourceSansBold
- CopyScriptButton_2.Text = "Copy Script"
- CopyScriptButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyScriptButton_2.TextSize = 14.000
- CopyScriptButton_2.TextScaled = true
- CopyScriptButton_2.TextWrapped = true
- CopyScriptButtonUICorner_2.CornerRadius = UDim.new(0, 12)
- CopyScriptButtonUICorner_2.Parent = CopyScriptButton_2
- OpenDescriptionBackground_2.Name = "OpenDescriptionBackground_2"
- OpenDescriptionBackground_2.Parent = VerifiedScriptFrame
- OpenDescriptionBackground_2.BackgroundColor3 = Color3.fromRGB(55,55, 55)
- OpenDescriptionBackground_2.Position = UDim2.new(0.747, 0, 0.794, 0)
- OpenDescriptionBackground_2.Size = UDim2.new(0, 205, 0, 55)
- OpenDescriptionBackgroundUICorner_2.Parent = OpenDescriptionBackground_2
- OpenDescriptionBackgroundUICorner_2.CornerRadius = UDim.new(0, 15)
- OpenDescriptionButton_2.Name = "OpenDescriptionButton"
- OpenDescriptionButton_2.Parent = VerifiedScriptFrame
- OpenDescriptionButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- OpenDescriptionButton_2.Position = UDim2.new(0.75, 0, 0.8, 0)
- OpenDescriptionButton_2.Size = UDim2.new(0, 200, 0, 50)
- OpenDescriptionButton_2.AutoButtonColor = false
- OpenDescriptionButton_2.Font = Enum.Font.SourceSansBold
- OpenDescriptionButton_2.Text = "Description"
- OpenDescriptionButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenDescriptionButton_2.TextSize = 14.000
- OpenDescriptionButton_2.TextScaled = true
- OpenDescriptionButton_2.TextWrapped = true
- OpenDescriptionButtonUICorner_2.CornerRadius = UDim.new(0, 12)
- OpenDescriptionButtonUICorner_2.Parent = OpenDescriptionButton_2
- ScriptAuthor_2.Name = "ScriptAuthor"
- ScriptAuthor_2.Parent = VerifiedScriptFrame
- ScriptAuthor_2.BackgroundTransparency = 1
- ScriptAuthor_2.Position = UDim2.new(0, 10, 0, 150)
- ScriptAuthor_2.Size = UDim2.new(0, 280, 0, 30)
- ScriptAuthor_2.Font = Enum.Font.SourceSansBold
- ScriptAuthor_2.Text = "by ScriptAuthor"
- ScriptAuthor_2.TextColor3 = Color3.fromRGB(192, 192, 192)
- ScriptAuthor_2.TextSize = 14.000
- ScriptAuthor_2.TextWrapped = true
- ScriptAuthor_2.TextScaled = true
- ScriptAuthor_2.TextXAlignment = Enum.TextXAlignment.Left
- ScriptGame_2.Name = "ScriptGame"
- ScriptGame_2.Parent = VerifiedScriptFrame
- ScriptGame_2.BackgroundTransparency = 1
- ScriptGame_2.Position = UDim2.new(0, 10, 0, 220)
- ScriptGame_2.Size = UDim2.new(0, 280, 0, 30)
- ScriptGame_2.Font = Enum.Font.Code
- ScriptGame_2.Text = "Game"
- ScriptGame_2.TextColor3 = Color3.fromRGB(192, 192, 192)
- ScriptGame_2.TextSize = 14.000
- ScriptGame_2.TextWrapped = true
- ScriptGame_2.TextScaled = true
- ScriptGame_2.TextXAlignment = Enum.TextXAlignment.Left
- DescriptionScript.Name = "DescriptionScript"
- DescriptionScript.Parent = MainFrame
- DescriptionScript.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- DescriptionScript.Position = UDim2.new(-3.55, 0, -1.4, 0)
- DescriptionScript.Size = UDim2.new(0, 855, 0, 400)
- DescriptionScript.BackgroundTransparency = 0.3
- DescriptionScript.AutoButtonColor = false
- DescriptionScript.Font = Enum.Font.SourceSansBold
- DescriptionScript.Text = "Description"
- DescriptionScript.TextColor3 = Color3.fromRGB(255, 255, 255)
- DescriptionScript.TextSize = 14.000
- DescriptionScript.TextScaled = true
- DescriptionScript.TextWrapped = true
- DescriptionScriptUICorner.CornerRadius = UDim.new(0, 12)
- DescriptionScriptUICorner.Parent = DescriptionScript
- ReloadBackgroundButton.Name = "ReloadBackgroundButton"
- ReloadBackgroundButton.Parent = MainFrame
- ReloadBackgroundButton.AnchorPoint = Vector2.new(0.5, 0.5)
- ReloadBackgroundButton.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- ReloadBackgroundButton.Position = UDim2.new(-3.9, 0, 2.2, 0)
- ReloadBackgroundButton.Size = UDim2.new(0, 50, 0, 50)
- ReloadBackgroundButtonUICorner.CornerRadius = UDim.new(0, 15)
- ReloadBackgroundButtonUICorner.Parent = ReloadBackgroundButton
- ReloadButton.Name = "ReloadButton"
- ReloadButton.Parent = ReloadBackgroundButton
- ReloadButton.AnchorPoint = Vector2.new(0.5, 0.5)
- ReloadButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ReloadButton.Position = UDim2.new(0.5, 0, 0.5, 0)
- ReloadButton.Size = UDim2.new(0, 45, 0, 45)
- ReloadButton.Image = "rbxassetid://16422858330"
- ReloadButton.AutoButtonColor = false
- ReloadButtonUICorner.CornerRadius = UDim.new(0, 12)
- ReloadButtonUICorner.Parent = ReloadButton
- local getfakeasset = getcustomasset or getsynasset
- local HttpService = game:GetService("HttpService")
- local TweenService = game:GetService("TweenService")
- local TextService = game:GetService("TextService")
- local page = 1
- local gquery = ""
- function tableConcat(t1,t2)
- for i, v in pairs(t2) do
- table.insert(t1, v)
- end
- return t1
- end
- ScriptListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- ScriptListFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- local VerifiedScript = VerifiedScriptFrame:Clone()
- local Script = ScriptFrame:Clone()
- ScriptFrame:Destroy()
- VerifiedScriptFrame: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)
- local 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))
- local req = HttpService:JSONDecode(game:HttpGetAsync(url)).result
- return req.scripts
- end
- function fixScript(scriptObj)
- if not scriptObj["script"] or not scriptObj["owner"] or not scriptObj["features"] then
- local cacheObj = cache[scriptObj["_id"]]
- if cacheObj then
- scriptObj["script"] = _if(scriptObj["script"], scriptObj["script"], cacheObj.script)
- scriptObj["features"] = _if(scriptObj["features"], scriptObj["features"], cacheObj.features)
- scriptObj["owner"] = _if(scriptObj["owner"], scriptObj["owner"], cacheObj.owner)
- else
- local 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)
- cache[scriptObj["_id"]] = req
- end
- end
- return scriptObj
- end
- function refreshScripts(scriptTbl)
- if #scriptTbl <= 0 then
- SearchBox.Text = ""
- SearchBox.PlaceholderText = "No script founded"
- wait(1)
- SearchBox.PlaceholderText = "Tap to search"
- return
- else
- SearchBox.PlaceholderText = "Tap to search"
- end
- local UIGridLayoutCopy = 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 = "by ".. v.owner.username
- newScript.ScriptGame.Text = v.game.name
- newScript.Parent = Scripts
- else
- newScript = Script:Clone()
- newScript.ScriptTitle.Text = v.title
- newScript.ScriptAuthor.Text = "by ".. v.owner.username
- newScript.ScriptGame.Text = v.game.name
- newScript.Parent = Scripts
- end
- newScript.ExecuteButton.MouseButton1Click:Connect(function()
- loadstring(v.script)()
- end)
- newScript.CopyLinkButton.MouseButton1Click:Connect(function()
- setclipboard("https://scriptblox.com/script/".. v.slug)
- end)
- newScript.CopyScriptButton.MouseButton1Click:Connect(function()
- setclipboard(v.script)
- end)
- newScript.OpenDescriptionButton.MouseButton1Click:Connect(function()
- DescriptionScript.Visible = true
- DescriptionScript.Text = v.features
- end)
- end)
- end
- pagefetchrunning = false
- end
- DescriptionScript.MouseButton1Click:Connect(function()
- DescriptionScript.Visible = 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)
- ReloadButton.MouseButton1Click:Connect(function()
- gquery = SearchBox.Text
- page = 1
- local scriptsTbl = fetchScripts(SearchBox.Text, 1)
- refreshScripts(scriptsTbl)
- end)
- refreshScripts(fetchScripts(gquery, 1))
- 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)
- MainFrame:TweenPosition(UDim2.new(0.5, 0, 0.5, 0),"InOut","Sine",0.2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement