How can I make this script say something like:
PvPNinjaDragon has joined the game!
I have a script that I believe that does this except it prints it in the Output. How can I make it so that it says it in the game chat?
local Players = game:GetService("Players")
function onPlayerAdded(player)
print(player.Name .. " has entered the game")
end
Players.PlayerAdded:connect(onPlayerAdded)
for _,player in pairs(Players::GetPlayers()) do
onPlayerAdded(player)
end
Please help me, thank you.

2 comments
It's not possible to do this with Roblox's normal chat system. You can either use a Gui or custom chat system.
Yes, it is possible. One second.