Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Join the discord to be the first to know of updates! discord.gg/7Cb8bS2
- local function randomName()
- local data = ""
- for i=0,20,1 do
- data = data .. tostring(string.char(math.ceil(math.random() * 254)))
- end
- return data
- end
- local uilib = Instance.new("ScreenGui")
- uilib.Name = randomName()
- uilib.Parent = game.CoreGui
- uilib.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- local Library = {}
- local TweenService = game:GetService("TweenService")
- local uis = game:GetService("UserInputService")
- local tabcount = 0
- local rainbow = 0
- _G.breatherate = 0.005
- local color
- local rainbows = {}
- local buttoncount = {}
- function Library:CreateTab(name)
- tabcount = tabcount+1
- buttoncount[tabcount] = 0
- local topbar = Instance.new("Frame")
- topbar.Name = tostring(tabcount)
- topbar.Parent = uilib
- topbar.Active = true
- topbar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- topbar.BorderSizePixel = 0
- topbar.Position = UDim2.new(0, (tabcount)*13+(tabcount-1)*200, 0.0128041022, 0),
- topbar.Size = UDim2.new(0, 200, 0, 30)
- local container = Instance.new("Frame")
- container.Name = "container"
- container.Parent = topbar
- container.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- container.BorderSizePixel = 0
- container.Position = UDim2.new(0, 2, 1, 0)
- container.Size = UDim2.new(1, -4, 0, 300)
- local UIListLayout = Instance.new("UIListLayout")
- UIListLayout.Parent = container
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- local bar1 = Instance.new("Frame")
- bar1.Name = "bar1"
- bar1.Parent = topbar
- bar1.BackgroundColor3 = Color3.fromRGB(211, 47, 47)
- bar1.BorderSizePixel = 0
- bar1.Position = UDim2.new(0, 0, 1, -3)
- bar1.Size = UDim2.new(1, 0, 0, 3)
- local title = Instance.new("TextLabel")
- title.Name = "title"
- title.Parent = topbar
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.BackgroundTransparency = 1.000
- title.BorderSizePixel = 0
- title.Position = UDim2.new(0, 13, 0, 0)
- title.Size = UDim2.new(1.04999995, -40, 1, 0)
- title.Font = Enum.Font.SourceSans
- title.Text = name
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- title.TextSize = 16.000
- title.TextXAlignment = Enum.TextXAlignment.Left
- end
- return Library;
Add Comment
Please, Sign In to add comment