Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Thank you for using PasteHub!
- If in need of help you can always ask me via Discord Chebureki#5214
- Explanation:
- In order to add a new tab add to categories
- ["Name Here"] = {...}
- Inside the dots come the scripts. Add them like this:
- {"Name Here",'content of the script'}
- Put the script in as a string, since loadstring is being used!
- Alternatively you can give it a function, but dont give it any parameters!
- Example:
- --]]
- function aTestFunction()
- if 1+1==2 then
- print("1+1 does equal 2")
- end
- end
- --[[
- Now all you have to do is put in in like this: {"YourName",aTestFunction}
- You can use any function!
- Now enjoy!
- --]]
- --//Settings
- Hub_Name = "coolkidshub"
- Hub_UseLogo = true
- Hub_Logo = "rbxassetid://52594540"
- Hub_InfoPageText = "coolkidshub made by Darion#8863, GUI is made by Chebureki#5214"
- --If you want to edit things like color,size,etc. you will have to edit the gui down below!
- --//
- categories = {
- ["Games"]= {
- {"NRPG Fast Shoot",game:HttpGet(('https://pastebin.com/raw/zXCvQxRF'),true)},
- {"Cool1",aTestFunction},
- {"Cool2",'print"PlaceHolder Please Delete Me!"'},
- {"Cool3",'print"PlaceHolder Please Delete Me!"'}
- },
- ["Example2"]= {
- {"Gucci",'print"PlaceHolder Please Delete Me!"'},
- {"Guccasdasd",'print"PlaceHolder Please Delete Me!"'},
- {"02",'print"PlaceHolder Please Delete Me!"'},
- {"Yallah",'print"PlaceHolder Please Delete Me!"'}
- }
- }
- local ScreenGui = Instance.new("ScreenGui")
- local Header = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Minimize = Instance.new("TextButton")
- local Body = Instance.new("Frame")
- local bar = Instance.new("ScrollingFrame")
- local TextButton = Instance.new("TextButton")
- local InfoPage = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton_2 = Instance.new("TextButton")
- local Logo = Instance.new("ImageLabel")
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- Header.Name = "Header"
- Header.Parent = ScreenGui
- Header.Active = true
- Header.BackgroundColor3 = Color3.new(0, 0, 0)
- Header.BorderSizePixel = 0
- Header.Draggable = true
- Header.Position = UDim2.new(0.279503107, 0, 0.382530123, 0)
- Header.Size = UDim2.new(0, 438, 0, 34)
- Title.Name = "Title"
- Title.Parent = Header
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0.332191795, 0, 0, 0)
- Title.Size = UDim2.new(0, 147, 0, 34)
- Title.Font = Enum.Font.SourceSansLight
- Title.Text = Hub_Name
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 21
- Title.TextWrapped = true
- Close.Name = "Close"
- Close.Parent = Header
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.Position = UDim2.new(0.928571403, 0, 0, 0)
- Close.Size = UDim2.new(0, 27, 0, 22)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 19
- Minimize.Name = "Minimize"
- Minimize.Parent = Header
- Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
- Minimize.BackgroundTransparency = 1
- Minimize.Position = UDim2.new(0.857142806, 0, 0, 0)
- Minimize.Size = UDim2.new(0, 27, 0, 22)
- Minimize.Font = Enum.Font.SourceSans
- Minimize.Text = "_"
- Minimize.TextColor3 = Color3.new(1, 1, 1)
- Minimize.TextSize = 19
- Body.Name = "Body"
- Body.Parent = Header
- Body.BackgroundColor3 = Color3.new(0.372549, 0.372549, 0.372549)
- Body.BackgroundTransparency = 0.10000000149012
- Body.BorderSizePixel = 0
- Body.ClipsDescendants = true
- Body.Position = UDim2.new(0, 0, 1, 0)
- Body.Size = UDim2.new(0, 438, 0, 203)
- bar.Name = "bar"
- bar.Parent = Body
- bar.BackgroundColor3 = Color3.new(0.372549, 0.372549, 0.372549)
- bar.BackgroundTransparency = 0.89999997615814
- bar.Size = UDim2.new(0, 115, 0, 203)
- bar.BottomImage = ""
- bar.CanvasSize = UDim2.new(0, 0, 1.20000005, 0)
- bar.ScrollBarThickness = 6
- bar.TopImage = ""
- TextButton.Parent = bar
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.108999997, 0, 0.0199999996, 0)
- TextButton.Size = UDim2.new(0, 90, 0, 31)
- TextButton.Visible = false
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 14
- InfoPage.Name = "InfoPage"
- InfoPage.Parent = Body
- InfoPage.BackgroundColor3 = Color3.new(1, 1, 1)
- InfoPage.BackgroundTransparency = 1
- InfoPage.BorderSizePixel = 0
- InfoPage.Position = UDim2.new(0.262557089, 0, 0, 0)
- InfoPage.Size = UDim2.new(0, 323, 0, 203)
- TextLabel.Parent = InfoPage
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.0340557247, 0, 0.0886699483, 0)
- TextLabel.Size = UDim2.new(0, 298, 0, 151)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = Hub_InfoPageText
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.0309597515, 0, 0.0443349741, 0)
- TextButton_2.Size = UDim2.new(0, 91, 0, 31)
- TextButton_2.Visible = false
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextSize = 14
- Logo.Parent = Header
- Logo.BackgroundColor3 = Color3.new(1, 1, 1)
- Logo.BackgroundTransparency = 1
- Logo.BorderSizePixel = 0
- Logo.Position = UDim2.new(0.0182648413, 0, 0, 0)
- Logo.Size = UDim2.new(0, 34, 0, 34)
- Logo.Image = Hub_Logo
- if not Hub_UseLogo then
- Logo.Visible = false
- end
- offset = 0.02
- for i,v in pairs(categories)do
- local button = TextButton:Clone()
- button.Parent = bar
- button.Position = UDim2.new(0.109, 0,offset, 0)
- button.Visible = true
- button.Text = i
- offset = offset + 0.16
- local page = Instance.new("Frame")
- page.Parent = Body
- page.Position = UDim2.new(0.263, 0,0, 0)
- page.Size = UDim2.new(0, 323,0, 203)
- page.BackgroundTransparency = 1
- page.Name = "Page"..i
- page.Visible = false
- local xoffset = 0.031
- local yoffset = 0.044
- for i,content in pairs(v)do
- local scriptbutton = TextButton:Clone()
- scriptbutton.Parent = page
- scriptbutton.Visible = true
- scriptbutton.Text = content[1]
- scriptbutton.Position = UDim2.new(xoffset,0,yoffset,0)
- xoffset = xoffset + 0.325
- if i%3 == 0 then
- xoffset = 0.031
- yoffset = yoffset + 0.206
- end
- if i == 12 then
- break
- end
- scriptbutton.MouseButton1Click:Connect(function()
- if type(content[2]) == "function" then
- content[2]()
- end
- if type(content[2]) == "string" then
- loadstring(content[2])
- end
- end)
- end
- button.MouseButton1Click:Connect(function()
- for _,pages in pairs(Body:GetChildren())do
- if pages ~= page and pages.Name ~= "bar" then
- pages.Visible = false
- end
- if pages == page then
- pages.Visible = true
- end
- end
- end)
- end
- local minimized = false
- Minimize.MouseButton1Click:Connect(function()
- if not minimized then
- Body:TweenSize(UDim2.new(0, 438,0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.2)
- minimized = true
- else
- Body:TweenSize(UDim2.new(0, 438,0, 203),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.2)
- minimized = false
- end
- end)
- Close.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement