Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GUI = Instance.new("ScreenGui")
- GUI.Parent = game.Players.SHAD0WZOMBIE.PlayerGui
- function button(par,name,pos,size,text,tcol,bcol,fsize,bgcolor)
- but = Instance.new("TextButton")
- but.Parent = par
- but.Name = name
- but.Text = text
- but.Size = size
- but.FontSize = fsize
- but.Position = pos
- but.TextColor = BrickColor.new(col)
- but.BackgroundColor = BrickColor.new(bgcolor)
- but.BorderColor = BrickColor.new(bcol)
- end
- function frame(par,name,pos,size,bcol,bgcol)
- but = Instance.new("Frame")
- but.Parent = MainFrame
- but.Name = name
- but.Size = size
- but.Position = pos
- but.BackgroundColor = BrickColor.new(bgcolor)
- but.BorderColor = BrickColor.new(bcol)
- end
- function label(par,name,pos,size,text,tcol,bcol,fsize,bgcolor)
- but = Instance.new("TextButton")
- but.Parent = par
- but.Name = name
- but.Text = text
- but.Size = size
- but.FontSize = fsize
- but.Position = pos
- but.TextColor = BrickColor.new(col)
- but.BackgroundColor = BrickColor.new(bgcolor)
- but.BorderColor = BrickColor.new(bcol)
- end
- frame(GUI,"MainFrame",UDim2.new(0, 2, 0, 400),UDim2.new(0, 100, 0, 300),"Really red","Really black")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement