Advertisement
Toredz

Silver hub login test

Jun 28th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.77 KB | None | 0 0
  1. -- Objects
  2.  
  3. local SilverRemasterd = Instance.new("ScreenGui")
  4. local LoginFrame = Instance.new("Frame")
  5. local bar1 = Instance.new("Frame")
  6. local username = Instance.new("TextBox")
  7. local password = Instance.new("TextBox")
  8. local login = Instance.new("TextButton")
  9. local welcomeback = Instance.new("TextLabel")
  10. local welcomeback_2 = Instance.new("TextLabel")
  11. local exit = Instance.new("TextButton")
  12. local minimize = Instance.new("TextButton")
  13.  
  14. -- Properties
  15.  
  16. SilverRemasterd.Name = "SilverRemasterd "
  17. SilverRemasterd.Parent = game.CoreGui
  18.  
  19. LoginFrame.Name = "LoginFrame"
  20. LoginFrame.Parent = SilverRemasterd
  21. LoginFrame.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  22. LoginFrame.BorderColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  23. LoginFrame.Position = UDim2.new(0.237226278, 0, 0.222961724, 0)
  24. LoginFrame.Size = UDim2.new(0, 720, 0, 404)
  25.  
  26. bar1.Name = "bar1"
  27. bar1.Parent = LoginFrame
  28. bar1.BackgroundColor3 = Color3.new(0, 0, 0)
  29. bar1.BorderColor3 = Color3.new(0, 0, 0)
  30. bar1.Size = UDim2.new(0, 720, 0, 25)
  31.  
  32. username.Name = "username"
  33. username.Parent = LoginFrame
  34. username.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  35. username.BorderColor3 = Color3.new(1, 1, 1)
  36. username.Position = UDim2.new(0.24166666, 0, 0.289603949, 0)
  37. username.Size = UDim2.new(0, 372, 0, 42)
  38. username.Font = Enum.Font.SourceSansLight
  39. username.Text = "Username"
  40. username.TextColor3 = Color3.new(1, 1, 1)
  41. username.TextScaled = true
  42. username.TextSize = 14
  43. username.TextWrapped = true
  44.  
  45. password.Name = "password"
  46. password.Parent = LoginFrame
  47. password.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  48. password.BorderColor3 = Color3.new(1, 1, 1)
  49. password.Position = UDim2.new(0.24166666, 0, 0.532178223, 0)
  50. password.Size = UDim2.new(0, 372, 0, 42)
  51. password.Font = Enum.Font.SourceSansLight
  52. password.Text = "Password"
  53. password.TextColor3 = Color3.new(1, 1, 1)
  54. password.TextScaled = true
  55. password.TextSize = 14
  56. password.TextWrapped = true
  57.  
  58. login.Name = "login"
  59. login.Parent = LoginFrame
  60. login.BackgroundColor3 = Color3.new(0, 0, 0)
  61. login.BorderColor3 = Color3.new(0, 0, 0)
  62. login.Position = UDim2.new(0.361111134, 0, 0.806930721, 0)
  63. login.Size = UDim2.new(0, 200, 0, 54)
  64. login.Font = Enum.Font.SourceSansLight
  65. login.Text = "Login"
  66. login.TextColor3 = Color3.new(1, 1, 1)
  67. login.TextSize = 45
  68. login.TextWrapped = true
  69.  
  70. welcomeback.Name = "welcomeback"
  71. welcomeback.Parent = LoginFrame
  72. welcomeback.BackgroundColor3 = Color3.new(1, 1, 1)
  73. welcomeback.BackgroundTransparency = 3
  74. welcomeback.Position = UDim2.new(0.188888893, 0, 0.0866336673, 0)
  75. welcomeback.Size = UDim2.new(0, 447, 0, 50)
  76. welcomeback.Font = Enum.Font.SourceSansLight
  77. welcomeback.Text = "Welcome back to Silver hub!"
  78. welcomeback.TextColor3 = Color3.new(1, 1, 1)
  79. welcomeback.TextSize = 45
  80. welcomeback.TextWrapped = true
  81.  
  82. welcomeback_2.Name = "welcomeback"
  83. welcomeback_2.Parent = LoginFrame
  84. welcomeback_2.BackgroundColor3 = Color3.new(1, 1, 1)
  85. welcomeback_2.BackgroundTransparency = 3
  86. welcomeback_2.Position = UDim2.new(0.358333349, 0, -0.0123762339, 0)
  87. welcomeback_2.Size = UDim2.new(0, 202, 0, 34)
  88. welcomeback_2.Font = Enum.Font.SourceSansLight
  89. welcomeback_2.Text = "Silver hub V1 Beta"
  90. welcomeback_2.TextColor3 = Color3.new(1, 1, 1)
  91. welcomeback_2.TextSize = 30
  92. welcomeback_2.TextWrapped = true
  93.  
  94. exit.Name = "exit"
  95. exit.Parent = LoginFrame
  96. exit.BackgroundColor3 = Color3.new(1, 1, 1)
  97. exit.BackgroundTransparency = 3
  98. exit.Position = UDim2.new(0.958333313, 0, 0.00247524632, 0)
  99. exit.Size = UDim2.new(0, 30, 0, 21)
  100. exit.Font = Enum.Font.SourceSansLight
  101. exit.Text = "X"
  102. exit.TextColor3 = Color3.new(1, 1, 1)
  103. exit.TextSize = 25
  104. exit.TextWrapped = true
  105.  
  106. minimize.Name = "minimize"
  107. minimize.Parent = LoginFrame
  108. minimize.BackgroundColor3 = Color3.new(1, 1, 1)
  109. minimize.BackgroundTransparency = 3
  110. minimize.Position = UDim2.new(0.916666687, 0, 0, 0)
  111. minimize.Size = UDim2.new(0, 30, 0, 15)
  112. minimize.Font = Enum.Font.SourceSansLight
  113. minimize.Text = "_"
  114. minimize.TextColor3 = Color3.new(1, 1, 1)
  115. minimize.TextSize = 25
  116. minimize.TextWrapped = true
  117.  
  118.  
  119.  
  120. --//Functions
  121.  
  122. login.MouseButton1Click:connect(function()
  123.     if username.Text == "blacklist" and
  124.         password.Text == "test" or
  125.         username.Text == "Blacklist" and
  126.         password.Text == "Test" then
  127.         exit:Destroy()
  128.         minimize:Destroy()
  129.         login:Destroy()
  130.         welcomeback.Text = "Blacklisted."
  131.         welcomeback.TextColor3 = Color3.new(255, 0, 0)
  132.         welcomeback_2.Text = "Blacklisted."
  133.         welcomeback_2.TextColor3 = Color3.new(255, 0, 0)
  134.         LoginFrame.Draggable = false
  135.     end
  136. end)
  137.  
  138. exit.MouseButton1Click:connect(function()
  139.     LoginFrame:Destroy()
  140. end)
  141.  
  142.  
  143. --//Minimize aint done
  144.  
  145. LoginFrame.Active = true
  146. LoginFrame.Selectable = true
  147. LoginFrame.Draggable = true
  148.  
  149.  
  150.  
  151. if game.CoreGui:FindFirstChild("SilverRemasterd") then
  152. game.CoreGui.SilverRemasterd:Destroy()
  153. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement