My print isn't printing and the print command is the first line of the script. The localscript isn't in workspace and is somewhere where the localscript would work. Here is the script I wrote.
print("the amount of scripts")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character
if not character or not character.Parent then
character = player.CharacterAdded:wait()
end
local textboard = game.Workspace.board.SurfaceGui.TextLabel
local USERNAME = player.Name
print("PLEASE")
local function iterPageItems(pages)
return coroutine.wrap(function()
local pagenum = 1
while true do
for _, item in ipairs(pages:GetCurrentPage()) do
coroutine.yield(item, pagenum)
end
if pages.IsFinished then
print("finished loading friends")
break
end
pages:AdvanceToNextPageAsync()
pagenum = pagenum + 1
local userId = Players:GetUserIdFromNameAsync(USERNAME)
local friendPages = Players:GetFriendsAsync(userId)
local usernames = {}
for item, pageNo in iterPageItems(friendPages) do
table.insert(usernames, item.Username)
end
textboard.Text = "happy birthday from " .. table.concat(usernames, ", ")
end
end)
end

4 comments
I tried copying your print line, it shouldnt be anything wrong with it
What?? Is the script disabled, by any chance?
Please specify the following information: Script.Parent, Script.Disabled, And other scripts that might be cancelling this one.
it isnt disabled