Advertisement
Roblox_Xploits

Set2

May 12th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. local WebhookId = "312649102565310465"
  2. local WebhookToken = "LmQ7B7qIjiSWvnotYeWrqNi9eyCu7fvUcb7hdz3vdgzodXMi3kzqyol5ZQ5jgWfj0-eq"
  3.  
  4. server = nil
  5. service = nil
  6.  
  7. local Http = game:GetService("HttpService")
  8.  
  9. local webHook = require(script.WebhookAPI)
  10.  
  11. local Discord_Webhook = webHook.new(WebhookId,WebhookToken)
  12.  
  13. return function() -- This simply sends anything added to exploit logs to your discord channel
  14. local SendLog = service.Events.LogAdded:connect(function(tab,log)
  15. if tab == server.Logs.Exploit then -- Types of Logs you can access: https://gyazo.com/116a18d78822358153431608d4282997
  16. Discord_Webhook:post{
  17. content = "Exploit Detected: "..tostring(log.Text).." "..tostring(log.Desc).." "..tostring(log.Time)
  18. }
  19. end
  20. end)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement