0

# How to work with multiple textlabels and usernames?

Currently I am working on a agent team select menu, and for this part I want the users name to be displayed on the left, as seen in the screenshot below. https://i.imgur.com/ryVmriQ.png

If you look at the screenshot below, I have 5 text labels. This is how I plan to list the usernames of each individual in the team. https://i.imgur.com/NoG1UGY.png

I can't wrap my head around how I can achieve this, perhaps there is a much more efficient way to achieve this?

0
Edited 12 days ago

I'd say if you are trying to add usernames of that person then:

local playerservice = game:GetService("Players")
local player = playerservice.LocalPlayer

local Playertext = script.Parent

wait()
Playertext.Text = player.Name

if Playertext.Text = player then
Playertext:Destroy()
end)


This may work? I am not sure sorry.

0
How do I do so without repeating my name, I want to list all my team mates names below me bxshh 0 — 13d