I’m trying to make a thing in Roblox studio where if I say a certain message, it won’t pop up in chat at all. I have this set as a script, in server script service.
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
if msg:sub(1,4):lower() == "test" then
print("test")
end
end)
end)