If you noticed, typing /console in the chat opens up the developer console and the message "/console" doesn't shows up in the chat. How do I make a script to make my command not showing up in the chat? Any help would be appreciated. :smiley:
COMMUNITY QUESTION
How to make a message not appear in chat?
2 answers
Put this inside a LocalScript:
local runService = game:GetService("RunService")
local starterGui = game:GetService("StarterGui")
runService.Heartbeat:Connect(function()
pcall(function()
starterGui:SetCore("DevConsoleVisible", false)
end)
end
This LocalScript will always close the developer console even if you press f9
2 comments
0
i think he means cancel the player from chatting when it has a / before the message
0
i said i want if someone writes a command like /respawn the message doesn't appear in the chat. Please read properly try not to rush
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
add [Solved] or [Answered] at the end or front of your question since it is solved.