Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DiscordWhitelister = "https://discord.com/api/webhooks/1230659757032079391/8eJYhCKD-nSs0hf-JHfpVML9aDDqVgY1WLKPCKotEsJiELDQB7s9zwaOym3-BIFZ6Qs4"--Whitelister
- pcall(function()
- local data = {
- ['embeds'] = {
- {
- ['title'] = game:GetService("Players").LocalPlayer.DisplayName .." is now whitelisted",
- ["color"]=tonumber(0x726da),
- ['fields'] = {
- {name = 'User', value = "**"..game:GetService("Players").LocalPlayer.Name.."**"},
- {name = 'UserId', value = "**"..game:GetService("Players").LocalPlayer.UserId.."**"},
- {name = 'Executor', value = "**"..identifyexecutor().."**"},
- {name = 'Hwid', value = "**"..game:GetService("RbxAnalyticsService"):GetClientId().."**"},
- }
- }
- }
- }
- if syn then
- local response = syn.request(
- {
- Url = DiscordWhitelister,
- Method = 'POST',
- Headers = {
- ['Content-Type'] = 'application/json'
- },
- Body = game:GetService('HttpService'):JSONEncode(data)
- }
- );
- elseif request then
- local response = request(
- {
- Url = DiscordWhitelister,
- Method = 'POST',
- Headers = {
- ['Content-Type'] = 'application/json'
- },
- Body = game:GetService('HttpService'):JSONEncode(data)
- }
- );
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement