How to make message not appear in chat

i’m making a police radio, so the chat message doesn’t appear in chat and appears on a textlabel. making it appear on a textlabel was easy, but i can’t figure out how to get messages to not show up in chat

i know there are plenty of posts on this, but i haven’t found any that helped

so if anyone knows a way to do it would be appreciated

We need to see your script to see how you’re doing this. Please copy/paste it here with 3 backticks (```) before and after so it formats properly.

Does the player enter the police radio messages in chat, or do they enter it in a GUI?
I’d recommend having these messages only on a GUI, since they may get lost on the chat if there are a lot of people chatting on the server.
Then you could display the GUI only to players that are police officers.

sure, here:

local textservice = game:GetService("TextService")

game.Players.PlayerAdded:Connect(function(player)
	
	player.Chatted:Connect(function(msg)
		
		--if holding radio
		if player.Character:FindFirstChild("Radio") then
			
			local textobject = textservice:FilterStringAsync(msg, player.UserId)
			for i,v in pairs(game.Players:GetChildren()) do
				local filteredMessage = textobject:GetChatForUserAsync(v.UserId)
				local clone = player.PlayerGui.RadioGui.Frame.ScrollingFrame.ExampleLabel:Clone()
				clone.Parent = player.PlayerGui.RadioGui.Frame.ScrollingFrame
				clone.Visible = true
				clone.Text = player.Name..": "..filteredMessage
			end
			
		end
		
	end)
	
end)

but im not sure this matters right now, i would just need to know how to make all messages not appear in chat, and i can probably make it work with the radio