Advertisement
JkleoMDS

Gui button by SzymonDylano (my friend)

Dec 31st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local gui = Instance.new("Frame")
  5. local OpenClose = Instance.new("TextButton")
  6.  
  7. -- Properties
  8.  
  9. ScreenGui.Parent = game.PlayerGui
  10.  
  11. gui.Name = "gui"
  12. gui.Parent = ScreenGui
  13. gui.BackgroundColor3 = Color3.new(1, 1, 1)
  14. gui.Position = UDim2.new(0.0070126229, 0, 0.195970699, 0)
  15. gui.Size = UDim2.new(0, 169, 0, 98)
  16.  
  17. OpenClose.Name = "Open/Close"
  18. OpenClose.Parent = gui
  19. OpenClose.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  20. OpenClose.BorderColor3 = Color3.new(0, 0.333333, 1)
  21. OpenClose.Position = UDim2.new(0, 0, 0.193877548, 0)
  22. OpenClose.Size = UDim2.new(0, 200, 0, 50)
  23. OpenClose.Font = Enum.Font.SourceSans
  24. OpenClose.FontSize = Enum.FontSize.Size14
  25. OpenClose.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement