Getting everything inside of a table

i think you can do

local table = --get team players
if table then
--send players
else
--send N/A
end

oops I got it the wrong way