jailbreakscrip

Player join script sends discord message

Dec 1st, 2021 (edited)
693
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local httpservice = game:GetService(“HttpsService”)
  2. local url =
  3.  
  4. game.Players.PlayerAdded:Connect(function(player)
  5.   local data = (
  6.        [‘embeds’] = {(
  7.                [‘title’] = player.Name,
  8.                [‘description’] = player.Name..”Has joined the game: ”—-Put the game name after the colone so no confusion—-
  9.  })
  10.  }
  11.  local data_completed = httpservice:JSONEncode(data)
  12.  httpservice:PostAcync(url, data_completed)
  13. (end)
RAW Paste Data