Showing information on other players when textbutton is clicked

Hello, i’m currently producing a tablet of sort that allows you to see information on other players when you click on a text button called “Units”, opening a frame with a UIListLayout with other players in there. However, i do not know how i can achieve this. I’ve researched some what and couldn’t find anything that pointed me in the right direction.

Basically, when a player clicks on a button that gets cloned into the players gui it shows information related to the other player. i.e there name, avatar picture etc. I attempted to use Events and Values within the button that is being cloned. I’m just struggling on how i can make that button show the information of the other player, and not the local player.

Any pointers for where i can possibly start or research more into. I tried my best to not explain it to weirdly i hope. Appreciate any help!

This doesn’t seem relevant to my question sorry, unless i’m missing something?

Oh sorry i must not have been clear, i’m attempting to find the information of a player in-game sort of like a player list, but when you click on a textbutton with another players name it shows information about that player.

My issue is making that visible in all players guis, it’s just passing the information of the other player i’m struggling with.

You can use BindableEvent

1 Like