Guest User

nibbatest

a guest
Nov 29th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local LoginGui = Instance.new("Frame")
  3. local user = Instance.new("TextBox")
  4. local pass = Instance.new("TextBox")
  5. local submit = Instance.new("TextButton")
  6. local maingui = Instance.new("Frame")
  7. local bubble = Instance.new("TextButton")
  8. local TextButton = Instance.new("TextButton")
  9. local opengui = Instance.new("Frame")
  10. local open = Instance.new("TextButton")
  11. --Properties:
  12. ScreenGui.Parent = game.Workspace
  13.  
  14. LoginGui.Name = "LoginGui"
  15. LoginGui.Parent = ScreenGui
  16. LoginGui.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  17. LoginGui.BackgroundTransparency = 0.80000001192093
  18. LoginGui.Position = UDim2.new(0.296620041, 0, 0.292383283, 0)
  19. LoginGui.Size = UDim2.new(0, 391, 0, 314)
  20. LoginGui.Active = true
  21. LoginGui.Draggable = true
  22.  
  23. user.Name = "user"
  24. user.Parent = LoginGui
  25. user.BackgroundColor3 = Color3.new(1, 1, 1)
  26. user.Position = UDim2.new(0.221606657, 0, 0.24099724, 0)
  27. user.Size = UDim2.new(0, 200, 0, 50)
  28. user.Font = Enum.Font.Garamond
  29. user.Text = "Username"
  30. user.TextColor3 = Color3.new(0, 0, 0)
  31. user.TextScaled = true
  32. user.TextSize = 14
  33. user.TextWrapped = true
  34.  
  35. pass.Name = "pass"
  36. pass.Parent = LoginGui
  37. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  38. pass.Position = UDim2.new(0.221606657, 0, 0.531855941, 0)
  39. pass.Size = UDim2.new(0, 200, 0, 50)
  40. pass.Font = Enum.Font.Garamond
  41. pass.Text = "Password"
  42. pass.TextColor3 = Color3.new(0, 0, 0)
  43. pass.TextScaled = true
  44. pass.TextSize = 14
  45. pass.TextWrapped = true
  46.  
  47. submit.Name = "submit"
  48. submit.Parent = LoginGui
  49. submit.BackgroundColor3 = Color3.new(1, 1, 1)
  50. submit.Position = UDim2.new(0.221606642, 0, 0.731301963, 0)
  51. submit.Size = UDim2.new(0, 200, 0, 50)
  52. submit.Font = Enum.Font.Highway
  53. submit.Text = "Submit"
  54. submit.TextColor3 = Color3.new(0, 0, 0)
  55. submit.TextSize = 14
  56. if user.Text == "nibbatest" and pass.Text == "nibbatest" then
  57. LoginGui.Visible = false
  58. opengui.Visible = true
  59. end
  60. end)
  61.  
  62. maingui.Name = "maingui"
  63. maingui.Parent = ScreenGui
  64. maingui.BackgroundColor3 = Color3.new(1, 1, 1)
  65. maingui.Position = UDim2.new(0.305944026, 0, 0.186643332, 0)
  66. maingui.Size = UDim2.new(0, 362, 0, 349)
  67. maingui.Visible = false
  68. maingui.Active = true
  69. maingui.draggable = true
  70.  
  71. bubble.Name = "bubble"
  72. bubble.Parent = maingui
  73. bubble.BackgroundColor3 = Color3.new(1, 1, 1)
  74. bubble.BorderSizePixel = 0
  75. bubble.Position = UDim2.new(0.0745856464, 0, 0.100286536, 0)
  76. bubble.Size = UDim2.new(0, 124, 0, 50)
  77. bubble.Font = Enum.Font.Code
  78. bubble.Text = "Bubble gum"
  79. bubble.TextColor3 = Color3.new(0, 0, 0)
  80. bubble.TextScaled = true
  81. bubble.TextSize = 14
  82. bubble.TextWrapped = true
  83.  
  84. close.Parent = maingui
  85. close.BackgroundColor3 = Color3.new(1, 1, 1)
  86. close.BorderSizePixel = 0
  87. close.Position = UDim2.new(0.903315008, 0, 0, 0)
  88. close.Size = UDim2.new(0, 35, 0, 42)
  89. close.Font = Enum.Font.Cartoon
  90. close.Text = "X"
  91. close.TextColor3 = Color3.new(0.945098, 0.117647, 0.0431373)
  92. close.TextScaled = true
  93. close.TextSize = 14
  94. close.TextWrapped = true
  95. close.MouseButton1Down:connect(function()
  96. maingui.Visible = false
  97. opengui Visible = true
  98. end)
  99.  
  100. opengui.Name = "opengui"
  101. opengui.Parent = ScreenGui
  102. opengui.BackgroundColor3 = Color3.new(1, 0.333333, 1)
  103. opengui.Position = UDim2.new(0, 0, 0.481572479, 0)
  104. opengui.Size = UDim2.new(0, 100, 0, 33)
  105. opengui.Visible = false
  106.  
  107. open.Name = "open"
  108. open.Parent = opengui
  109. open.BackgroundColor3 = Color3.new(1, 1, 1)
  110. open.Size = UDim2.new(0, 161, 0, 53)
  111. open.Font = Enum.Font.Cartoon
  112. open.Text = "Open/close"
  113. open.TextColor3 = Color3.new(0, 0, 0)
  114. open.TextScaled = true
  115. open.TextSize = 14
  116. open.TextWrapped = true
  117. open.MouseButton1Down:connect(function()
  118. maingui.Visible = true
  119. opengui.Visible = false
  120. end)
Add Comment
Please, Sign In to add comment