Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("CoreGui"):FindFirstChild("DI") then
- game:GetService("CoreGui"):FindFirstChild("DI"):Destroy()
- end
- HttpService = game:GetService("HttpService")
- UserInputService = game:GetService("UserInputService")
- Mouse = game:GetService("Players").LocalPlayer:GetMouse()
- TweenService = game:GetService("TweenService")
- DI = Instance.new("ScreenGui")
- DynamicIsland = Instance.new("TextButton")
- DynamicIslandUICorner = Instance.new("UICorner")
- MainFrame = Instance.new("Frame")
- 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")
- ScriptGame = Instance.new("TextLabel")
- VerifiedScriptFrame = Instance.new("Frame")
- ScriptTitle_2 = Instance.new("TextLabel")
- ScriptGame_2 = Instance.new("TextLabel")
- 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")
- 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_2 = Instance.new("UIListLayout")
- PreviewImage_2 = Instance.new("ImageLabel")
- PreviewImageUICorner_2 = Instance.new("UICorner")
- KeySystem = Instance.new("TextLabel")
- KeySystemUICorner = Instance.new("UICorner")
- KeySystem_2 = Instance.new("TextLabel")
- KeySystemUICorner_2 = Instance.new("UICorner")
- InfoBox = Instance.new("Frame")
- ExecuteButton = Instance.new("TextButton")
- ExecuteButtonUICorner = Instance.new("UICorner")
- ExecuteButton_2 = Instance.new("TextButton")
- ExecuteButtonUICorner_2 = Instance.new("UICorner")
- CopyScriptButton = Instance.new("TextButton")
- CopyScriptButtonUICorner = Instance.new("UICorner")
- CopyScriptButton_2 = Instance.new("TextButton")
- CopyScriptButtonUICorner_2 = Instance.new("UICorner")
- TabsLine = Instance.new("Frame")
- TabsLineUICorner = Instance.new("UICorner")
- HomeTab = Instance.new("TextButton")
- ExecutorTab = Instance.new("TextButton")
- SearchTab = Instance.new("TextButton")
- SettingsTab = Instance.new("TextButton")
- FavouritesTab = Instance.new("TextButton")
- TabsFolder = Instance.new("ScrollingFrame")
- TabsParent = Instance.new("Frame")
- ImageShadow = Instance.new("Frame")
- ImageShadowUICorner = Instance.new("UICorner")
- ImageShadow_2 = Instance.new("Frame")
- ImageShadowUICorner_2 = Instance.new("UICorner")
- HistoryFrameBackground = Instance.new("Frame")
- HistoryFrameBackgroundUICorner = Instance.new("UICorner")
- HistoryScrollingFrame = Instance.new("ScrollingFrame")
- ExecutorMainFrame = Instance.new("Frame")
- ExecutorScrollingFrame = Instance.new("ScrollingFrame")
- ExecutorTextBox = Instance.new("TextBox")
- ExecutorTextBoxUICorner = Instance.new("UICorner")
- ExecuteTextBox = Instance.new("TextButton")
- ExecuteTextBoxUICorner = Instance.new("UICorner")
- CopyTextBox = Instance.new("TextButton")
- CopyTextBoxUICorner = Instance.new("UICorner")
- PasteTextBox = Instance.new("TextButton")
- PasteTextBoxUICorner = Instance.new("UICorner")
- ClearTextBox = Instance.new("TextButton")
- ClearTextBoxUICorner = Instance.new("UICorner")
- local History = {}
- HeadFont = Enum.Font.SourceSansBold
- HomeTabValue = 1
- ExecutorTabValue = 0
- SearchTabValue = 0
- FavouritesTabValue = 0
- SettingsTabValue = 0
- DI.Name = "DI"
- DI.Parent = game.CoreGui
- DI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- game.CoreGui.DI.Enabled = true
- TabsLine.Visible = false
- HomeTab.Visible = false
- ExecutorTab.Visible = false
- SearchTab.Visible = false
- FavouritesTab.Visible = false
- SettingsTab.Visible = false
- TabsFolder.Visible = false
- DynamicIsland.Name = "DynamicIsland"
- DynamicIsland.Parent = DI
- DynamicIsland.AnchorPoint = Vector2.new(0.5, 0)
- DynamicIsland.Size = UDim2.new(0, 100, 0, 30)
- DynamicIsland.Position = UDim2.new(0.5, 0, 0.9, 0)
- DynamicIsland.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- DynamicIsland.ZIndex = 2
- DynamicIsland.Text = os.date("%H:%M")
- DynamicIsland.Font = HeadFont
- DynamicIsland.TextScaled = true
- DynamicIsland.TextColor3 = Color3.fromRGB(222, 222, 222)
- DynamicIsland.AutoButtonColor = false
- DynamicIslandUICorner.CornerRadius = UDim.new(1, 0)
- DynamicIslandUICorner.Parent = DynamicIsland
- TabsLine.Name = "TabsLine"
- TabsLine.Parent = DynamicIsland
- TabsLine.AnchorPoint = Vector2.new(0.5, 0.5)
- TabsLine.Size = UDim2.new(0, 20, 0, 5)
- TabsLine.Position = UDim2.new(0.1, 0, 0.18, 0)
- TabsLine.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
- TabsLineUICorner.CornerRadius = UDim.new(0, 20)
- TabsLineUICorner.Parent = TabsLine
- HomeTab.Name = "HomeTab"
- HomeTab.Parent = DynamicIsland
- HomeTab.AnchorPoint = Vector2.new(0.5, 0.5)
- HomeTab.Size = UDim2.new(0, 80, 0, 25)
- HomeTab.Position = UDim2.new(0.1, 0, 0.1, 0)
- HomeTab.BackgroundTransparency = 1
- HomeTab.Text = "Home"
- HomeTab.Font = HeadFont
- HomeTab.TextSize = 20
- HomeTab.TextColor3 = Color3.fromRGB(222, 222, 222)
- HomeTab.AutoButtonColor = false
- ExecutorTab.Name = "ExecutorTab"
- ExecutorTab.Parent = DynamicIsland
- ExecutorTab.AnchorPoint = Vector2.new(0.5, 0.5)
- ExecutorTab.Size = UDim2.new(0, 80, 0, 25)
- ExecutorTab.Position = UDim2.new(0.3, 0, 0.1, 0)
- ExecutorTab.BackgroundTransparency = 1
- ExecutorTab.Text = "Executor"
- ExecutorTab.Font = HeadFont
- ExecutorTab.TextSize = 20
- ExecutorTab.TextColor3 = Color3.fromRGB(222, 222, 222)
- ExecutorTab.AutoButtonColor = false
- SearchTab.Name = "SearchTab"
- SearchTab.Parent = DynamicIsland
- SearchTab.AnchorPoint = Vector2.new(0.5, 0.5)
- SearchTab.Size = UDim2.new(0, 80, 0, 25)
- SearchTab.Position = UDim2.new(0.5, 0, 0.1, 0)
- SearchTab.BackgroundTransparency = 1
- SearchTab.Text = "Search"
- SearchTab.Font = HeadFont
- SearchTab.TextSize = 20
- SearchTab.TextColor3 = Color3.fromRGB(222, 222, 222)
- SearchTab.AutoButtonColor = false
- FavouritesTab.Name = "FavouritesTab"
- FavouritesTab.Parent = DynamicIsland
- FavouritesTab.AnchorPoint = Vector2.new(0.5, 0.5)
- FavouritesTab.Size = UDim2.new(0, 80, 0, 25)
- FavouritesTab.Position = UDim2.new(0.7, 0, 0.1, 0)
- FavouritesTab.BackgroundTransparency = 1
- FavouritesTab.Text = "Favourites"
- FavouritesTab.Font = HeadFont
- FavouritesTab.TextSize = 20
- FavouritesTab.TextColor3 = Color3.fromRGB(222, 222, 222)
- FavouritesTab.AutoButtonColor = false
- SettingsTab.Name = "SettingsTab"
- SettingsTab.Parent = DynamicIsland
- SettingsTab.AnchorPoint = Vector2.new(0.5, 0.5)
- SettingsTab.Size = UDim2.new(0, 80, 0, 25)
- SettingsTab.Position = UDim2.new(0.9, 0, 0.1, 0)
- SettingsTab.BackgroundTransparency = 1
- SettingsTab.Text = "Settings"
- SettingsTab.Font = HeadFont
- SettingsTab.TextSize = 20
- SettingsTab.TextColor3 = Color3.fromRGB(222, 222, 222)
- SettingsTab.AutoButtonColor = false
- TabsFolder.CanvasSize = UDim2.new(0, 0, 0, 0)
- TabsFolder.Transparency = 1
- TabsFolder.Active = true
- TabsFolder.AnchorPoint = Vector2.new(0.5, 0.5)
- TabsFolder.Position = UDim2.new(0.5, 0, 0.6, 0)
- TabsFolder.Size = UDim2.new(0, 550, 0, 120)
- TabsFolder.Name = "TabsFolder"
- TabsFolder.Parent = DynamicIsland
- TabsFolder.ScrollBarThickness = 0
- TabsParent.Transparency = 1
- TabsParent.AnchorPoint = Vector2.new(0.5, 0.5)
- TabsParent.Position = UDim2.new(3.5, 0, 0.5, 0)
- TabsParent.Size = UDim2.new(0, 10, 0, 10)
- TabsParent.Name = "TabsParent"
- TabsParent.Parent = TabsFolder
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = TabsParent
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.Transparency = 1
- MainFrame.Position = UDim2.new(0.5, 0, -0.8, 0)
- MainFrame.Size = UDim2.new(0, 550, 0, 95)
- ExecutorMainFrame.Name = "MainFrame"
- ExecutorMainFrame.Parent = TabsParent
- ExecutorMainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- ExecutorMainFrame.Transparency = 1
- ExecutorMainFrame.Position = UDim2.new(-82, 0, -0.8, 0)
- ExecutorMainFrame.Size = UDim2.new(0, 550, 0, 95)
- ExecutorScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- ExecutorScrollingFrame.Transparency = 1
- ExecutorScrollingFrame.Active = true
- ExecutorScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- ExecutorScrollingFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- ExecutorScrollingFrame.Size = UDim2.new(0, 550, 0, 95)
- ExecutorScrollingFrame.Name = "ExecutorScrollingFrame"
- ExecutorScrollingFrame.Parent = ExecutorMainFrame
- ExecutorScrollingFrame.ScrollBarThickness = 0
- ExecutorTextBox.Name = "ExecutorTextBox"
- ExecutorTextBox.Parent = ExecutorScrollingFrame
- ExecutorTextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ExecutorTextBox.Position = UDim2.new(0, 0, 0, 0)
- ExecutorTextBox.Size = UDim2.new(0, 551, 0, 95)
- ExecutorTextBox.Font = HeadFont
- ExecutorTextBox.ClearTextOnFocus = false
- ExecutorTextBox.FontSize = Enum.FontSize.Size18
- ExecutorTextBox.Text = ""
- ExecutorTextBox.PlaceholderText = "print(\"Hello World\")"
- ExecutorTextBox.TextColor3 = Color3.fromRGB(0, 200, 0)
- ExecutorTextBox.MultiLine = true
- ExecutorTextBox.TextSize = 15
- ExecutorTextBox.TextXAlignment = Enum.TextXAlignment.Left
- ExecutorTextBox.TextYAlignment = Enum.TextYAlignment.Top
- ExecutorTextBox.TextWrapped = true
- ExecutorTextBoxUICorner.Parent = ExecutorTextBox
- ExecutorTextBoxUICorner.CornerRadius = UDim.new(0, 10)
- ExecuteTextBox.Name = "ExecuteTextBox"
- ExecuteTextBox.Parent = ExecutorMainFrame
- ExecuteTextBox.Position = UDim2.new(0.09, 0, 1.137, 0)
- ExecuteTextBox.Size = UDim2.new(0, 100, 0, 25)
- ExecuteTextBox.AnchorPoint = Vector2.new(0.5, 0.5)
- ExecuteTextBox.Font = HeadFont
- ExecuteTextBox.Text = "Run"
- ExecuteTextBox.TextColor3 = Color3.fromRGB(222, 222, 222)
- ExecuteTextBox.AutoButtonColor = false
- ExecuteTextBox.TextSize = 25
- ExecuteTextBox.BackgroundColor3 = Color3.fromRGB(80, 200, 120)
- ExecuteTextBoxUICorner.CornerRadius = UDim.new(0, 10)
- ExecuteTextBoxUICorner.Parent = ExecuteTextBox
- InfoBox.Name = "InfoBox"
- InfoBox.Parent = MainFrame
- InfoBox.Transparency = 1
- InfoBox.AnchorPoint = Vector2.new(0.5, 0.5)
- InfoBox.Position = UDim2.new(0.5, 0, 1, 0)
- InfoBox.Size = UDim2.new(0, 550, 0, 95)
- SearchBox.Name = "SearchBox"
- SearchBox.Parent = TabsParent
- SearchBox.BackgroundTransparency = 1
- SearchBox.AnchorPoint = Vector2.new(0.5, 0.5)
- SearchBox.Position = UDim2.new(0.5, 0, 5.25, 0)
- SearchBox.Size = UDim2.new(0, 550, 0, 25)
- SearchBox.ClearTextOnFocus = false
- SearchBox.Font = HeadFont
- SearchBox.PlaceholderText = "Click Here To Search"
- SearchBox.PlaceholderColor3 = Color3.fromRGB(222, 222, 222)
- SearchBox.Text = ""
- SearchBox.TextColor3 = Color3.fromRGB(222, 222, 222)
- SearchBox.TextScaled = true
- SearchBox.TextSize = 14.000
- SearchBox.TextWrapped = true
- UICorner_3.CornerRadius = UDim.new(0, 100)
- UICorner_3.Parent = SearchBox
- ScriptListFrame.Name = "ScriptListFrame"
- ScriptListFrame.Parent = MainFrame
- ScriptListFrame.Active = true
- ScriptListFrame.Transparency = 1
- ScriptListFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- ScriptListFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- ScriptListFrame.Size = UDim2.new(0, 550, 0, 95)
- ScriptListFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScriptListFrame.ScrollBarThickness = 0
- UIPadding.Parent = ScriptListFrame
- UIPadding.PaddingBottom = UDim.new(0, 5)
- 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, 0, 0, 5)
- UIGridLayout.CellSize = UDim2.new(0, 550, 0, 95)
- ScriptFrame.Name = "ScriptFrame"
- ScriptFrame.Parent = Scripts
- ScriptFrame.Transparency = 1
- PreviewImage.Name = "PreviewImage"
- PreviewImage.Parent = ScriptFrame
- PreviewImage.BackgroundTransparency = 1
- PreviewImage.AnchorPoint = Vector2.new(0.5, 0.5)
- PreviewImage.Position = UDim2.new(0.5, 0, 0.5, 0)
- PreviewImage.Size = UIGridLayout.CellSize
- PreviewImage.Image = ""
- UICorner_14.CornerRadius = UDim.new(0, 10)
- UICorner_14.Parent = PreviewImage
- ImageShadow.Name = "ImageShadow"
- ImageShadow.Parent = PreviewImage
- ImageShadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ImageShadow.BackgroundTransparency = 0.5
- ImageShadow.AnchorPoint = Vector2.new(0.5, 0.5)
- ImageShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
- ImageShadow.Size = UIGridLayout.CellSize
- ImageShadowUICorner.CornerRadius = UDim.new(0, 10)
- ImageShadowUICorner.Parent = ImageShadow
- ScriptTitle.Name = "ScriptTitle"
- ScriptTitle.Parent = ScriptFrame
- ScriptTitle.BackgroundTransparency = 1
- ScriptTitle.Position = UDim2.new(0, 85, 0, 0)
- ScriptTitle.Size = UDim2.new(0, 160, 0, 25)
- ScriptTitle.Font = HeadFont
- ScriptTitle.Text = "Script Title"
- ScriptTitle.TextColor3 = Color3.fromRGB(222, 222, 222)
- ScriptTitle.TextScaled = true
- ScriptTitle.TextSize = 14.000
- ScriptTitle.TextWrapped = true
- ScriptTitle.TextXAlignment = Enum.TextXAlignment.Left
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Parent = ScriptFrame
- ExecuteButton.Position = UDim2.new(0, 85, 0, 28)
- ExecuteButton.Size = UDim2.new(0, 100, 0, 20)
- ExecuteButton.Font = HeadFont
- ExecuteButton.Text = "Execute"
- ExecuteButton.TextColor3 = Color3.fromRGB(222, 222, 222)
- ExecuteButton.AutoButtonColor = false
- ExecuteButton.TextSize = 15
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(80, 200, 120)
- ExecuteButtonUICorner.CornerRadius = UDim.new(0, 20)
- ExecuteButtonUICorner.Parent = ExecuteButton
- CopyScriptButton.Name = "CopyScriptButton"
- CopyScriptButton.Parent = ScriptFrame
- CopyScriptButton.Position = UDim2.new(0, 145, 0, 62)
- CopyScriptButton.Size = UDim2.new(0, 100, 0, 20)
- CopyScriptButton.Font = HeadFont
- CopyScriptButton.Text = "Copy"
- CopyScriptButton.TextColor3 = Color3.fromRGB(222, 222, 222)
- CopyScriptButton.AutoButtonColor = false
- CopyScriptButton.TextSize = 15
- CopyScriptButton.BackgroundColor3 = Color3.fromRGB(218, 223, 247)
- CopyScriptButtonUICorner.CornerRadius = UDim.new(0, 20)
- CopyScriptButtonUICorner.Parent = CopyScriptButton
- KeySystem.Name = "KeySystem"
- KeySystem.Parent = ScriptFrame
- KeySystem.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
- KeySystem.Position = UDim2.new(0, 190, 0, 28)
- KeySystem.Size = UDim2.new(0, 50, 0, 20)
- KeySystem.Font = HeadFont
- KeySystem.Text = "Key System"
- KeySystem.TextColor3 = Color3.fromRGB(0, 0, 0)
- KeySystemUICorner.CornerRadius = UDim.new(0, 10)
- KeySystemUICorner.Parent = KeySystem
- 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 = HeadFont
- ScriptGame.Text = "Game"
- ScriptGame.TextColor3 = Color3.fromRGB(222, 222, 222)
- ScriptGame.TextSize = 14.000
- ScriptGame.TextWrapped = true
- ScriptGame.TextXAlignment = Enum.TextXAlignment.Left
- VerifiedScriptFrame.Name = "VerifiedScriptFrame"
- VerifiedScriptFrame.Parent = Scripts
- VerifiedScriptFrame.Transparency = 1
- PreviewImage_2.Name = "PreviewImage"
- PreviewImage_2.Parent = VerifiedScriptFrame
- PreviewImage_2.BackgroundTransparency = 1
- PreviewImage_2.AnchorPoint = Vector2.new(0.5, 0.5)
- PreviewImage_2.Position = PreviewImage.Position
- PreviewImage_2.Size = UIGridLayout.CellSize
- PreviewImage_2.Image = ""
- PreviewImageUICorner_2.CornerRadius = UDim.new(0, 10)
- PreviewImageUICorner_2.Parent = PreviewImage_2
- ImageShadow_2.Name = "ImageShadow_2"
- ImageShadow_2.Parent = PreviewImage_2
- ImageShadow_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ImageShadow_2.BackgroundTransparency = 0.5
- ImageShadow_2.AnchorPoint = Vector2.new(0.5, 0.5)
- ImageShadow_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- ImageShadow_2.Size = UIGridLayout.CellSize
- ImageShadowUICorner_2.CornerRadius = UDim.new(0, 10)
- ImageShadowUICorner_2.Parent = ImageShadow_2
- 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 = HeadFont
- ScriptTitle_2.Text = "Script Title"
- ScriptTitle_2.TextColor3 = Color3.fromRGB(222, 222, 222)
- ScriptTitle_2.TextScaled = true
- ScriptTitle_2.TextSize = 14.000
- ScriptTitle_2.TextWrapped = true
- ScriptTitle_2.TextXAlignment = Enum.TextXAlignment.Left
- ExecuteButton_2.Name = "ExecuteButton"
- ExecuteButton_2.Parent = VerifiedScriptFrame
- ExecuteButton_2.Position = ExecuteButton.Position
- ExecuteButton_2.Size = ExecuteButton.Size
- ExecuteButton_2.Font = HeadFont
- ExecuteButton_2.Text = "Execute"
- ExecuteButton_2.TextColor3 = Color3.fromRGB(222, 222, 222)
- ExecuteButton_2.AutoButtonColor = false
- ExecuteButton_2.TextSize = 15
- ExecuteButton_2.BackgroundColor3 = ExecuteButton.BackgroundColor3
- ExecuteButtonUICorner_2.CornerRadius = UDim.new(0, 20)
- ExecuteButtonUICorner_2.Parent = ExecuteButton_2
- CopyScriptButton_2.Name = "CopyScriptButton"
- CopyScriptButton_2.Parent = VerifiedScriptFrame
- CopyScriptButton_2.Position = CopyScriptButton.Position
- CopyScriptButton_2.Size = CopyScriptButton.Size
- CopyScriptButton_2.Font = HeadFont
- CopyScriptButton_2.Text = "Copy"
- CopyScriptButton_2.TextColor3 = Color3.fromRGB(222, 222, 222)
- CopyScriptButton_2.AutoButtonColor = false
- CopyScriptButton_2.TextSize = 15
- CopyScriptButton_2.BackgroundColor3 = CopyScriptButton.BackgroundColor3
- CopyScriptButtonUICorner_2.CornerRadius = UDim.new(0, 20)
- CopyScriptButtonUICorner_2.Parent = CopyScriptButton_2
- KeySystem_2.Name = "KeySystem"
- KeySystem_2.Parent = VerifiedScriptFrame
- KeySystem_2.BackgroundColor3 = Color3.fromRGB(242, 191, 33)
- KeySystem_2.Position = KeySystem.Position
- KeySystem_2.Size = KeySystem.Size
- KeySystem_2.Font = HeadFont
- 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
- KeySystem.Visible = false
- KeySystem_2.Visible = false
- 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 = HeadFont
- ScriptGame_2.Text = "Game"
- ScriptGame_2.TextColor3 = Color3.fromRGB(222, 222, 222)
- ScriptGame_2.TextSize = 14.000
- ScriptGame_2.TextWrapped = true
- ScriptGame_2.TextXAlignment = Enum.TextXAlignment.Left
- Comments_2.Name = "Comments"
- Comments_2.Parent = InfoBox
- 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, 240, 0, 60)
- Comments_2.CanvasSize = UDim2.new(0, 0, 0, 0)
- Comment.Name = "Comment"
- Comment.Parent = Comments_2
- 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, 190, 0, 20)
- Content.Font = HeadFont
- Content.Text = "Comment"
- Content.TextColor3 = Color3.fromRGB(222, 222, 222)
- 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.BackgroundTransparency = 1
- 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 = HeadFont
- Author_2.Text = "Author"
- Author_2.TextColor3 = Color3.fromRGB(222, 222, 222)
- 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(222, 222, 222)
- 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_2.Parent = Comments_2
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_2.Padding = UDim.new(0, 5)
- HistoryFrameBackground.Name = "HistoryFrameBackground"
- HistoryFrameBackground.Position = UDim2.new(0.5, 0, -1.9, 0)
- HistoryFrameBackground.Parent = SearchBox
- HistoryFrameBackground.AnchorPoint = Vector2.new(0.5, 0.5)
- HistoryFrameBackground.Size = MainFrame.Size
- HistoryFrameBackground.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- HistoryFrameBackground.Visible = false
- HistoryFrameBackgroundUICorner.Parent = HistoryFrameBackground
- HistoryFrameBackgroundUICorner.CornerRadius = UDim.new(0, 10)
- HistoryScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- HistoryScrollingFrame.Transparency = 1
- HistoryScrollingFrame.Active = true
- HistoryScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- HistoryScrollingFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- HistoryScrollingFrame.Size = UDim2.new(0, 546, 0, 95)
- HistoryScrollingFrame.Name = "HistoryScrollingFrame"
- HistoryScrollingFrame.Parent = HistoryFrameBackground
- HistoryScrollingFrame.ScrollBarThickness = 0
- ExecutorTextBox:GetPropertyChangedSignal("Text"):Connect(function()
- ExecutorTextBox.Size = UDim2.new(0, 551, 0, ExecutorTextBox.TextBounds.Y + 95)
- end)
- function createfolders(path)
- local pathtbl = string.split(path, "/")
- for i, v in pairs(pathtbl) do
- if i == 1 then
- if not isfolder(v) then
- makefolder(v)
- end
- else
- local newpath = pathtbl[1]
- for i2=2, i-1 do
- newpath = newpath.. "/" ..pathtbl[i2]
- end
- newpath = newpath.. "/" ..v
- if not isfolder(newpath) then
- makefolder(newpath)
- end
- end
- end
- end
- if not isfolder("Dynamic_Island") then
- createfolders("Dynamic_Island")
- end
- if not isfile("Dynamic_Island/History.ECCS") then
- writefile("Dynamic_Island/History.ECCS", "")
- end
- File1 = readfile("Dynamic_Island/History.ECCS")
- spawn(function()
- while task.wait() do
- if DynamicIsland.Size == UDim2.new(0, 550, 0, 150) then
- TabsLine.Visible = true
- HomeTab.Visible = true
- ExecutorTab.Visible = true
- SearchTab.Visible = true
- FavouritesTab.Visible = true
- SettingsTab.Visible = true
- TabsFolder.Visible = true
- end
- if DynamicIsland.Size ~= UDim2.new(0, 550, 0, 150) then
- TabsLine.Visible = false
- HomeTab.Visible = false
- ExecutorTab.Visible = false
- SearchTab.Visible = false
- FavouritesTab.Visible = false
- SettingsTab.Visible = false
- TabsFolder.Visible = false
- end
- end
- end)
- spawn(function()
- while task.wait() do
- if DynamicIsland.Size == UDim2.new(0, 100, 0, 30) then
- DynamicIslandUICorner.CornerRadius = UDim.new(1, 0)
- DynamicIsland.TextTransparency = 0
- TweenService:Create(DynamicIsland, TweenInfo.new(0.2), {BackgroundTransparency = 0}):Play()
- else
- DynamicIsland.TextTransparency = 1
- DynamicIslandUICorner.CornerRadius = UDim.new(0, 10)
- TweenService:Create(DynamicIsland, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play()
- end
- end
- end)
- spawn(function()
- while task.wait() do
- if HomeTabValue == 1 then
- TabsLine:TweenPosition(UDim2.new(0.1, 0, 0.18, 0),"InOut","Sine",0.2)
- TabsParent:TweenPosition(UDim2.new(3.5, 0, 0.5, 0),"InOut","Sine",0.2)
- end
- if ExecutorTabValue == 1 then
- TabsLine:TweenPosition(UDim2.new(0.3, 0, 0.18, 0),"InOut","Sine",0.2)
- TabsParent:TweenPosition(UDim2.new(2, 0, 0.5, 0),"InOut","Sine",0.2)
- end
- if SearchTabValue == 1 then
- TabsLine:TweenPosition(UDim2.new(0.5, 0, 0.18, 0),"InOut","Sine",0.2)
- TabsParent:TweenPosition(UDim2.new(0.5, 0, 0.5, 0),"InOut","Sine",0.2)
- end
- if FavouritesTabValue == 1 then
- TabsLine:TweenPosition(UDim2.new(0.7, 0, 0.18, 0),"InOut","Sine",0.2)
- TabsParent:TweenPosition(UDim2.new(-2, 0, 0.5, 0),"InOut","Sine",0.2)
- end
- if SettingsTabValue == 1 then
- TabsLine:TweenPosition(UDim2.new(0.9, 0, 0.18, 0),"InOut","Sine",0.2)
- TabsParent:TweenPosition(UDim2.new(-3.5, 0, 0.5, 0),"InOut","Sine",0.2)
- end
- end
- end)
- HomeTab.MouseButton1Click:Connect(function()
- HomeTabValue = 1
- ExecutorTabValue = 0
- SearchTabValue = 0
- FavouritesTabValue = 0
- SettingsTabValue = 0
- end)
- HomeTab.MouseButton1Click:Connect(function()
- HomeTabValue = 1
- ExecutorTabValue = 0
- SearchTabValue = 0
- FavouritesTabValue = 0
- SettingsTabValue = 0
- end)
- ExecutorTab.MouseButton1Click:Connect(function()
- HomeTabValue = 0
- ExecutorTabValue = 1
- SearchTabValue = 0
- FavouritesTabValue = 0
- SettingsTabValue = 0
- end)
- SearchTab.MouseButton1Click:Connect(function()
- HomeTabValue = 0
- ExecutorTabValue = 0
- SearchTabValue = 1
- FavouritesTabValue = 0
- SettingsTabValue = 0
- end)
- FavouritesTab.MouseButton1Click:Connect(function()
- HomeTabValue = 0
- ExecutorTabValue = 0
- SearchTabValue = 0
- FavouritesTabValue = 1
- SettingsTabValue = 0
- end)
- SettingsTab.MouseButton1Click:Connect(function()
- HomeTabValue = 0
- ExecutorTabValue = 0
- SearchTabValue = 0
- FavouritesTabValue = 0
- SettingsTabValue = 1
- end)
- spawn(function()
- while task.wait() do
- DynamicIsland.Text = os.date("%H:%M")
- end
- end)
- DynamicIsland.MouseEnter:Connect(function()
- DynamicIsland:TweenSize(UDim2.new(0, 550, 0, 150),"InOut","Sine",0.2)
- DynamicIsland:TweenPosition(UDim2.new(0.5, 0, 0.6, 0),"InOut","Sine",0.2)
- TweenService:Create(DynamicIsland, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play()
- end)
- DynamicIsland.MouseButton1Click:Connect(function()
- if DynamicIsland.Size == UDim2.new(0, 100, 0, 30) then
- DynamicIsland:TweenSize(UDim2.new(0, 550, 0, 150),"InOut","Sine",0.2)
- DynamicIsland:TweenPosition(UDim2.new(0.5, 0, 0.6, 0),"InOut","Sine",0.2)
- TweenService:Create(DynamicIsland, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play()
- end
- end)
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then return end
- if input.KeyCode == Enum.KeyCode.RightAlt then
- DynamicIsland.Visible = not DynamicIsland.Visible
- elseif input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- local target = game:GetService("Players").LocalPlayer:GetMouse().Target
- if target and target:IsDescendantOf(DynamicIsland) then
- return
- else
- DynamicIsland:TweenSize(UDim2.new(0, 100, 0, 30), "InOut", "Sine", 0.2)
- DynamicIsland:TweenPosition(UDim2.new(0.5, 0, 0.9, 0), "InOut", "Sine", 0.2)
- TweenService:Create(DynamicIsland, TweenInfo.new(0.2), {BackgroundTransparency = 0}):Play()
- end
- end
- end)
- page = 1
- gquery = ""
- ExecutorScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- HistoryScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.ScriptListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.ScriptListFrame.ScrollBarImageTransparency = 1
- MainFrame.ScriptListFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- MainFrame.InfoBox.Comments.AutomaticCanvasSize = Enum.AutomaticSize.Y
- MainFrame.InfoBox.Comments.ScrollBarImageColor3 = Color3.new(0, 0, 0)
- MainFrame.InfoBox.Comments.ScrollBarImageTransparency = 1
- 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.Comment:Clone()
- MainFrame.InfoBox.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.UIListLayout:Clone()
- MainFrame.InfoBox.Comments:ClearAllChildren()
- commentsUIListLayout.Parent = MainFrame.InfoBox.Comments
- task.spawn(function()
- for _, v in pairs(fetchComments(scriptObj["_id"])) do
- newComment = Comment:Clone()
- newComment.Parent = MainFrame.InfoBox.Comments
- newComment.Content.Text = v.text
- newComment.Author.Text = v.commentBy.username
- end
- end)
- end
- function refreshScripts(scriptTbl)
- if #scriptTbl <= 0 then
- 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.ScriptGame.Text = v.game.name
- newScript.Parent = Scripts
- else
- newScript = Script:Clone()
- newScript.ScriptTitle.Text = v.title
- newScript.ScriptGame.Text = v.game.name
- newScript.Parent = Scripts
- end
- if v.game.name == "Universal Script 📌" then
- newScript.PreviewImage.Image = "rbxassetid://74093385918485"
- 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
- newScript.ExecuteButton.MouseButton1Click:Connect(function()
- loadstring(v.script)()
- end)
- newScript.CopyScriptButton.MouseButton1Click:Connect(function()
- setclipboard(v.script)
- end)
- --updateInfoBox(v)
- end)
- end
- pagefetchrunning = false
- end
- for s in string.gmatch(File1, '([^,]+)') do
- table.insert(History, s:match("^%s*(.-)%s*$"))
- end
- local function findResult(tbl, value)
- local index = table.find(tbl, value)
- if index then
- return true
- else
- return false
- end
- end
- local function updateSuggestions()
- local inputText = SearchBox.Text:lower()
- HistoryScrollingFrame:ClearAllChildren()
- HistoryFrameBackground.Visible = false
- if #inputText > 0 then
- local yOffset = 0
- for _, word in ipairs(History) do
- if word:lower():find(inputText) then
- HistoryFrameBackground.Visible = true
- SuggestionButton = Instance.new("TextButton")
- SuggestionButton.Parent = HistoryScrollingFrame
- SuggestionButton.Size = UDim2.new(1, 0, 0, 35)
- SuggestionButton.Position = UDim2.new(0, 0, 0, yOffset)
- SuggestionButton.Text = word
- SuggestionButton.TextXAlignment = Enum.TextXAlignment.Left
- SuggestionButton.TextYAlignment = Enum.TextYAlignment.Center
- SuggestionButton.Font = Enum.Font.ArimoBold
- SuggestionButton.TextScaled = true
- SuggestionButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SuggestionButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- SuggestionButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- SuggestionButton.MouseButton1Click:Connect(function()
- spawn(function()
- for i = 1,10 do
- HistoryFrameBackground.Visible = false
- end
- end)
- SearchBox.Text = word
- gquery = SearchBox.Text
- page = 1
- local scriptsTbl = fetchScripts(SearchBox.Text, 1)
- refreshScripts(scriptsTbl)
- end)
- yOffset = yOffset + 35
- HistoryFrameBackground.Visible = true
- end
- end
- end
- end
- SearchBox:GetPropertyChangedSignal("Text"):Connect(updateSuggestions)
- SearchBox.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- if SearchBox.Text ~= " " then
- local newText = SearchBox.Text
- local exists = false
- for _, word in ipairs(History) do
- if word:lower() == newText:lower() then
- exists = true
- break
- end
- end
- if not exists then
- HistoryFrameBackground.Visible = false
- table.insert(History, newText)
- writefile("Dynamic_Island/History.ECCS", table.concat(History, ", "))
- end
- updateSuggestions()
- HistoryFrameBackground.Visible = false
- gquery = SearchBox.Text
- page = 1
- local scriptsTbl = fetchScripts(SearchBox.Text, 1)
- refreshScripts(scriptsTbl)
- end
- end
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement