Advertisement
nguyenminhnghia

whitelist_key_close_open

Feb 5th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local login = Instance.new("Frame")
  6. local bar = Instance.new("Frame")
  7. local bar1 = Instance.new("Frame")
  8. local Key = Instance.new("TextBox")
  9. local TextLabel = Instance.new("TextLabel")
  10. local credit = Instance.new("TextLabel")
  11. local submit = Instance.new("TextButton")
  12. local opengui = Instance.new("Frame")
  13. local open = Instance.new("TextButton")
  14. local MainFrame = Instance.new("Frame")
  15. local Close = Instance.new("TextButton")
  16. --Properties:
  17. ScreenGui.Parent = game.CoreGui
  18.  
  19. login.Name = "login"
  20. login.Parent = ScreenGui
  21. login.BackgroundColor3 = Color3.new(0, 0, 0)
  22. login.BorderColor3 = Color3.new(1, 0.0666667, 0)
  23. login.Position = UDim2.new(0.363136172, 0, 0.141666666, 0)
  24. login.Size = UDim2.new(0, 234, 0, 262)
  25. login.Active = true
  26. login.Draggable = true
  27.  
  28. bar.Name = "bar"
  29. bar.Parent = login
  30. bar.BackgroundColor3 = Color3.new(1, 0, 0)
  31. bar.Size = UDim2.new(0, 234, 0, 16)
  32.  
  33. bar1.Name = "bar1"
  34. bar1.Parent = login
  35. bar1.BackgroundColor3 = Color3.new(0.615686, 0, 0)
  36. bar1.Position = UDim2.new(0, 0, 0.0610687025, 0)
  37. bar1.Size = UDim2.new(0, 234, 0, 6)
  38.  
  39. Key.Name = "Key"
  40. Key.Parent = login
  41. Key.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  42. Key.BorderColor3 = Color3.new(1, 0, 0)
  43. Key.BorderSizePixel = 4
  44. Key.Position = UDim2.new(0.0726495758, 0, 0.328244269, 0)
  45. Key.Size = UDim2.new(0, 200, 0, 50)
  46. Key.Font = Enum.Font.SourceSans
  47. Key.PlaceholderColor3 = Color3.new(1, 0, 0)
  48. Key.PlaceholderText = "ENTER KEY HERE"
  49. Key.Text = ""
  50. Key.TextColor3 = Color3.new(0, 0, 0)
  51. Key.TextSize = 14
  52.  
  53. TextLabel.Parent = login
  54. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  55. TextLabel.BackgroundTransparency = 4
  56. TextLabel.Position = UDim2.new(0.0726495758, 0, 0.122137368, 0)
  57. TextLabel.Size = UDim2.new(0, 200, 0, 33)
  58. TextLabel.Font = Enum.Font.Fantasy
  59. TextLabel.Text = "Login"
  60. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  61. TextLabel.TextSize = 20
  62.  
  63. credit.Name = "credit"
  64. credit.Parent = login
  65. credit.BackgroundColor3 = Color3.new(0, 0, 0)
  66. credit.BackgroundTransparency = 4
  67. credit.Position = UDim2.new(0, 0, 0.816793859, 0)
  68. credit.Size = UDim2.new(0, 141, 0, 41)
  69. credit.Font = Enum.Font.Fantasy
  70. credit.Text = "Credit by Rz"
  71. credit.TextColor3 = Color3.new(1, 0, 0)
  72. credit.TextSize = 14
  73. credit.TextXAlignment = Enum.TextXAlignment.Left
  74. credit.TextYAlignment = Enum.TextYAlignment.Top
  75.  
  76. submit.Name = "submit"
  77. submit.Parent = login
  78. submit.BackgroundColor3 = Color3.new(0, 0, 0)
  79. submit.BackgroundTransparency = 4
  80. submit.Position = UDim2.new(0.0726495758, 0, 0.599236667, 0)
  81. submit.Size = UDim2.new(0, 200, 0, 50)
  82. submit.Font = Enum.Font.GothamBlack
  83. submit.Text = "Submit"
  84. submit.TextColor3 = Color3.new(1, 0, 0)
  85. submit.TextSize = 20
  86. submit.MouseButton1Down:connect(function()
  87. if Key.Text == "cc" then
  88. wait(3)
  89.  
  90. game:GetService("StarterGui"):SetCore("SendNotification", {
  91. Title = "Nghia";
  92. Text = "Key accepted.!";
  93. })
  94. opengui.Visible = true
  95. login.Visible = false
  96. end
  97. end)
  98.  
  99. opengui.Name = "opengui"
  100. opengui.Parent = ScreenGui
  101. opengui.BackgroundColor3 = Color3.new(0, 0, 0)
  102. opengui.Position = UDim2.new(0.441540599, 0, 0.716666639, 0)
  103. opengui.Size = UDim2.new(0, 100, 0, 42)
  104. opengui.Visible = false
  105.  
  106. open.Name = "open"
  107. open.Parent = opengui
  108. open.BackgroundColor3 = Color3.new(0, 0, 0)
  109. open.Size = UDim2.new(0, 100, 0, 42)
  110. open.Style = Enum.ButtonStyle.RobloxButton
  111. open.Font = Enum.Font.SourceSans
  112. open.Text = "Open"
  113. open.TextColor3 = Color3.new(1, 0, 0)
  114. open.TextSize = 20
  115. open.MouseButton1Down:connect(function()
  116. MainFrame.Visible = true
  117. opengui.Visible = false
  118. end)
  119.  
  120. MainFrame.Name = "MainFrame"
  121. MainFrame.Parent = ScreenGui
  122. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  123. MainFrame.Position = UDim2.new(0.741403043, 0, 0.216666669, 0)
  124. MainFrame.Size = UDim2.new(0, 127, 0, 100)
  125. MainFrame.Visible = false
  126. MainFrame.Active = true
  127. MainFrame.Draggable = true
  128.  
  129. Close.Name = "Close"
  130. Close.Parent = MainFrame
  131. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  132. Close.BackgroundTransparency = 4
  133. Close.Position = UDim2.new(0.645669281, 0, 0, 0)
  134. Close.Size = UDim2.new(0, 45, 0, 29)
  135. Close.Font = Enum.Font.SourceSans
  136. Close.Text = "X"
  137. Close.TextColor3 = Color3.new(1, 0, 0)
  138. Close.TextSize = 14
  139. Close.MouseButton1Down:connect(function()
  140. MainFrame.Visible = false
  141. opengui.Visible = true
  142. end)
  143. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement