Admins = {"Admins","TotalPownZo","fireboltofdeath"}
function Message(Time,Text)
me = Instance.new("Message", workspace)
me.Text = Text
wait(Time)
me:Destroy()
end
game.Players.PlayerAdded:connect(function (p)
p.Chatted:connect(functon(m)
for i,v in pairs(Admins)) do
if p.Name == v.Name then
if m:lower() == "Message/" then
Message(3.5, m:sub(9,m:len())) --I use message sub because I do not know other ways...
end
end
end
end)
end)
Output: 19:55:25.638 - Error in script: ')' expected (to close '(' at line 11) near 'for'

3 comments
You have an extra close parenthesis on line 12, actually.
You forgot the 'i' in function on line 11. :P
Can one of you give me an answer so I can accept it?