Here is the error
Workspace.Script:3: bad argument #1 to 'pairs' (table expected, got nil)
and script below
admins = {"amegaman"}
for i,v in pairs(isAdmin) do
for x,c in pairs(admins) do
if c and v == true then
return true
elseif c.Chatted and true then
c.Chatted = true return
end
end
end
function message()
if msg:sub(1,4) == "msg " then
vic = msg:sub(1,9)
m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = (vic.Name.." "..Chatted)
end
end

1 comment
You are attempting to call 'isAdmin' which does not exist in the script, and line 15 would be 'vic = msg:sub(5)'.