Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextButton = Instance.new("TextButton")
  6.  
  7. -- Properties
  8.  
  9. ScreenGui.Parent = game.StarterGui
  10.  
  11. Frame.Parent = ScreenGui
  12. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  13. Frame.Position = UDim2.new(0, 100, 0, 100)
  14. Frame.Size = UDim2.new(0, 100, 0, 100)
  15.  
  16. TextButton.Parent = Frame
  17. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  18. TextButton.Size = UDim2.new(0, 50, 0, 50)
  19. TextButton.Font = Enum.Font.SourceSans
  20. TextButton.FontSize = Enum.FontSize.Size14
  21. TextButton.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement