Gostrondude

Untitled

Jul 31st, 2018
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.20 KB | None | 0 0
  1. -- Whitelist Example Made By Gostrondude
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local nou = Instance.new("Frame")
  5. local label = Instance.new("TextLabel")
  6. local line = Instance.new("TextLabel")
  7. local check = Instance.new("TextLabel")
  8. local hwid = Instance.new("TextBox")
  9. local user = Instance.new("TextLabel")
  10. local i = Instance.new("TextLabel")
  11. local hw = Instance.new("TextLabel")
  12. local username = Instance.new("TextLabel")
  13. local id = Instance.new("TextLabel")
  14. local login = Instance.new("TextButton")
  15.  
  16. -- Properties
  17.  
  18. ScreenGui.Parent = game.StarterGui
  19.  
  20. nou.Name = "nou"
  21. nou.Parent = ScreenGui
  22. nou.BackgroundColor3 = Color3.new(1, 1, 1)
  23. nou.BorderColor3 = Color3.new(1, 1, 1)
  24. nou.Position = UDim2.new(0.36896047, 0, 0.25988701, 0)
  25. nou.Size = UDim2.new(0, 380, 0, 273)
  26. nou.Active = true
  27. nou.Draggable = true
  28.  
  29. label.Name = "label"
  30. label.Parent = nou
  31. label.BackgroundColor3 = Color3.new(1, 1, 1)
  32. label.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  33. label.Size = UDim2.new(0, 380, 0, 38)
  34. label.Font = Enum.Font.SourceSans
  35. label.Text = "WHITELIST"
  36. label.TextColor3 = Color3.new(0, 0, 0)
  37. label.TextSize = 36
  38.  
  39. line.Name = "line"
  40. line.Parent = nou
  41. line.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  42. line.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  43. line.Position = UDim2.new(0, 0, 0.142307684, 0)
  44. line.Size = UDim2.new(0, 380, 0, 1)
  45. line.Font = Enum.Font.SourceSans
  46. line.Text = ""
  47. line.TextColor3 = Color3.new(0, 0, 0)
  48. line.TextSize = 36
  49.  
  50. check.Name = "check"
  51. check.Parent = nou
  52. check.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  53. check.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  54. check.Position = UDim2.new(0.228947371, 0, 0.172161177, 0)
  55. check.Size = UDim2.new(0, 206, 0, 29)
  56. check.Visible = false
  57. check.Font = Enum.Font.SourceSans
  58. check.Text = ""
  59. check.TextColor3 = Color3.new(0, 0, 0)
  60. check.TextScaled = true
  61. check.TextSize = 26
  62. check.TextWrapped = true
  63.  
  64. hwid.Name = "hwid"
  65. hwid.Parent = nou
  66. hwid.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  67. hwid.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  68. hwid.Position = UDim2.new(0.407894731, 0, 0.676373661, 0)
  69. hwid.Size = UDim2.new(0, 206, 0, 24)
  70. hwid.Font = Enum.Font.SourceSans
  71. hwid.TextColor3 = Color3.new(0, 0, 0)
  72. hwid.TextSize = 20
  73.  
  74. user.Name = "user"
  75. user.Parent = nou
  76. user.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  77. user.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  78. user.Position = UDim2.new(0.0482237786, 0, 0.327395946, 0)
  79. user.Size = UDim2.new(0, 127, 0, 24)
  80. user.Font = Enum.Font.SourceSans
  81. user.Text = "Username:"
  82. user.TextColor3 = Color3.new(0, 0, 0)
  83. user.TextSize = 20
  84.  
  85. i.Name = "i"
  86. i.Parent = nou
  87. i.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  88. i.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  89. i.Position = UDim2.new(0.0482237637, 0, 0.50405103, 0)
  90. i.Size = UDim2.new(0, 127, 0, 24)
  91. i.Font = Enum.Font.SourceSans
  92. i.Text = "User ID:"
  93. i.TextColor3 = Color3.new(0, 0, 0)
  94. i.TextSize = 20
  95.  
  96. hw.Name = "hw"
  97. hw.Parent = nou
  98. hw.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  99. hw.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  100. hw.Position = UDim2.new(0.0482237637, 0, 0.676648855, 0)
  101. hw.Size = UDim2.new(0, 127, 0, 24)
  102. hw.Font = Enum.Font.SourceSans
  103. hw.Text = "HWID:"
  104. hw.TextColor3 = Color3.new(0, 0, 0)
  105. hw.TextSize = 20
  106.  
  107. username.Name = "username"
  108. username.Parent = nou
  109. username.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  110. username.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  111. username.Position = UDim2.new(0.408607543, 0, 0.327395976, 0)
  112. username.Size = UDim2.new(0, 206, 0, 24)
  113. username.Font = Enum.Font.SourceSans
  114. username.TextColor3 = Color3.new(0, 0, 0)
  115. username.TextSize = 20
  116. username.Text = game.Players.LocalPlayer.Name
  117.  
  118. id.Name = "id"
  119. id.Parent = nou
  120. id.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  121. id.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  122. id.Position = UDim2.new(0.408607543, 0, 0.504051149, 0)
  123. id.Size = UDim2.new(0, 206, 0, 24)
  124. id.Font = Enum.Font.SourceSans
  125. id.TextColor3 = Color3.new(0, 0, 0)
  126. id.TextSize = 20
  127. id.Text = game.Players.LocalPlayer.UserId
  128.  
  129. login.Name = "login"
  130. login.Parent = nou
  131. login.BackgroundColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  132. login.BorderColor3 = Color3.new(0.737255, 0.737255, 0.737255)
  133. login.Position = UDim2.new(0.286842108, 0, 0.831501842, 0)
  134. login.Size = UDim2.new(0, 161, 0, 31)
  135. login.Font = Enum.Font.SourceSans
  136. login.Text = "Check For Whitelist"
  137. login.TextColor3 = Color3.new(0, 0, 0)
  138. login.TextSize = 20
  139.  
  140. login.MouseButton1Down:Connect(function()
  141.     local username = "gostrondude" --Change to username of whitelisted people
  142.     local id = "91620222" -- Add/Change Id of player
  143.     local hwid = 'test' or 'yeah' --Change to the hwid's of whitelisted Players
  144.    
  145.     wait(1)
  146.     check.Visible = true
  147.     check.Text = "Whitelisting."
  148.     wait(1)
  149.     check.Text = "Whitelisting.."
  150.     wait(1)
  151.     check.Text = "Whitelisting..."
  152.     wait(1)
  153.     if username == username.Text and id == id.Text and hwid == hwid.Text then
  154.         check.Text = "Whitelisted!"
  155.         wait(1)
  156.         check.Visible = false
  157.     else
  158.         check.Text = "You Seem to not be Whielisted!"
  159.         wait(1)
  160.         check.Visible = false
  161.     end
  162. end)
Advertisement
Add Comment
Please, Sign In to add comment