
KeylessUniversal

-- ConsoleChat by joyful_pizzapartyl(changed name)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- valid commands (lowercase)
local commands = {
["/e consolectrl"] = true,
["/e consctrl"] = true,
["/e cc"] = true,
}
player.Chatted:Connect(function(msg)
local lower = string.lower(msg)
for cmd in pairs(commands) do
if lower:sub(1, #cmd) == cmd then
local content = msg:sub(#cmd + 2) -- text after command + space
if content ~= "" then
print("> CC by " .. player.Name .. ": " .. content)
else
print("> CC by " .. player.Name .. ": (empty message)")
end
break
end
end
end)



For anyone wondering this script supports lowercase
They can just type "/console" and your chat will be there
@Joyful_PizzaPartyl can other ppl see it
@Osoks ofc not.
@sk3lp3y Then what’s the point of it
Others can see it bro They just have to type /console
Uh