How do i make this ui pop up whenver i click on another player and how to change it

Hi so ive seen this in alot of games
imagen_2024-05-27_011201612
and i wanted to use it to make a dance sync system please help