Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local WebhookId = "312649102565310465"
- local WebhookToken = "LmQ7B7qIjiSWvnotYeWrqNi9eyCu7fvUcb7hdz3vdgzodXMi3kzqyol5ZQ5jgWfj0-eq"
- server = nil
- service = nil
- local Http = game:GetService("HttpService")
- local webHook = require(script.WebhookAPI)
- local Discord_Webhook = webHook.new(WebhookId,WebhookToken)
- return function() -- This simply sends anything added to exploit logs to your discord channel
- local SendLog = service.Events.LogAdded:connect(function(tab,log)
- if tab == server.Logs.Exploit then -- Types of Logs you can access: https://gyazo.com/116a18d78822358153431608d4282997
- Discord_Webhook:post{
- content = "Exploit Detected: "..tostring(log.Text).." "..tostring(log.Desc).." "..tostring(log.Time)
- }
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement