code:
wait(1)
local teams = game:GetService("Teams"):GetTeams()
local text = script.intermission.SurfaceGui.Frame.TextLabel
local players = game.Teams
print(#players)
if #players.Playing:GetPlayers() == 0 then
text.Text = 'intermission'
print('round in progress')
else
text.Text = 'round in progress'
print('round in progress')
end
I test the game and it won't print anything, nor will it change the text.

3 comments
You're checking under the player variable for Teams not players. So you will only get a list of teams. And you should aso try using "For i,v in pairs([teams variable])"
Where abouts is your script located? I know that if a script is put in some places it won't run. I can't remember exactly where these places are, but try moving your script around to see if that fixes the issue.
its in workspace