Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ac = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local whatdoicallthisagain = Instance.new("Frame")
- local toplabel = Instance.new("TextLabel")
- local uilayoutthing1 = Instance.new("Frame")
- local coolbutton = Instance.new("TextButton")
- local UIListLayout = Instance.new("UIListLayout")
- --Properties:
- ac.Name = "ac"
- ac.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
- ac.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- whatdoicallthisagain.Name = "what do i call this again"
- whatdoicallthisagain.Parent = Frame
- whatdoicallthisagain.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- whatdoicallthisagain.BorderSizePixel = 0
- whatdoicallthisagain.Size = UDim2.new(0, 0, 0, 0)
- toplabel.Name = "toplabel"
- toplabel.Parent = whatdoicallthisagain
- toplabel.AnchorPoint = Vector2.new(0.5, 0.5)
- toplabel.BackgroundColor3 = Color3.new(1, 1, 1)
- toplabel.BackgroundTransparency = 1
- toplabel.Position = UDim2.new(0.5, 0, 0.5, 0)
- toplabel.Size = UDim2.new(0.800000012, 0, 0.5, 0)
- toplabel.Font = Enum.Font.Code
- toplabel.Text = ">w<"
- toplabel.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
- toplabel.TextScaled = true
- toplabel.TextSize = 14
- toplabel.TextWrapped = true
- uilayoutthing1.Name = "uilayoutthing1"
- uilayoutthing1.Parent = whatdoicallthisagain
- uilayoutthing1.BackgroundColor3 = Color3.new(0.0156863, 0.0156863, 0.0156863)
- uilayoutthing1.BackgroundTransparency = 0.5
- uilayoutthing1.BorderSizePixel = 0
- uilayoutthing1.Position = UDim2.new(0, 0, 1, 0)
- uilayoutthing1.Size = UDim2.new(1, 0, 1, 0)
- coolbutton.Name = "coolbutton"
- coolbutton.Parent = uilayoutthing1
- coolbutton.AnchorPoint = Vector2.new(0.5, 0.5)
- coolbutton.BackgroundColor3 = Color3.new(1, 1, 1)
- coolbutton.BackgroundTransparency = 1
- coolbutton.Position = UDim2.new(0.5, 0, 0.5, 0)
- coolbutton.Size = UDim2.new(0.800000012, 0, 0.5, 0)
- coolbutton.Font = Enum.Font.Code
- coolbutton.Text = "click to print uwu"
- coolbutton.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
- coolbutton.TextScaled = true
- coolbutton.TextSize = 14
- coolbutton.TextWrapped = true
- UIListLayout.Parent = Frame
- UIListLayout.FillDirection = Enum.FillDirection.Horizontal
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 5)
- -- Scripts:
- local Bar = whatdoicallthisagain:Clone()
- local Button = Bar.uilayoutthing1:Clone()
- local Label = Bar.toplabel:Clone()
- Bar:ClearAllChildren()
- ac:ClearAllChildren()
- Frame.Parent = ac
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.00999999978, 0, 0.0199999996, 0)
- Frame.Size = UDim2.new(0.980000019, 0, 0.0599999987, 0)
- local Lib = {}
- local PosFrame = Frame
- do
- function Lib:NewBar(Text)
- local Bar2 = Bar:Clone()
- local TopLabel = Label:Clone()
- TopLabel.Parent = Bar2
- Bar2.Size = UDim2.new(0.15, 0,1, 0)
- Bar2.toplabel.Text = Text
- return Bar2
- end
- function Lib:NewButton(Text, Func, Parent)
- local ExistingButtons = 0
- for _,gui in pairs(Parent:GetChildren()) do
- ExistingButtons = ExistingButtons + 1
- end
- local Button2 = Button:Clone()
- Button2.coolbutton.Text = Text
- Button2.Parent = Parent
- Button2.Position = UDim2.new(0, 0, 1 * ExistingButtons, 0)
- Button2.coolbutton.MouseButton1Down:connect(function()
- loadstring(Func)()
- end)
- end
- end
- return Lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement