Hello! I was just wondering if thrre is a way to cancel the output of what you type in the chat.
For example if you type in "help", it will cancel it, players wouldnt be able to see the message but it will do something.. like play a sound of a tutorial. I already have a script.
voicehelp = script.Sound
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(message)
If message == "help"
voicehelp:Play()
My question is what should I add to the script to prevent the "help" message going into the chat.
I did code in a different game, there I could use "cancel event" so the message wont be executed but I could do different stuff after you type in the message.

1 comment
Edited. Using /e hides the chat.