Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DiscordWhitelister = "https://discord.com/api/webhooks/1236352855859003474/6zI62lYrwNK8uO3FMm9zGDk0GM5h59gm5iVMZfn6P1NFKDb3RZmUTJ3qGSAzvf7lJ7ke"--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