If you are creating your own chat, you can make that, when a player joins, it check if it’s one of the admin, and if it’s yes, you show the Admin chat. But if you do it on the normal chat, maybe you’ll need to add a GUI to switch between chat and I don’t know how to do it
local Admins = require(script.YourModuleScript)
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
for number, AdminID in pairs(Admins) do
if AdminID == player.UserId then
print("Player is an Admin")
break
elseif number == #Admins then
print("Player isn't an admin")
end
end
end)
This script will only check if the player is an admin, not show him the special chat, you put the script in ServerScriptService and your module script as a child of this script.
If you want to make a chat yourself, maybe create Guis that appears only for the admins and check every messages to see if it’s a command and if the script recognize a command, run it, or if you want to be on the normal chat, check this topic : Chat Topic then you make the second channel only visible for admins.