I need a way of converting the chat into a gui for a type of radio I'm developing along with a friend. A talk button is also needed. I can't provide any examples as I have no idea. It also needs to appear when you sit on a vehicleseat and disappear when you exit
It's lucky for you that Roblox have already made a function for that ready to serve.
Here is how to use it for a certain player.
local plr = [Insert player here] plr.Chatted:connect(function(message) print(plr.Name..' just said: '..message) end)
If you want to use it for a crowd. Just add PlayerAdded function (which also already been made).
game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(message) print(plr.Name..' just said: '..message) end) end)
Read this wiki for more information: https://wiki.roblox.com/index.php?title=API:Class/Player/Chatted