Advertisement
shad0wzombie

Untitled

Aug 11th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. GUI = Instance.new("ScreenGui")
  2. GUI.Parent = game.Players.SHAD0WZOMBIE.PlayerGui
  3.  
  4. function button(par,name,pos,size,text,tcol,bcol,fsize,bgcolor)
  5. but = Instance.new("TextButton")
  6. but.Parent = par
  7. but.Name = name
  8. but.Text = text
  9. but.Size = size
  10. but.FontSize = fsize
  11. but.Position = pos
  12. but.TextColor = BrickColor.new(col)
  13. but.BackgroundColor = BrickColor.new(bgcolor)
  14. but.BorderColor = BrickColor.new(bcol)
  15. end
  16. function frame(par,name,pos,size,bcol,bgcol)
  17. but = Instance.new("Frame")
  18. but.Parent = MainFrame
  19. but.Name = name
  20. but.Size = size
  21. but.Position = pos
  22. but.BackgroundColor = BrickColor.new(bgcolor)
  23. but.BorderColor = BrickColor.new(bcol)
  24. end
  25. function label(par,name,pos,size,text,tcol,bcol,fsize,bgcolor)
  26. but = Instance.new("TextButton")
  27. but.Parent = par
  28. but.Name = name
  29. but.Text = text
  30. but.Size = size
  31. but.FontSize = fsize
  32. but.Position = pos
  33. but.TextColor = BrickColor.new(col)
  34. but.BackgroundColor = BrickColor.new(bgcolor)
  35. but.BorderColor = BrickColor.new(bcol)
  36. end
  37.  
  38. 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