Show player names

Hi, how can I display the player names? Preferably when I interact with this button

if btn == 'Show/Hide player names' then
            end

HeadDisplayExample2