error: 22:37:51.965 - ServerScriptService.ServerMessageHandler:4: bad argument #1 to 'pairs' (table expected, got string)
To define a table, you need to use these brackets "{ }" instead of parentheses "( )" since the parentheses are simply used to enclose a string or an operator set together.
Simply change this line
local allowed = ("sbot50")
to
local allowed = {"sbot50"}