i have saw a script if you right click on the player you get his name on a txt or in srl

does anyone know the code for it i mean the working one