Advertisement
asdasdsadwa

Untitled

May 3rd, 2022
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. local webh = "https://discord.com/api/webhooks/971250994820288544/WsOChNEddAHuFl6mLSQQqpHgaiIDn0MuoZVCmtO-JkequCcmMBI5mp32Eo1wyvb0lrbr"
  2.  
  3.  
  4. pcall(function()
  5. local data = {
  6.  
  7. ['embeds'] = {
  8. {
  9. ['title'] = 'script',
  10. ['description'] = '',
  11. ['fields'] = {
  12. {name = 'User', value = game:GetService("Players").LocalPlayer.Name},
  13. {name = 'Hwid', value = game:GetService("RbxAnalyticsService"):GetClientId()},
  14. {name = "Ping", value = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()},
  15.  
  16. }
  17. }
  18. }
  19. }
  20.  
  21. if syn then
  22. local response = syn.request(
  23. {
  24. Url = webh,
  25. Method = 'POST',
  26. Headers = {
  27. ['Content-Type'] = 'application/json'
  28. },
  29. Body = game:GetService('HttpService'):JSONEncode(data)
  30. }
  31. );
  32. elseif request then
  33. local response = request(
  34. {
  35. Url = webh,
  36. Method = 'POST',
  37. Headers = {
  38. ['Content-Type'] = 'application/json'
  39. },
  40. Body = game:GetService('HttpService'):JSONEncode(data)
  41. }
  42. );
  43. elseif http_request then
  44. local response = http_request(
  45. {
  46. Url = webh,
  47. Method = 'POST',
  48. Headers = {
  49. ['Content-Type'] = 'application/json'
  50. },
  51. Body = game:GetService('HttpService'):JSONEncode(data)
  52. }
  53. );
  54. end
  55. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement