Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local httpservice = game:GetService(“HttpsService”)
- local url =
- game.Players.PlayerAdded:Connect(function(player)
- local data = (
- [‘embeds’] = {(
- [‘title’] = player.Name,
- [‘description’] = player.Name..”Has joined the game: ”—-Put the game name after the colone so no confusion—-
- })
- }
- local data_completed = httpservice:JSONEncode(data)
- httpservice:PostAcync(url, data_completed)
- (end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement